2024-10-31 14:20.37: New job: test koonwen/obatcher https://github.com/koonwen/obatcher.git#refs/heads/main (70ce25dc4497d068e2221ff02787a95a896604cc) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/koonwen/obatcher.git" -b "main" && cd "obatcher" && git reset --hard 70ce25dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
# debian-12-5.0_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 obatcher.opam ./
RUN opam pin add -yn obatcher.dev './'
ENV DEPS="alcotest.1.0.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 containers.3.7 dune.3.14.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.6.3 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.1 ocamlfind.1.9.5 ounit.2.2.6 ounit2.2.2.6 picos.0.5.0 picos_aux.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 qcheck.0.13 qcheck-alcotest.0.13 qcheck-core.0.13 qcheck-ounit.0.13 re.1.9.0 seq.0.2.2 stdlib-shims.0.1.0 thread-local-storage.0.2 topkg.1.0.6 uuidm.0.9.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y obatcher.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
2024-10-31 14:20.37: Using cache hint "koonwen/obatcher-ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704-debian-12-5.0_opam-2.2-7c031ee5d586fa407ec95c0052fcadb0"
2024-10-31 14:20.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704)
(comment debian-12-5.0_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src obatcher.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn obatcher.dev './'"))
(env DEPS "alcotest.1.0.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 containers.3.7 dune.3.14.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.6.3 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.1 ocamlfind.1.9.5 ounit.2.2.6 ounit2.2.2.6 picos.0.5.0 picos_aux.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 qcheck.0.13 qcheck-alcotest.0.13 qcheck-core.0.13 qcheck-ounit.0.13 re.1.9.0 seq.0.2.2 stdlib-shims.0.1.0 thread-local-storage.0.2 topkg.1.0.6 uuidm.0.9.8")
(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.2 --depext-only -y obatcher.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"))
)
2024-10-31 14:20.37: Waiting for resource in pool OCluster
2024-10-31 18:01.44: Waiting for worker…
2024-10-31 18:03.39: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
HEAD is now at 398ff2b ci: dune fmt
HEAD is now at 70ce25d Merge pull request #2 from raphael-proust/patch-2
(from ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704' locally
docker.io/ocaml/opam@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704: Pulling from ocaml/opam
4fd5e427bde1: Pulling fs layer
4fd5e427bde1: Verifying Checksum
4fd5e427bde1: Download complete
4fd5e427bde1: Pull complete
Digest: sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
Status: Downloaded newer image for ocaml/opam@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
2024-10-31 18:07.59 ---> saved as "319832d2584c2a3ee72b80e6a8c7816295ce8964785dbfcfd8f374d3ef180ca7"
/: (comment debian-12-5.0_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-31 18:07.59 ---> saved as "f914ea0a6b8987c8251c4f65ec90e900d480727db6d94f99bbdd4e68f8145f6c"
/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.
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.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-31 18:10.00 ---> saved as "813139bb9447d971e7b60a543785cfa0ca9a0d9cf47db5b82937749ee8d8e2ba"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.0.0
2.2.1
2024-10-31 18:10.00 ---> saved as "3e43fcfa6abbdfa5b61619174def05eb48170df03aed20cae69c12fe74766a64"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-31 18:10.00 ---> saved as "03f4351f32da38e3c3966244a12646be8c5fc3ade9f53e68d7ab2d334ce2cf8e"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
45f961713f Merge pull request #26585 from dra27/trunk-tweaks
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-10-31 18:10.59 ---> saved as "f6dec6f60478d11d954a8615b41d312a4eec2557388ca6b9ca7c9652a62b8cd6"
/src: (copy (src obatcher.opam) (dst ./))
2024-10-31 18:10.59 ---> saved as "18d444e095bc69947f2801e39a0fb322219b862c555839a12b8239f614ad0dc5"
/src: (run (network host)
(shell "opam pin add -yn obatcher.dev './'"))
[obatcher.dev] synchronised (file:///src)
obatcher is now pinned to file:///src (version dev)
2024-10-31 18:11.02 ---> saved as "0f697c3e0d38d260caf53d5847c50a0d41dd2267d4974b7c9859bbb73d32758f"
/src: (env DEPS "alcotest.1.0.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.1.0 containers.3.7 dune.3.14.0 dune-configurator.2.7.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.6.3 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.1 ocamlfind.1.9.5 ounit.2.2.6 ounit2.2.2.6 picos.0.5.0 picos_aux.0.5.0 picos_mux.0.5.0 picos_std.0.5.0 qcheck.0.13 qcheck-alcotest.0.13 qcheck-core.0.13 qcheck-ounit.0.13 re.1.9.0 seq.0.2.2 stdlib-shims.0.1.0 thread-local-storage.0.2 topkg.1.0.6 uuidm.0.9.8")
/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.2 --depext-only -y obatcher.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 [190 kB]
- Fetched 293 kB in 0s (1124 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[obatcher.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-31 18:11.24 ---> saved as "a2d73813eaab302e8b94bf3d601d0623f3101047f72fb1f5ac9ff6d2d2416691"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 30 packages
- install alcotest 1.0.0
- install astring 0.8.5
- install backoff 0.1.0
- install base-bytes base
- install cmdliner 1.1.0
- install containers 3.7
- install dune 3.14.0
- install dune-configurator 2.7.0
- install either 1.0.0
- install fmt 0.9.0
- install logs 0.6.3
- install multicore-magic 2.3.0
- install ocamlbuild 0.14.1
- install ocamlfind 1.9.5
- install ounit 2.2.6
- install ounit2 2.2.6
- install picos 0.5.0
- install picos_aux 0.5.0
- install picos_mux 0.5.0
- install picos_std 0.5.0
- install qcheck 0.13
- install qcheck-alcotest 0.13
- install qcheck-core 0.13
- install qcheck-ounit 0.13
- install re 1.9.0
- install seq 0.2.2
- install stdlib-shims 0.1.0
- install thread-local-storage 0.2
- install topkg 1.0.6
- install uuidm 0.9.8
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.1.0 (cached)
-> retrieved containers.3.7 (cached)
-> retrieved alcotest.1.0.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.6.3 (cached)
-> retrieved multicore-magic.2.3.0 (cached)
-> retrieved ocamlbuild.0.14.1 (cached)
-> retrieved ocamlfind.1.9.5 (cached)
-> retrieved dune-configurator.2.7.0 (cached)
-> retrieved dune.3.14.0 (cached)
-> retrieved picos.0.5.0, picos_aux.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (cached)
-> retrieved ounit.2.2.6, ounit2.2.2.6 (https://github.com/gildor478/ounit/releases/download/v2.2.6/ounit-2.2.6.tbz)
-> retrieved re.1.9.0 (cached)
-> retrieved qcheck.0.13, qcheck-alcotest.0.13, qcheck-core.0.13, qcheck-ounit.0.13 (https://github.com/c-cube/qcheck/archive/0.13.tar.gz)
-> retrieved seq.0.2.2 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved uuidm.0.9.8 (cached)
-> retrieved topkg.1.0.6 (cached)
-> installed cmdliner.1.1.0
-> installed ocamlbuild.0.14.1
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed topkg.1.0.6
-> installed uuidm.0.9.8
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.6.3
-> installed dune.3.14.0
-> installed backoff.0.1.0
-> installed either.1.0.0
-> installed stdlib-shims.0.1.0
-> installed multicore-magic.2.3.0
-> installed seq.0.2.2
-> installed thread-local-storage.0.2
-> installed picos_aux.0.5.0
-> installed qcheck-core.0.13
-> installed picos.0.5.0
-> installed dune-configurator.2.7.0
-> installed re.1.9.0
-> installed ounit2.2.2.6
-> installed ounit.2.2.6
-> installed picos_std.0.5.0
-> installed qcheck-ounit.0.13
-> installed picos_mux.0.5.0
-> installed qcheck.0.13
-> installed alcotest.1.0.0
-> installed qcheck-alcotest.0.13
-> installed containers.3.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-31 18:12.28 ---> saved as "39efe7c409fcc5725df03365e530d1d9c3fd1c4a687ddd60faf6fc69fe66ab20"
/src: (copy (src .) (dst /src))
2024-10-31 18:12.28 ---> saved as "e57c2f1e72c85d6a8d5d32d39e67bf2a1a8810576e058debc2c388eb7a71963d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/dune", line 6, characters 2-15:
6 | logs.threaded
^^^^^^^^^^^^^
Error: Library "logs.threaded" not found.
-> required by _build/default/test/test_ds.exe
-> required by alias test/runtest in test/dune:2
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-10-31 18:12.29: Job failed: Failed: Build failed