2024-09-17 07:54.16: New job: test ocurrent/opam-dune-lint https://github.com/ocurrent/opam-dune-lint.git#refs/heads/master (248faf5df8ac0c1e537db8561da923f2d19dd79d) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/opam-dune-lint.git" -b "master" && cd "opam-dune-lint" && git reset --hard 248faf5d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
# 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 5c34d673311b76c5e03b4f84e25801061f4240f8 || git fetch origin master) && git reset -q --hard 5c34d673311b76c5e03b4f84e25801061f4240f8 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-dune-lint.opam ./
RUN opam pin add -yn opam-dune-lint.dev './'
ENV DEPS="astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.10.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 dyn.3.10.0 fmt.0.8.9 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.10.0 parsexp.v0.14.0 pp.1.1.2 re.1.9.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stdune.3.10.0 topkg.0.9.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y opam-dune-lint.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-09-17 07:54.16: Using cache hint "ocurrent/opam-dune-lint-ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876-debian-12-4.08_opam-2.2-f381f93a311291aeabd8b461caf94023"
2024-09-17 07:54.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876)
(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 5c34d673311b76c5e03b4f84e25801061f4240f8 || git fetch origin master) && git reset -q --hard 5c34d673311b76c5e03b4f84e25801061f4240f8 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-dune-lint.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
(env DEPS "astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.10.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 dyn.3.10.0 fmt.0.8.9 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.10.0 parsexp.v0.14.0 pp.1.1.2 re.1.9.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stdune.3.10.0 topkg.0.9.0")
(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 opam-dune-lint.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-09-17 07:54.16: Waiting for resource in pool OCluster
2024-09-17 07:57.04: Waiting for worker…
2024-09-17 08:07.42: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at 248faf5 Release 0.6 (#70)
(from ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876' locally
docker.io/ocaml/opam@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876: Pulling from ocaml/opam
5a6e6bb5e7f4: Pulling fs layer
5a6e6bb5e7f4: Download complete
5a6e6bb5e7f4: Pull complete
Digest: sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
Status: Downloaded newer image for ocaml/opam@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
2024-09-17 08:07.42 ---> using "795ea015d299f5fe2e67a6928f72c9fae6e91f93f53f3942c8f19a23ae6518ba" 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-09-17 08:07.42 ---> saved as "15a66a3094f92e52bb9c321cf34763612eebaaa98d33382208479d296782ad5c"
/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-09-17 08:09.06 ---> saved as "39dee6d797da9a8095e9b2c1e1fe64a6a5eaae521820c3189bde12b9ed26352d"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-09-17 08:09.06 ---> saved as "bdf8629048e37471ad993f55ecc5029ab620bc7e8d483e8a5d16c96402998106"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-17 08:09.06 ---> saved as "aec4b3fab9b8803476667d7b7cea889920959b7451543eb53bf5e26d22eeeb4d"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c34d673311b76c5e03b4f84e25801061f4240f8 || git fetch origin master) && git reset -q --hard 5c34d673311b76c5e03b4f84e25801061f4240f8 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..ad69387505 master -> origin/master
5c34d67331 Merge pull request #26570 from mbarbin/release-pp-2.0.0
<><> 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-09-17 08:10.21 ---> saved as "ee3eee56319a46d0572de3c491741961db6c1216c71d4bb1ff60b4fcd099e485"
/src: (copy (src opam-dune-lint.opam) (dst ./))
2024-09-17 08:10.22 ---> saved as "80d5dd97ee4b76adb89fe91b53df5deb2a9a0921dff14b18c5d0c6730bdc98e7"
/src: (run (network host)
(shell "opam pin add -yn opam-dune-lint.dev './'"))
[opam-dune-lint.dev] synchronised (file:///src)
opam-dune-lint is now pinned to file:///src (version dev)
2024-09-17 08:10.23 ---> saved as "93893dbc12be35890fa8693255a7eb669b7eb560a5229fcae28647619c83b6fc"
/src: (env DEPS "astring.0.8.5 base.v0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.0 cmdliner.1.1.0 conf-m4.1 cppo.1.6.1 csexp.1.5.1 dune.3.10.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 dyn.3.10.0 fmt.0.8.9 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-core.2.1.0 opam-file-format.2.1.3 opam-format.2.1.0 opam-repository.2.1.0 opam-state.2.1.0 ordering.3.10.0 parsexp.v0.14.0 pp.1.1.2 re.1.9.0 result.1.0 rresult.0.4.0 seq.0.2.2 sexplib.v0.14.0 sexplib0.v0.14.0 stdlib-shims.0.1.0 stdune.3.10.0 topkg.0.9.0")
/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 opam-dune-lint.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [181 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Fetched 9235 kB in 2s (5752 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-dune-lint.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
2024-09-17 08:10.42 ---> saved as "5725ac8b09e47564081140b0c3c522af6c4b5b4284e47ec5095dfe17bafe8159"
/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 37 packages
- install astring 0.8.5
- install base v0.14.0
- install base-bytes base
- install bos 0.2.0
- install cmdliner 1.1.0
- install conf-m4 1
- install cppo 1.6.1
- install csexp 1.5.1
- install dune 3.10.0
- install dune-configurator 2.3.0
- install dune-private-libs 2.3.0
- install dyn 3.10.0
- install fmt 0.8.9
- install fpath 0.7.3
- install jbuilder 1.0+beta20.1
- install logs 0.6.2
- install num 1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ocamlgraph 1.8.8
- install opam-core 2.1.0
- install opam-file-format 2.1.3
- install opam-format 2.1.0
- install opam-repository 2.1.0
- install opam-state 2.1.0
- install ordering 3.10.0
- install parsexp v0.14.0
- install pp 1.1.2
- install re 1.9.0
- install result 1.0
- install rresult 0.4.0
- install seq 0.2.2
- install sexplib v0.14.0
- install sexplib0 v0.14.0
- install stdlib-shims 0.1.0
- install stdune 3.10.0
- install topkg 0.9.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.1.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved csexp.1.5.1 (cached)
-> retrieved bos.0.2.0 (http://erratique.ch/software/bos/releases/bos-0.2.0.tbz)
-> retrieved base.v0.14.0 (https://ocaml.janestreet.com/ocaml-core/v0.14/files/base-v0.14.0.tar.gz)
-> retrieved fmt.0.8.9 (https://erratique.ch/software/fmt/releases/fmt-0.8.9.tbz)
-> retrieved fpath.0.7.3 (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached)
-> retrieved dune.3.10.0, dyn.3.10.0, ordering.3.10.0, stdune.3.10.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved num.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved logs.0.6.2 (http://erratique.ch/software/logs/releases/logs-0.6.2.tbz)
-> installed cmdliner.1.1.0
-> retrieved ocamlgraph.1.8.8 (cached)
-> retrieved ocamlfind.1.8.0 (http://download.camlcity.org/download/findlib-1.8.0.tar.gz)
-> retrieved opam-core.2.1.0, opam-format.2.1.0, opam-repository.2.1.0, opam-state.2.1.0 (https://github.com/ocaml/opam/archive/2.1.0.tar.gz)
-> retrieved pp.1.1.2 (cached)
-> retrieved opam-file-format.2.1.3 (https://github.com/ocaml/opam-file-format/archive/2.1.3.tar.gz)
-> retrieved parsexp.v0.14.0 (https://ocaml.janestreet.com/ocaml-core/v0.14/files/parsexp-v0.14.0.tar.gz)
-> retrieved re.1.9.0 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved sexplib.v0.14.0 (cached)
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved rresult.0.4.0 (http://erratique.ch/software/rresult/releases/rresult-0.4.0.tbz)
-> retrieved topkg.0.9.0 (http://erratique.ch/software/topkg/releases/topkg-0.9.0.tbz)
-> retrieved result.1.0 (https://github.com/janestreet/result/archive/1.0.tar.gz)
-> installed result.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed num.1.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed topkg.0.9.0
-> installed ocamlgraph.1.8.8
-> installed rresult.0.4.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.10.0
-> installed csexp.1.5.1
-> installed opam-file-format.2.1.3
-> installed pp.1.1.2
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed sexplib0.v0.14.0
-> installed ordering.3.10.0
-> installed dune-private-libs.2.3.0
-> installed fmt.0.8.9
-> installed re.1.9.0
-> installed dune-configurator.2.3.0
-> installed logs.0.6.2
-> installed dyn.3.10.0
-> installed bos.0.2.0
-> installed stdune.3.10.0
-> installed opam-core.2.1.0
-> installed base.v0.14.0
-> installed parsexp.v0.14.0
-> installed sexplib.v0.14.0
-> installed opam-format.2.1.0
-> installed opam-repository.2.1.0
-> installed opam-state.2.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-17 08:11.54 ---> saved as "f1cc5097236dcfa17a0f8e80aa3bd9606e2d4558dd27e61fcb920c6c921f4080"
/src: (copy (src .) (dst /src))
2024-09-17 08:11.54 ---> saved as "739ef8ab356a53f415d13cfce3179ec68d5375d94820d695b3be7ce2cf157869"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-09-17 08:11.57 ---> saved as "56c3900750a680d14deafc0369737ea8e8b97fb05d4bc331866c385dcdd6bc0c"
Job succeeded
2024-09-17 08:11.58: Job succeeded