Organisationsocurrentobuilder458014 ()macos-homebrew-5.4_arm64_opam-2.5

macos-homebrew-5.4_arm64_opam-2.5

Logs

Show full logs
2026-06-23 15:44.39: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/pull/209/head (458014a4b83c38b6c718ca1676d42b819e87bdf5) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.5)
Base: macos-homebrew-ocaml-5.4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/obuilder.git" && cd "obuilder" && git fetch origin "refs/pull/209/head" && git reset --hard 458014a4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_arm64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 || git fetch origin master) && git reset -q --hard 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 obuilder.opam obuilder-spec.opam ./src/./
RUN opam pin add -yn obuilder.dev './src/./' && \
    opam pin add -yn obuilder-spec.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.3 cmdliner.2.1.1 conf-pkg-config.5 conf-sqlite3.1 cppo.1.8.0 crunch.4.0.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 logs.0.10.0 lwt.6.1.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.4.1 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-06-23 15:44.39: Using cache hint "ocurrent/obuilder-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.5-d1b20357a6790c10043ab398ec534cc4"
2026-06-23 15:44.39: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (comment macos-homebrew-5.4_arm64_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 || git fetch origin master) && git reset -q --hard 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 && git log --no-decorate -n1 --oneline"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update -u"))
 (copy (src obuilder.opam obuilder-spec.opam) (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn obuilder.dev './src/./' && \
             \nopam pin add -yn obuilder-spec.dev './src/./'"))
 (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.3 cmdliner.2.1.1 conf-pkg-config.5 conf-sqlite3.1 cppo.1.8.0 crunch.4.0.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 logs.0.10.0 lwt.6.1.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.4.1 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2026-06-23 15:44.39: Waiting for resource in pool OCluster
2026-06-23 18:01.30: Waiting for worker…
2026-06-23 18:56.21: Got resource from pool OCluster
Building on m1-worker-03
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/obuilder.git-a24c8b9c20a9d54a9495a5bd98808b173546cc17/.git/
HEAD is now at 458014a hcs: tear down containers + reclaim orphaned snapshots so pruning can't wedge

(from macos-homebrew-ocaml-5.4)
2026-06-23 18:56.24 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

/: (comment macos-homebrew-5.4_arm64_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-06-23 18:56.24 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 || git fetch origin master) && git reset -q --hard 3cee9a5d95e9afd99727ac6096e6e67dbfaad5e3 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   62b12ba368..3cee9a5d95  master     -> origin/master
3cee9a5d95 conf-pkg-config (#30082)
2026-06-23 18:56.24 ---> using "963f1c9f54ab1050543d5c87de74cc895527eba4f7d3c532178a880c2899094c" 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.

This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
default (at git+file:///Users/mac1000/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at git+file:///Users/mac1000/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-06-23 18:56.24 ---> using "b145eacd38557d8bb8adc4985efa07fbcd74e0ce41104958548225dbff48f94a" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.1
2.5.0
2026-06-23 18:56.25 ---> using "552e03e99c439829ac2de91f9c05a99ad4aa07946d7d1210b7393b0dad26eeec" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository

Everything as up-to-date as possible

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.1
  - ocaml-compiler.5.5.0
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.1"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-06-23 18:56.25 ---> using "8727e6aa2f45b04fde4f36f95acfd3007288beb5f47ec41fb29a8824ddc0d2ad" from cache

/: (copy (src obuilder.opam obuilder-spec.opam) (dst ./src/./))
2026-06-23 18:56.26 ---> saved as "06166f795a11279cbf90f9a94ae18ba1241413f15423da15f829ed360ca917a4"

/: (run (network host)
        (shell  "opam pin add -yn obuilder.dev './src/./' && \
               \nopam pin add -yn obuilder-spec.dev './src/./'"))
[obuilder.dev] synchronised (file:///Users/mac1000/src)
obuilder is now pinned to file:///Users/mac1000/src (version dev)
[obuilder-spec.dev] synchronised (file:///Users/mac1000/src)
obuilder-spec is now pinned to file:///Users/mac1000/src (version dev)
2026-06-23 18:56.33 ---> saved as "a859285eecb4215548c25d48c34167e0bb46d974671f63c0b82fb3de68310f31"

/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-06-23 18:56.34 ---> saved as "50d5462f0322dddcdd86a9bd84dd79e58df1a3ebc11a87a3d29541dffc09caea"

/: (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.3 cmdliner.2.1.1 conf-pkg-config.5 conf-sqlite3.1 cppo.1.8.0 crunch.4.0.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.23.1 dune-compiledb.0.6.0 dune-configurator.3.23.1 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 logs.0.10.0 lwt.6.1.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.2 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.4.1 stdlib-shims.0.3.0 tar.2.6.0 tar-unix.2.6.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")

/: (env CI true)

/: (env OCAMLCI true)

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[obuilder-spec.dev] synchronised (file:///Users/mac1000/src)
[obuilder.dev] synchronised (file:///Users/mac1000/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 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).
[ERROR] Package conflict!
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - ocaml-base-compiler = 5.4.0
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.5 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS" failed with exit status 20
2026-06-23 18:56.53: Job failed: Failed: Build failed