2024-04-10 19:02.11: New job: test gs0510/ofronds https://github.com/gs0510/ofronds.git#refs/heads/main (e2f614dbdafab1ac5088afbd29b45451784ea896) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gs0510/ofronds.git" -b "main" && cd "ofronds" && git reset --hard e2f614db
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 ofronds.opam ./
RUN opam pin add -yn ofronds.dev './'
ENV DEPS="astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.2.8.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 result.1.0 rresult.0.4.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ofronds.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 19:02.11: Using cache hint "gs0510/ofronds-ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-67f1758f81b5f75a73e2fb741bdd7ef2"
2024-04-10 19:02.11: 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 ofronds.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ofronds.dev './'"))
(env DEPS "astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.2.8.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 result.1.0 rresult.0.4.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 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.1 --depext-only -y ofronds.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 19:02.11: Waiting for resource in pool OCluster
2024-04-10 19:02.12: Waiting for worker…
2024-04-10 19:58.25: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at e2f614d Merge pull request #12 from pitag-ha/add-exercises
(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 19:58.25 ---> 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 19:58.25 ---> 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.
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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-10 19:58.25 ---> 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 19:58.25 ---> using "6d08f9350fb9ef3e5cae7793dcb5f2ac075cfe0fc789bf328cd7ac0338e3980e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-10 19:58.25 ---> 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 19:58.25 ---> using "54c242ab23012f41cfac219972fca7342aed94c33235e6af1a8b93016fcf5cd4" from cache
/src: (copy (src ofronds.opam) (dst ./))
2024-04-10 19:58.25 ---> saved as "b6f23ccd8d096d09c1dc6598948e78e61950419260b5facbef76702ad27a5550"
/src: (run (network host)
(shell "opam pin add -yn ofronds.dev './'"))
Package ofronds does not exist, create as a NEW package? [Y/n] y
[ofronds.dev] synchronised (file:///src)
[WARNING] Failed checks on ofronds package definition from source at file:///src:
warning 47: Synopsis (or description first line) should start with a capital and not end with a dot
ofronds is now pinned to file:///src (version dev)
2024-04-10 19:58.26 ---> saved as "c64ae9006a662df743c5a4491c12370dcca3b523b916b6b9a3f7f9eced017270"
/src: (env DEPS "astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.1.0 cmdliner.1.0.3 conf-m4.1 dune.2.8.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.0 fpath.0.7.0 jbuilder.1.0+beta20.1 logs.0.6.2 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 parsexp.v0.12.0 ppx_derivers.1.0 ppx_sexp_conv.v0.12.0 ppxlib.0.7.0 result.1.0 rresult.0.4.0 sexplib.v0.12.0 sexplib0.v0.12.0 stdio.v0.12.0 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.1 --depext-only -y ofronds.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 (817 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ofronds.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-04-10 19:58.39 ---> saved as "5e4eea6f1dcb7297f1433b2fe7eef54bab4a092e0a82a9e9e004eae7d50d4a04"
/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 dune 2.8.0
- install cmdliner 1.0.3
- install conf-m4 1
- install jbuilder 1.0+beta20.1
- install result 1.0
- install ocamlbuild 0.14.0
- install sexplib0 v0.12.0
- install dune-private-libs 2.3.0
- install dune-build-info 1.11.0
- install ocamlfind 1.8.0
- install ppx_derivers 1.0
- install ocaml-compiler-libs v0.11.0
- install dune-configurator 2.3.0
- install topkg 0.7.5
- install num 1.0
- install base-bytes base
- install ocaml-migrate-parsetree 1.3.1
- install base v0.12.2
- install rresult 0.4.0
- install fmt 0.8.0
- install astring 0.8.2
- install stdio v0.12.0
- install parsexp v0.12.0
- install logs 0.6.2
- install fpath 0.7.0
- install ppxlib 0.7.0
- install sexplib v0.12.0
- install bos 0.1.0
- install ppx_sexp_conv v0.12.0
===== 29 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.2 (cached)
-> retrieved base.v0.12.2 (cached)
-> retrieved bos.0.1.0 (cached)
-> retrieved cmdliner.1.0.3 (cached)
-> retrieved dune.2.8.0 (cached)
-> installed conf-m4.1
-> retrieved dune-build-info.1.11.0 (cached)
-> retrieved dune-configurator.2.3.0 (cached)
-> retrieved dune-private-libs.2.3.0 (cached)
-> retrieved fmt.0.8.0 (cached)
-> retrieved fpath.0.7.0 (cached)
-> retrieved logs.0.6.2 (cached)
-> retrieved num.1.0 (cached)
-> retrieved ocaml-compiler-libs.v0.11.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved ocaml-migrate-parsetree.1.3.1 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved parsexp.v0.12.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_sexp_conv.v0.12.0 (cached)
-> retrieved ppxlib.0.7.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved rresult.0.4.0 (cached)
-> retrieved sexplib.v0.12.0 (cached)
-> retrieved sexplib0.v0.12.0 (cached)
-> retrieved stdio.v0.12.0 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> 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 ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed topkg.0.7.5
-> installed dune.2.8.0
-> installed rresult.0.4.0
-> installed dune-build-info.1.11.0
-> installed sexplib0.v0.12.0
-> installed fmt.0.8.0
-> installed astring.0.8.2
-> installed logs.0.6.2
-> installed fpath.0.7.0
-> installed dune-private-libs.2.3.0
-> installed bos.0.1.0
-> installed dune-configurator.2.3.0
-> installed ocaml-migrate-parsetree.1.3.1
-> installed base.v0.12.2
-> installed stdio.v0.12.0
-> installed parsexp.v0.12.0
-> installed sexplib.v0.12.0
-> installed ppxlib.0.7.0
-> installed ppx_sexp_conv.v0.12.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-10 19:59.30 ---> saved as "7fce2ef5fdb25dacba4a25e8aa6afc7fa0572f5b9d4ce7ccd72df23bc74004d1"
/src: (copy (src .) (dst /src))
2024-04-10 19:59.30 ---> saved as "56594f28e01a0cc45b57dffe4fae5d7af1a9db2decd13092def6021f5119c152"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
ppx ofronds_internals/exercise.pp.ml (exit 1)
(cd _build/default && .ppx/e5c62d576feb9cf4645d7d03ed58d831/ppx.exe -o ofronds_internals/exercise.pp.ml --impl ofronds_internals/exercise.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
File "ofronds_internals/exercise.ml", line 24, characters 7-20:
24 | let+ input_channel = try Ok (open_in p) with _ -> Error `File_not_found in
^^^^^^^^^^^^^
Error: Syntax error
ppx ofronds_internals/import.pp.ml (exit 1)
(cd _build/default && .ppx/e5c62d576feb9cf4645d7d03ed58d831/ppx.exe -o ofronds_internals/import.pp.ml --impl ofronds_internals/import.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
File "ofronds_internals/import.ml", line 12, characters 10-13:
12 | let ( let+ ) x f = Result.map f x
^^^
Error: Syntax error: operator expected.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-10 19:59.31: Job failed: Failed: Build failed