Organisationsinhabitedtypebigstringaf045094 ()debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2025-03-19 18:25.38: New job: test inhabitedtype/bigstringaf https://github.com/inhabitedtype/bigstringaf.git#refs/pull/57/head (045094d3edcc96c501d4220c4061e53e9613ffa1) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/inhabitedtype/bigstringaf.git" && cd "bigstringaf" && git fetch origin "refs/pull/57/head" && git reset --hard 045094d3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
# debian-12-4.09_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bigstringaf.opam ./
RUN opam pin add -yn bigstringaf.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y bigstringaf.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-03-19 18:25.38: Using cache hint "inhabitedtype/bigstringaf-ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510-debian-12-4.09_opam-2.3-0ad534f14fc3a1773433e69f343bf71c"
2025-03-19 18:25.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510)
(comment debian-12-4.09_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bigstringaf.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bigstringaf.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y bigstringaf.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-03-19 18:25.38: Waiting for resource in pool OCluster
2025-03-19 18:49.27: Waiting for worker…
2025-03-19 18:53.33: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 045094d Wasm runtime file


(from ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510' locally
docker.io/ocaml/opam@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510: Pulling from ocaml/opam
4d99c673ea60: Pulling fs layer
4d99c673ea60: Verifying Checksum
4d99c673ea60: Download complete
4d99c673ea60: Pull complete
Digest: sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
Status: Downloaded newer image for ocaml/opam@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
2025-03-19 18:53.33 ---> using "05ad6ac23edb88d5d3efac143a29d9f5e14afe22991ef7f145fa413bd4497a5f" from cache


/: (comment debian-12-4.09_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-19 18:53.33 ---> using "fe3395b2037690ccf3508667a906e5a02fef0f50b81584d9867c69b095ec58b9" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


Continue? [y/n] y
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-19 18:53.33 ---> using "b15cd9b32b0111836a2e44c453c743aa07b5453b9472d2215c0f7b072e72c3d6" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-03-19 18:53.33 ---> using "c5cba336da306c3da6e5c40e9bf7a0aa654db568b8694f261eaa67287a0233f8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-19 18:53.33 ---> using "cc533f12c1366b82059633e054dddd119a78a055557c4e9fa5081ee807c1b435" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..6ccbe63dbf  master     -> origin/master
f92e43c2e4 Merge pull request #27617 from samoht/release-alcotest-1.9.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-03-19 18:53.33 ---> using "a7024c36b248dc1b294e9da940e9b22eb43e3982c535dfe76b8cee23f8802ced" from cache


/src: (copy (src bigstringaf.opam) (dst ./))
2025-03-19 18:53.34 ---> saved as "a90041728262d835e7da9131204eb17e8e6751fe58a85759f87434df1b9c9ca9"


/src: (run (network host)
(shell "opam pin add -yn bigstringaf.dev './'"))
[bigstringaf.dev] synchronised (file:///src)
bigstringaf is now pinned to file:///src (version dev)
2025-03-19 18:53.35 ---> saved as "777493e17b2a8b3ee0ef3a8676bf951188e90649d42f5500fec5e0e3faf4eae4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-19 18:53.35 ---> saved as "b17312ac8bf38ee82b90102a19cc15a1ba4b5c2ac83da2b8a253104720d5a4ad"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y bigstringaf.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [249 kB]
- Fetched 353 kB in 0s (1108 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bigstringaf.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-03-19 18:53.56 ---> saved as "76bef3d1073b55f99186c322360d468d9424d481bb7a5b32d86410b097626c1c"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 15 packages
- install alcotest           1.9.0
- install astring            0.8.5
- install cmdliner           1.3.0
- install csexp              1.5.2
- install dune               3.17.2
- install dune-configurator  3.17.2
- install fmt                0.10.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.11.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.8
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-19 18:55.03 ---> saved as "cfb5a7aba29443be97da77bca5c4f396924ec6d0f6dc45dcee997773bc8ab382"


/src: (copy (src .) (dst /src))
2025-03-19 18:55.04 ---> saved as "e8be5079c22d086ef6b9095844e554c7080b8210d034518d6a0e4e0a2b7126b2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test_bigstringaf.exe)
Testing `test suite'.
This run has ID `XUBNJSVO'.


[OK]          constructors               0   of_string.
[OK]          safe operations            0   index out of bounds.
[OK]          safe operations            1   getters.
[OK]          safe operations            2   setters.
[OK]          safe operations            3   blit.
[OK]          safe operations            4   blit_to_bytes.
[OK]          safe operations            5   blit_from_bytes.
[OK]          safe operations            6   memcmp.
[OK]          safe operations            7   memcmp_string.
[OK]          safe operations            8   negative length.
[OK]          safe operations            9   memchr.
[OK]          unsafe operations          0   getters.
[OK]          unsafe operations          1   setters.
[OK]          unsafe operations          2   blit.
[OK]          unsafe operations          3   blit_to_bytes.
[OK]          unsafe operations          4   blit_from_bytes.
[OK]          unsafe operations          5   memcmp.
[OK]          unsafe operations          6   memcmp_string.
[OK]          unsafe operations          7   memchr.


Full test results in `/src/_build/default/lib_test/_build/_tests/test suite'.
Test Successful in 0.002s. 19 tests run.
2025-03-19 18:55.04 ---> saved as "7f803a14e3ef9b2cbf99f5d72f0c729a4f5531dbb592a413b17174b19d872341"
Job succeeded
2025-03-19 18:55.05: Job succeeded