2024-04-10 16:13.18: New job: test c-cube/sidekick https://github.com/c-cube/sidekick.git#refs/heads/master (eff6016151861dd79596191195e497d97a335127) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/c-cube/sidekick.git" -b "master" && cd "sidekick" && git reset --hard eff60161
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sidekick.opam sidekick-bin.opam sidekick-base.opam ./
RUN opam pin add -yn sidekick.dev './' && \
opam pin add -yn sidekick-bin.dev './' && \
opam pin add -yn sidekick-base.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-gmp.1 conf-m4.1 conf-perl.1 containers.3.6 cppo.1.6.1 dune.2.9.1 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.5 iter.1.2.1 jbuilder.1.0+beta20.1 logs.0.6.2 mdx.1.4.0 menhir.20160303 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit2.2.2.0 ppx_derivers.1.0 qcheck.0.16 qcheck-core.0.16 qcheck-ounit.0.16 re.1.7.2 result.1.0 seq.0.2.2 smtlib-utils.0.1 stdlib-shims.0.1.0 topkg.1.0.3 trace.0.3 trace-tef.0.3 uchar.0.0.2 zarith.1.9.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y sidekick.dev sidekick-bin.dev sidekick-base.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-04-10 16:13.18: Using cache hint "c-cube/sidekick-ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-8e70c3cffca3b9ed0107ad5ab2be628f"
2024-04-10 16:13.18: Using OBuilder spec:
((from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
(comment debian-12-4.08_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sidekick.opam sidekick-bin.opam sidekick-base.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sidekick.dev './' && \
\nopam pin add -yn sidekick-bin.dev './' && \
\nopam pin add -yn sidekick-base.dev './'"))
(env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-gmp.1 conf-m4.1 conf-perl.1 containers.3.6 cppo.1.6.1 dune.2.9.1 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.5 iter.1.2.1 jbuilder.1.0+beta20.1 logs.0.6.2 mdx.1.4.0 menhir.20160303 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit2.2.2.0 ppx_derivers.1.0 qcheck.0.16 qcheck-core.0.16 qcheck-ounit.0.16 re.1.7.2 result.1.0 seq.0.2.2 smtlib-utils.0.1 stdlib-shims.0.1.0 topkg.1.0.3 trace.0.3 trace-tef.0.3 uchar.0.0.2 zarith.1.9.1")
(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.1 --depext-only -y sidekick.dev sidekick-bin.dev sidekick-base.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-04-10 16:13.18: Waiting for resource in pool OCluster
2024-04-10 18:36.39: Waiting for worker…
2024-04-10 18:39.02: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at eff60161 support trace-fuchsia if present
(from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
Unable to find image 'ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480' locally
docker.io/ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480: Pulling from ocaml/opam
Digest: sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Status: Downloaded newer image for ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
2024-04-10 18:39.02 ---> using "ca7a47bb337547622343e1e691b0c92596d0990b9ed28342fd47c7204c2b0a74" from cache
/: (comment debian-12-4.08_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-10 18:39.02 ---> using "9362e111b0c9aa6dec1dc253e7435efd8f1ac8f2d7d6e66c10d24bc4c57ad605" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-10 18:39.02 ---> using "d9b0dd4261d4b45d1d45fcc185429e91e6b23305997b0ad336885eac0d3204ff" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-04-10 18:39.02 ---> using "6d08f9350fb9ef3e5cae7793dcb5f2ac075cfe0fc789bf328cd7ac0338e3980e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-10 18:39.02 ---> using "44438eb632bedbdf12ad26788b4a274ef117e2313c1b08772cdb3a6d8d921790" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 58906d6837efc7562b4259f5bd6ad130e46ca207 || git fetch origin master) && git reset -q --hard 58906d6837efc7562b4259f5bd6ad130e46ca207 && git log --no-decorate -n1 --oneline && opam update -u"))
58906d6837 conf-m4: add FreeBSD comment
<><> 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-04-10 18:39.02 ---> using "54c242ab23012f41cfac219972fca7342aed94c33235e6af1a8b93016fcf5cd4" from cache
/src: (copy (src sidekick.opam sidekick-bin.opam sidekick-base.opam) (dst ./))
2024-04-10 18:39.02 ---> saved as "3a77e566f1def1846d7bcd4cd5c146197073f98dd816c9534fa763f9e611b7a4"
/src: (run (network host)
(shell "opam pin add -yn sidekick.dev './' && \
\nopam pin add -yn sidekick-bin.dev './' && \
\nopam pin add -yn sidekick-base.dev './'"))
Package sidekick does not exist, create as a NEW package? [Y/n] y
[sidekick.dev] synchronised (file:///src)
[WARNING] Failed checks on sidekick package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "Apache"
sidekick is now pinned to file:///src (version dev)
Package sidekick-bin does not exist, create as a NEW package? [Y/n] y
[sidekick-bin.dev] synchronised (file:///src)
[WARNING] Failed checks on sidekick-bin package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "Apache"
sidekick-bin is now pinned to file:///src (version dev)
Package sidekick-base does not exist, create as a NEW package? [Y/n] y
[sidekick-base.dev] synchronised (file:///src)
[WARNING] Failed checks on sidekick-base package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "Apache"
sidekick-base is now pinned to file:///src (version dev)
2024-04-10 18:39.07 ---> saved as "5c3814c0c40b330d891ecd3d20b183c78314ebc753f6e90d3c1c7915865e93c9"
/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.0 conf-gmp.1 conf-m4.1 conf-perl.1 containers.3.6 cppo.1.6.1 dune.2.9.1 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.5 iter.1.2.1 jbuilder.1.0+beta20.1 logs.0.6.2 mdx.1.4.0 menhir.20160303 mtime.2.0.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-migrate-parsetree.1.3.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ounit2.2.2.0 ppx_derivers.1.0 qcheck.0.16 qcheck-core.0.16 qcheck-ounit.0.16 re.1.7.2 result.1.0 seq.0.2.2 smtlib-utils.0.1 stdlib-shims.0.1.0 topkg.1.0.3 trace.0.3 trace-tef.0.3 uchar.0.0.2 zarith.1.9.1")
/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.1 --depext-only -y sidekick.dev sidekick-bin.dev sidekick-base.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 [150 kB]
- Fetched 253 kB in 0s (1045 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sidekick.dev] synchronised (no changes)
[sidekick-base.dev] synchronised (no changes)
[sidekick-bin.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:
libgmp-dev m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
2024-04-10 18:39.24 ---> saved as "221b5cb4403237b4ec20ca854d5b4fd3c69c2737992a6e28107dedd9655b4f1d"
/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 conf-gmp 1
- install conf-m4 1
- install jbuilder 1.0+beta20.1
- install result 1.0
- install conf-perl 1
- install ocamlbuild 0.14.0
- install dune 2.9.1
- install ocamlfind 1.8.0
- install ppx_derivers 1.0
- install uchar 0.0.2
- install trace 0.3
- install stdlib-shims 0.1.0
- install seq 0.2.2
- install dune-private-libs 2.3.0
- install zarith 1.9.1
- install topkg 1.0.3
- install menhir 20160303
- install base-bytes base
- install ocaml-migrate-parsetree 1.3.0
- install dune-configurator 2.3.0
- install mtime 2.0.0
- install cmdliner 1.0.0
- install smtlib-utils 0.1
- install re 1.7.2
- install qcheck-core 0.16
- install ounit2 2.2.0
- install cppo 1.6.1
- install astring 0.8.2
- install iter 1.2.1
- install containers 3.6
- install trace-tef 0.3
- install fmt 0.8.5
- install qcheck-ounit 0.16
- install logs 0.6.2
- install alcotest 0.8.0
- install qcheck 0.16
- install mdx 1.4.0
===== 37 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cmdliner.1.0.0 (cached)
-> retrieved containers.3.6 (cached)
-> installed conf-gmp.1
-> installed conf-m4.1
-> installed conf-perl.1
-> retrieved cppo.1.6.1 (cached)
-> retrieved dune-configurator.2.3.0 (cached)
-> retrieved dune.2.9.1 (cached)
-> retrieved dune-private-libs.2.3.0 (cached)
-> retrieved fmt.0.8.5 (cached)
-> retrieved logs.0.6.2 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved menhir.20160303 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved mdx.1.4.0 (https://github.com/realworldocaml/mdx/releases/download/1.4.0/mdx-1.4.0.tbz)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ounit2.2.2.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved qcheck.0.16 (cached)
-> retrieved qcheck-core.0.16 (cached)
-> retrieved qcheck-ounit.0.16 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.0 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved ocaml-migrate-parsetree.1.3.0 (https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v1.3.0/ocaml-migrate-parsetree-v1.3.0.tbz)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved topkg.1.0.3 (cached)
-> installed result.1.0
-> retrieved trace.0.3 (cached)
-> retrieved trace-tef.0.3 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved zarith.1.9.1 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed zarith.1.9.1
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed dune.2.9.1
-> installed topkg.1.0.3
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed trace.0.3
-> installed qcheck-core.0.16
-> installed mtime.2.0.0
-> installed ounit2.2.2.0
-> retrieved smtlib-utils.0.1 (https://github.com/c-cube/smtlib-utils/archive/v0.1.tar.gz)
-> installed trace-tef.0.3
-> installed astring.0.8.2
-> installed qcheck-ounit.0.16
-> installed qcheck.0.16
-> installed cmdliner.1.0.0
-> installed fmt.0.8.5
-> installed dune-private-libs.2.3.0
-> installed alcotest.0.8.0
-> installed logs.0.6.2
-> installed dune-configurator.2.3.0
-> installed ocaml-migrate-parsetree.1.3.0
-> installed containers.3.6
-> installed mdx.1.4.0
-> installed menhir.20160303
-> installed smtlib-utils.0.1
[ERROR] Failed to get sources of iter.1.2.1: curl error code 500
#=== ERROR while fetching sources for iter.1.2.1 ==============================#
OpamSolution.Fetch_fail("https://github.com/c-cube/iter/archive/1.2.1.tar.gz (curl: code 500 while downloading https://github.com/c-cube/iter/archive/1.2.1.tar.gz)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch iter 1.2.1
+-
+- The following changes have been performed
| - install alcotest 0.8.0
| - install astring 0.8.2
| - install base-bytes base
| - install cmdliner 1.0.0
| - install conf-gmp 1
| - install conf-m4 1
| - install conf-perl 1
| - install containers 3.6
| - install cppo 1.6.1
| - install dune 2.9.1
| - install dune-configurator 2.3.0
| - install dune-private-libs 2.3.0
| - install fmt 0.8.5
| - install jbuilder 1.0+beta20.1
| - install logs 0.6.2
| - install mdx 1.4.0
| - install menhir 20160303
| - install mtime 2.0.0
| - install ocaml-migrate-parsetree 1.3.0
| - install ocamlbuild 0.14.0
| - install ocamlfind 1.8.0
| - install ounit2 2.2.0
| - install ppx_derivers 1.0
| - install qcheck 0.16
| - install qcheck-core 0.16
| - install qcheck-ounit 0.16
| - install re 1.7.2
| - install result 1.0
| - install seq 0.2.2
| - install smtlib-utils 0.1
| - install stdlib-shims 0.1.0
| - install topkg 1.0.3
| - install trace 0.3
| - install trace-tef 0.3
| - install uchar 0.0.2
| - install zarith 1.9.1
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20240410183925.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 40
2024-04-10 18:40.40: Job failed: Failed: Build failed