2025-05-02 14:52.26: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/edwintorok/dune-compiledb.git" -b "main" && cd "dune-compiledb" && git reset --hard f0441721
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam /home/opam/src/./
RUN opam pin add -yn dune-compiledb.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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 cstruct.6.2.0 dune.3.18.2 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y dune-compiledb.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-05-02 14:52.26: Using cache hint "edwintorok/dune-compiledb-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-547e4c53daf66cab93caafb136b59fb7"
2025-05-02 14:52.26: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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 cstruct.6.2.0 dune.3.18.2 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.0.8 uutf.1.0.4")
(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 dune-compiledb.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-05-02 14:52.26: Waiting for resource in pool OCluster
2025-05-02 14:52.26: Waiting for worker…
2025-05-02 15:08.14: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at f044172 fix typo
(from openbsd-76-amd64-ocaml-5.3)
2025-05-02 15:08.14 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache
/: (comment openbsd-76-amd64-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-02 15:08.14 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-05-02 15:08.14 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-02 15:08.14 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..35eb2f107a master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 15:08.14 ---> using "08850ffc06efc35ba3198d3fd084207b0f44cdf35c1c9b6f02df8c49dd1ecd1e" from cache
/: (copy (src dune-compiledb.opam) (dst /home/opam/src/./))
2025-05-02 15:09.11 ---> saved as "dfee515814dbdf2215713d480a7eabc8edbc0bbc10354b47476fc1353e1f3927"
/: (run (network host)
(shell "opam pin add -yn dune-compiledb.dev '/home/opam/src/./'"))
[dune-compiledb.dev] synchronised (file:///home/opam/src)
dune-compiledb is now pinned to file:///home/opam/src (version dev)
2025-05-02 15:10.06 ---> saved as "9bb7000dc2029a9e6f7e880647f017677863ac1a5046f86742b6b0b3a6404cb7"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-05-02 15:10.48 ---> saved as "0ebeed0452635da0571dbd58e93f30f1ae8e93c3803dbeffab7bc1360ae93c22"
/: (env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.18.2 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.0.8 uutf.1.0.4")
/: (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 dune-compiledb.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.dev] synchronised (file:///home/opam/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-05-02 15:11.43 ---> saved as "274e2209e9f65791b2c86e9ea1fd6161144f9f54583ee0f4f320cfebdd3cc9e5"
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 16 packages
- install astring 0.8.5
- install cstruct 6.2.0
- install dune 3.18.2
- install ezjsonm 1.3.0
- install fmt 0.10.0
- install fpath 0.7.3
- install hex 1.5.0
- install jsonm 1.0.2
- install num 1.5-1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install parsexp v0.17.0
- install sexplib v0.17.0
- install sexplib0 v0.17.0
- install topkg 1.0.8
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved ezjsonm.1.3.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved dune.3.18.2 (cached)
-> installed num.1.5-1
-> installed dune.3.18.2
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed sexplib0.v0.17.0
-> installed topkg.1.0.8
-> installed parsexp.v0.17.0
-> installed astring.0.8.5
-> installed fmt.0.10.0
-> installed fpath.0.7.3
-> installed cstruct.6.2.0
-> installed sexplib.v0.17.0
-> installed hex.1.5.0
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed ezjsonm.1.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 15:20.16 ---> saved as "6c28c1c376978fc8d014e78aa1b516b4ef9d3600f0c0dbe008bc06845a7fe6e0"
/: (copy (src .) (dst /home/opam/src))
2025-05-02 15:21.13 ---> saved as "1147a35e05178a5ad5400336a7328cfeddad920d9f3e3afbff296ac9c5b14c96"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 2, characters 0-0:
Error: Invalid dune-project file
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-02 15:22.04: Job failed: Failed: Build failed