Organisationsedwintorokdune-compiledbf04417 (main)macos-homebrew-5.3_opam-2.3

macos-homebrew-5.3_opam-2.3

Logs

Steps to Reproduce
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-5.3
# macos-homebrew-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 e87127a46b6e17aa7aea2b54b5dac3249ff8d68f || git fetch origin master) && git reset -q --hard e87127a46b6e17aa7aea2b54b5dac3249ff8d68f && 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/./'
RUN echo '(lang dune 3.0)' > './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.19.1 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
2025-06-18 07:41.11: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (macos-x86_64:macos-homebrew-5.3_opam-2.3)
Base: macos-homebrew-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 macos-homebrew-ocaml-5.3
# macos-homebrew-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 e87127a46b6e17aa7aea2b54b5dac3249ff8d68f || git fetch origin master) && git reset -q --hard e87127a46b6e17aa7aea2b54b5dac3249ff8d68f && 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/./'
RUN echo '(lang dune 3.0)' > './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.19.1 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2025-06-18 07:41.11: Using cache hint "edwintorok/dune-compiledb-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_opam-2.3-ffb7e89db30f74948346e6072eab380b"
2025-06-18 07:41.11: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(comment macos-homebrew-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/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 e87127a46b6e17aa7aea2b54b5dac3249ff8d68f || git fetch origin master) && git reset -q --hard e87127a46b6e17aa7aea2b54b5dac3249ff8d68f && 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/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.19.1 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --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"))
)


2025-06-18 07:41.11: Waiting for resource in pool OCluster
2025-06-18 07:41.11: Waiting for worker…
2025-06-18 10:09.22: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at f044172 fix typo


(from macos-homebrew-ocaml-5.3)
2025-06-18 10:09.22 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache


/: (comment macos-homebrew-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-06-18 10:09.22 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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
2025-06-18 10:09.23 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-18 10:09.23 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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 e87127a46b6e17aa7aea2b54b5dac3249ff8d68f || git fetch origin master) && git reset -q --hard e87127a46b6e17aa7aea2b54b5dac3249ff8d68f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
67e940587b..e87127a46b  master     -> origin/master
e87127a46b Merge pull request #28035 from xavierleroy/num-1.6


<><> 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.5.0
- ocaml-compiler.5.5
-- ocaml-base-compiler.5.4.0~alpha1 is installed and requires ocaml-compiler = 5.4.0~alpha1
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-06-18 10:09.23 ---> using "125391a38e42eff949eb3ddbd2f34a52159285ba52768f5c5b516168074bc10c" from cache


/: (copy (src dune-compiledb.opam) (dst ./src/./))
2025-06-18 10:09.24 ---> saved as "c1385efbd7b9b6fa618b35dc1969782eb80f899823eb46982ae62d6f49739f24"


/: (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)
2025-06-18 10:09.52 ---> saved as "ee40b3f9f24c0bfc244ca9ccdc00dda35406fbcb9a220b5bd7a193713ef9b087"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-18 10:09.53 ---> saved as "bff963cbc16be701bea7a16b83aa8a7c1fdeb65f275112d765c73004cc99d215"


/: (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.19.1 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.6 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y dune-compiledb.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.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 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-06-18 10:10.22 ---> saved as "a45d233016cd74d525ddcaf515c34662685a6a9f7e08e1a47042770b8e67d067"


/: (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 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.19.1
- 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.6
- 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 ezjsonm.1.3.0  (cached)
-> retrieved cstruct.6.2.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.6  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed jsonm.1.0.2
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed cstruct.6.2.0
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed parsexp.v0.17.0
-> installed sexplib.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-18 10:11.21 ---> saved as "5710ff6941378cb51989d7e96205d822c7f382462230471cf7ff2b61746c14f5"


/: (copy (src .) (dst ./src))
2025-06-18 10:11.23 ---> saved as "2f0b71f7d94d835607a31c2cee1e85e53d21b3d1c85966769d62f6a3779191a9"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-18 10:11.25 ---> saved as "0b301332bc66f4b21c28811684bb311641e7780766fd3ddf99e6fec1ba86cbb2"
Job succeeded
2025-06-18 10:11.39: Job succeeded