2024-11-03 23:15.32: New job: test verbosemode/syslog-message https://github.com/verbosemode/syslog-message.git#refs/heads/main (160d94f9e3e4972b53042c5bd7c32a3ce1656082) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/verbosemode/syslog-message.git" -b "main" && cd "syslog-message" && git reset --hard 160d94f9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8
# debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 syslog-message.opam ./
RUN opam pin add -yn syslog-message.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.0.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.1 qcheck.0.3 result.1.5 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y syslog-message.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-11-03 23:15.32: Using cache hint "verbosemode/syslog-message-ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8-debian-12-4.08_opam-2.2-c56261406413916d5b5ab0bdfc012248"
2024-11-03 23:15.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
(comment debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src syslog-message.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn syslog-message.dev './'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.0.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.1 qcheck.0.3 result.1.5 topkg.0.7.5")
(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 syslog-message.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-11-03 23:15.32: Waiting for resource in pool OCluster
2024-11-03 23:15.32: Waiting for worker…
2024-11-03 23:15.32: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at 160d94f release 1.2.0
(from ocaml/opam:debian-12-ocaml-4.08@sha256:e4f2cf9099096504addd23b73b0d98c5a1fbb1633a6d52b7627cfa16f89debf8)
2024-11-03 23:15.33 ---> using "45ed51cabfe3de1acd486922e22b24eee2a37ab1a07c3ddaa8a9367527eeade3" from cache
/: (comment debian-12-4.08_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-11-03 23:15.33 ---> using "13f68d8fe05aeef95ccc5906a4e80e2ff77801f5b170515e2fb16bc7d4e819b3" 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-11-03 23:15.33 ---> using "294086592733704d7a06c8eb9868913640f72ef439f238f7acb1a91796dc07eb" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-11-03 23:15.33 ---> using "cd60e4e9851044c0fcdec87c6f3c868861f866cdaff6b226191e594c939a1819" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-03 23:15.33 ---> using "f7182983af2680d7a10d2372168e3332228b2072f3fc8b58cef2d84d4077fd35" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
d872638bdf..c470931d04 master -> origin/master
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> 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-11-03 23:15.33 ---> using "b9e1f2752bf4fc9486a8db7831dea58d8cbd4d121d552b2e7ac3a0cac02f41bf" from cache
/src: (copy (src syslog-message.opam) (dst ./))
2024-11-03 23:15.33 ---> saved as "b66582feba9cb8c4d69b6126719c192dc49d81937fd8e22458733cc06405eb9e"
/src: (run (network host)
(shell "opam pin add -yn syslog-message.dev './'"))
[syslog-message.dev] synchronised (file:///src)
syslog-message is now pinned to file:///src (version dev)
2024-11-03 23:15.34 ---> saved as "26524cea03912749b7582f4c407098d486ab567e12473e5fb9988a5a213d8d42"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.2.0.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ptime.0.8.1 qcheck.0.3 result.1.5 topkg.0.7.5")
/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 syslog-message.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 (910 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[syslog-message.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-11-03 23:15.58 ---> saved as "4696decf2d8d1dd27ff70a133969b927b8deb3b8f834edfa6100ce49f7d919d3"
/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 8 packages
- install conf-m4 1
- install dune 2.0.1
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ptime 0.8.1
- install qcheck 0.3
- install result 1.5
- install topkg 0.7.5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved dune.2.0.1 (cached)
-> retrieved ptime.0.8.1 (cached)
-> retrieved qcheck.0.3 (cached)
-> retrieved result.1.5 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed ocamlfind.1.8.0
-> installed ocamlbuild.0.14.0
-> installed dune.2.0.1
-> installed result.1.5
-> installed qcheck.0.3
-> installed topkg.0.7.5
-> installed ptime.0.8.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-03 23:16.47 ---> saved as "976b3ecfb7ea2154733921aaa584b74e5f9d57a32579cf50a5fdf7861f668bea"
/src: (copy (src .) (dst /src))
2024-11-03 23:16.47 ---> saved as "2976d349a4f7b0d75908dfe57b8b94edb9abe8966400b8b9693d5ec2314a47af"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
ocamlc test/.test_syslog_message.eobjs/byte/dune__exe__Test_syslog_message.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I test/.test_syslog_message.eobjs/byte -I /home/opam/.opam/4.08/lib/ptime -I /home/opam/.opam/4.08/lib/qcheck -I /home/opam/.opam/4.08/lib/result -I src/.syslog_message.objs/byte -I src/.syslog_message.objs/native -no-alias-deps -opaque -o test/.test_syslog_message.eobjs/byte/dune__exe__Test_syslog_message.cmo -c -impl test/test_syslog_message.ml)
File "test/test_syslog_message.ml", line 25, characters 4-26:
25 | QCheck.Gen.string_size ~gen:alpha (QCheck.Gen.int_range 0 10)
^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module QCheck.Gen
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-11-03 23:16.48: Job failed: Failed: Build failed