2025-04-07 09:28.08: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (6e197f29286f8066d17dce056e4e8aa0f9a9c39e) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-gospel/gospel.git" && cd "gospel" && git fetch origin "refs/pull/449/head" && git reset --hard 6e197f29
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
# ubuntu-20.04-5.3_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gospel.opam ./
RUN opam pin add -yn gospel.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.18.0 dune-build-info.3.18.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y gospel.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-04-07 09:28.08: Using cache hint "ocaml-gospel/gospel-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195-ubuntu-20.04-5.3_opam-2.3-ca4d35626f42d00d5f57c0258a8734be"
2025-04-07 09:28.08: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195)
(comment ubuntu-20.04-5.3_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gospel.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gospel.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.18.0 dune-build-info.3.18.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.2.2.2")
(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 gospel.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-04-07 09:28.08: Waiting for resource in pool OCluster
2025-04-07 09:28.08: Waiting for worker…
2025-04-07 09:31.31: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at cf46d9b Differentiate between Gospel and OCaml namespaces.
HEAD is now at 6e197f2 Differentiate between Gospel and OCaml namespaces.
(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195' locally
docker.io/ocaml/opam@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195: Pulling from ocaml/opam
8090ebb71c1b: Pulling fs layer
8090ebb71c1b: Download complete
8090ebb71c1b: Pull complete
Digest: sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
Status: Downloaded newer image for ocaml/opam@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
2025-04-07 09:31.33 ---> using "d6a86a5fa580a511bc47b9f81c505c664d6b1fdcbe9f7d39069ac2ba53948f98" from cache
/: (comment ubuntu-20.04-5.3_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-04-07 09:31.33 ---> using "e4c559ecd8860c61f49fce7cdb885f97ef6263360730db125d45927dd3160847" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-04-07 09:31.33 ---> using "9ff49ff109128f81f17ecaa56bc121fa8be57aeb2ced8b0a9487d633ee898d4a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-07 09:31.33 ---> using "738c3c1c23d535dbab62f668ede1ce97e62d7c350f7cb276ff4a9c0a6d842a7f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-07 09:31.33 ---> using "e976b87820c4a8df89b999905db18252fae5f37ebe74ccfae6ed3810af338a29" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
862a7640b1..7481045c8a master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
2025-04-07 09:32.17: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled