2024-12-19 22:49.35: 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:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452
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:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452
# debian-12-5.0_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 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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
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.3 --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-12-19 22:49.35: Using cache hint "koonwen/obatcher-ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452-debian-12-5.0_opam-2.3-7c031ee5d586fa407ec95c0052fcadb0"
2024-12-19 22:49.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452)
(comment debian-12-5.0_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 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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(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.3 --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-12-19 22:49.35: Waiting for resource in pool OCluster
2024-12-20 10:40.33: Waiting for worker…
2024-12-20 10:43.56: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at 70ce25d Merge pull request #2 from raphael-proust/patch-2
(from ocaml/opam:debian-12-ocaml-5.0@sha256:86bf5626a3edf0dc4e12aa26f6c9bdfac678e44a59bb6ea10cfb06d640865452)
2024-12-20 10:43.57 ---> using "f0e58922b99e7a7955dd2ed4bd30c333adafee88d37a3701da02ad0412f94c9d" from cache
/: (comment debian-12-5.0_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"))
2024-12-20 10:43.57 ---> using "03c037ace263f94f18b933869de08d6766c096f9361a2efc9449b2640480cc85" 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.
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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-20 10:43.57 ---> using "dd179736215ab7c4d3a492ff2145b2a6d9eeb26fabf4f5e026af9fd9543a4767" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.0.0
2.3.0
2024-12-20 10:43.57 ---> using "ae93e3e8275020082f606fe42e45fb81b644ca2ade6c30c4c47e2b75b9eb0835" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 10:43.57 ---> using "fba2aa4e4bf65cf92bc5c324898af5d08acb104de8e7b92953b0c131fc8eaac6" from cache
/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.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 10:45.32 ---> saved as "3cba4840e437230bacd34e8028dc1c8fb17f536879730cabad6f2b2c58ad4b6b"
/src: (copy (src obatcher.opam) (dst ./))
2024-12-20 10:45.32 ---> saved as "39592e664c877104829d84c7bd1bfc3abada09a94ea6545a3058ed5f63bcb668"
/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-12-20 10:45.35 ---> saved as "38f9fc7b89ee60f9689121e7acbc0e5c0f2820b078aa54c72c131115142d635f"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 10:45.35 ---> saved as "d6a81f2e798627cd48bca016b016878936f9b105c6d034758369ec4af9a9f9ec"
/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.3 --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 [236 kB]
- Fetched 339 kB in 0s (1149 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[obatcher.dev] synchronised (file:///src)
[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-12-20 10:45.56 ---> saved as "a3f177eeb5d1761a558c5bde5f6340557765c359760576cb6e007a857b5373c3"
/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 ounit.2.2.6, ounit2.2.2.6 (cached)
-> retrieved picos.0.5.0, picos_aux.0.5.0, picos_mux.0.5.0, picos_std.0.5.0 (cached)
-> retrieved qcheck.0.13, qcheck-alcotest.0.13, qcheck-core.0.13, qcheck-ounit.0.13 (cached)
-> retrieved re.1.9.0 (cached)
-> 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 stdlib-shims.0.1.0
-> installed either.1.0.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 alcotest.1.0.0
-> installed picos_mux.0.5.0
-> installed qcheck.0.13
-> installed qcheck-alcotest.0.13
-> installed containers.3.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 10:47.09 ---> saved as "d0d7ffd3d31c3773c4555325dde02f01fd1af856de57d630575edaeb236b52f8"
/src: (copy (src .) (dst /src))
2024-12-20 10:47.09 ---> saved as "81950b7f16c7d4ddfc3bcee9f3aff2e5dd680dfd7f323af2bec8e15adf005713"
/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-12-20 10:47.10: Job failed: Failed: Build failed