Organisationsocurrentobuilder6d7ed1 ()macos-homebrew-4.14_arm64_opam-2.5

macos-homebrew-4.14_arm64_opam-2.5

Logs

Show full logs
2026-06-24 09:53.14: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/heads/freebsd-jail-reap-detached-daemons (6d7ed17383ebe6ddd5ef499ee0a56ed49b9164b2) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/obuilder.git" -b "freebsd-jail-reap-detached-daemons" && cd "obuilder" && git reset --hard 6d7ed173
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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.16.5 base-bigarray.base base-bytes.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.3 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 sexplib.v0.16.0 sexplib0.v0.16.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-24 09:53.14: Using cache hint "ocurrent/obuilder-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-2c7f8e52dcc9ba4bbf76204debb6372d"
2026-06-24 09:53.14: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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.16.5 base-bigarray.base base-bytes.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.3 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 sexplib.v0.16.0 sexplib0.v0.16.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-24 09:53.14: Waiting for resource in pool OCluster
2026-06-24 09:53.14: Waiting for worker…
2026-06-24 09:53.42: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
HEAD is now at 6d7ed17 FreeBSD: force-remove the jail on exit to reap detached daemons

(from macos-homebrew-ocaml-4.14)
2026-06-24 09:53.43 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_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-24 09:53.43 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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-24 09:53.43 ---> using "27de7f8da5446110a2a606426ab24de8c3a34094e10bf436d4cd7574c23f0884" 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-24 09:53.43 ---> using "96a61304c37a32a8a9af1266ed23b2f9bd9d13b67b1691bf42c19d0e7dbf7152" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.4
2.5.0
2026-06-24 09:53.44 ---> using "a422ef073d03adbedf1d42e9015a67a23c2242960f889dd07eb5f52df5e4bbf7" 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-config.3
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-24 09:53.44 ---> using "a0515b1f150148beec64f26893f459f08479e92d223b35d5cf6335e41f564e93" from cache

/: (copy (src obuilder.opam obuilder-spec.opam) (dst ./src/./))
2026-06-24 09:53.44 ---> using "d2af2e1c1b5937a8f0baf73b40351ca10fa8914329bfaaf5f377bb1f0423ca8d" from cache

/: (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-24 09:53.44 ---> using "52a2256b9e3ce735fc57207d0f6ea30f6b91a908d8f441882dfaedbfaa02e228" from cache

/: (run (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-06-24 09:53.44 ---> using "0ea5afa867beb105378988a9cdffd881d4747a77263313550f49b695819f8238" from cache

/: (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 astring.0.8.5 base.v0.16.5 base-bigarray.base base-bytes.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.3 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 sexplib.v0.16.0 sexplib0.v0.16.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 2).
[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).
[ERROR] Package conflict!
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 4.14.4
    - ocaml-base-compiler = 4.14.2
    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-24 09:54.04: Job failed: Failed: Build failed