2024-11-04 11:21.16: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.2)
Base: macos-homebrew-ocaml-4.14
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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam ./src/./
RUN opam pin add -yn dune-compiledb.dev './src/./'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 host-arch-arm64.1 host-system-other.1 jsonm.1.0.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y dune-compiledb.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
2024-11-04 11:21.16: Using cache hint "edwintorok/dune-compiledb-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-9b4e96120f1f974e92f7d9b4c651f3be"
2024-11-04 11:21.16: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
(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 "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev './src/./'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 host-arch-arm64.1 host-system-other.1 jsonm.1.0.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.0.7 uutf.1.0.3")
(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.2 --depext-only -y dune-compiledb.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"))
)
2024-11-04 11:21.16: Waiting for resource in pool OCluster
2024-11-04 20:05.10: Waiting for worker…
2024-11-04 21:29.50: Got resource from pool OCluster
Building on m1-worker-04
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/dune-compiledb.git-7df3878ccf9e8b3d9833f06124e622d89ec1b7e5/.git/
HEAD is now at f044172 fix typo
(from macos-homebrew-ocaml-4.14)
2024-11-04 21:29.51 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_arm64_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-11-04 21:29.51 ---> using "0fc88bc096429f8087d29338c802b1e4d45e761b825e45695066961067369beb" 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] no changes from git+file:///Users/mac1000/opam-repository
2024-11-04 21:29.52 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.1
2024-11-04 21:29.52 ---> using "07fa1eab191e27fa6a90116da06eed20ebaaf79e4c99d1f9adbbe0baf8e3f1a3" 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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b8e118d3ef..9048aac630 master -> origin/master
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
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-11-04 21:29.52 ---> using "d602cdb6f4472c6c64cc61c9bea2a7aaaeca891b0936a979d5432fb52c8bbafa" from cache
/: (copy (src dune-compiledb.opam) (dst ./src/./))
2024-11-04 21:29.53 ---> saved as "f163a3a19e5b6b7296ff6dab1dc2e82d1d8179dfd2c486d4f80a579593d3575c"
/: (run (network host)
(shell "opam pin add -yn dune-compiledb.dev './src/./'"))
[dune-compiledb.dev] synchronised (file:///Users/mac1000/src)
dune-compiledb is now pinned to file:///Users/mac1000/src (version dev)
2024-11-04 21:30.01 ---> saved as "4c3955bd0d21edf1d3a958596fe48d5062fe1b93276eb233d5417babe96a5510"
/: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 ezjsonm.1.3.0 fmt.0.9.0 fpath.0.7.3 hex.1.5.0 host-arch-arm64.1 host-system-other.1 jsonm.1.0.2 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 sexplib.v0.16.0 sexplib0.v0.16.0 topkg.1.0.7 uutf.1.0.3")
/: (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.2 --depext-only -y dune-compiledb.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.dev] synchronised (no changes)
[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 ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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).
2024-11-04 21:30.16 ---> saved as "f8250b3a45a1892f70fe099e8b226ee252dd5509af29edbe072f8e9e0531d3dc"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 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 16 packages
- install astring 0.8.5
- install cstruct 6.2.0
- install dune 3.16.1
- install ezjsonm 1.3.0
- install fmt 0.9.0
- install fpath 0.7.3
- install hex 1.5.0
- install jsonm 1.0.2
- install num 1.5-1
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install parsexp v0.16.0
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cstruct.6.2.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved ezjsonm.1.3.0 (cached)
-> retrieved fmt.0.9.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.15.0 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.16.1 (cached)
-> installed num.1.5-1
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.16.1
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-04 21:30.53 ---> saved as "2023c5d97429d1dd7bbb953d21e00fbad3908e3bf8947a3689475064e0c9373c"
/: (copy (src .) (dst ./src))
2024-11-04 21:30.55 ---> saved as "b941ef2d4ce9fef01f11113d6a1abf4ae5b09ae90503e75cc8b5c20a688e6e47"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-11-04 21:30.56 ---> saved as "278bbed755fae15c1a92967daaf72f6e2617b7f72ffe172c6347bd40c7aaa106"
Job succeeded
2024-11-04 21:31.07: Job succeeded