Organisationsocamlodocb5fca7 ()macos-homebrew-4.14_opam-2.2

macos-homebrew-4.14_opam-2.2

Link Copied
Code Copied

Logs

2024-10-08 11:10.42: New job: test ocaml/odoc https://github.com/ocaml/odoc.git#refs/pull/1208/head (b5fca72fe1fd4777fea4a611c844ea8b8a3c4e50) (macos-x86_64:macos-homebrew-4.14_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/odoc.git" && cd "odoc" && git fetch origin "refs/pull/1208/head" && git reset --hard b5fca72f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam ./src/./
RUN opam pin add -yn odoc.dev './src/./' && \
    opam pin add -yn odoc-parser.dev './src/./' && \
    opam pin add -yn odoc-driver.dev './src/./' && \
    opam pin add -yn odoc-bench.dev './src/./'
ENV DEPS="astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y odoc.dev odoc-parser.dev odoc-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build --only-packages=odoc,odoc-parser,odoc-bench @install @check @runtest && rm -rf _build


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


2024-10-08 11:10.42: Using cache hint "ocaml/odoc-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.2-c7a410585dc985178b6ba94d67791ebe"
2024-10-08 11:10.42: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
       (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn odoc.dev './src/./' && \
             \nopam pin add -yn odoc-parser.dev './src/./' && \
             \nopam pin add -yn odoc-driver.dev './src/./' && \
             \nopam pin add -yn odoc-bench.dev './src/./'"))
 (env DEPS "astring.0.8.5 base.v0.16.3 base-bigarray.base base-threads.base base-unix.base base_bigstring.v0.16.0 base_quickcheck.v0.16.0 bin_prot.v0.16.0 bisect_ppx.2.8.3 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 conf-bash.1 conf-jq.1 core.v0.16.2 core_kernel.v0.16.0 cppo.1.7.0 crunch.3.3.1 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 fieldslib.v0.16.0 fmt.0.9.0 fpath.0.7.3 host-arch-x86_64.1 host-system-other.1 int_repr.v0.16.0 jane-street-headers.v0.16.0 jst-config.v0.16.0 logs.0.7.0 mdx.2.4.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-version.3.6.9 ocamlbuild.0.15.0 ocamlfind.1.9.6 parsexp.v0.16.0 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_bench.v0.16.0 ppx_bin_prot.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_custom_printf.v0.16.0 ppx_derivers.1.2.1 ppx_disable_unused_warnings.v0.16.0 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_fields_conv.v0.16.0 ppx_fixed_literal.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_ignore_instrumentation.v0.16.0 ppx_inline_test.v0.16.1 ppx_jane.v0.16.0 ppx_let.v0.16.0 ppx_log.v0.16.0 ppx_module_timer.v0.16.0 ppx_optcomp.v0.16.0 ppx_optional.v0.16.0 ppx_pipebang.v0.16.0 ppx_sexp_conv.v0.16.0 ppx_sexp_message.v0.16.0 ppx_sexp_value.v0.16.0 ppx_stable.v0.16.0 ppx_stable_witness.v0.16.0 ppx_string.v0.16.0 ppx_tydi.v0.16.0 ppx_typerep_conv.v0.16.0 ppx_variants_conv.v0.16.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 splittable_random.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.7 typerep.v0.16.0 tyxml.4.6.0 uutf.1.0.3 variantslib.v0.16.0 yojson.2.2.2")
 (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 odoc.dev odoc-parser.dev odoc-bench.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 --only-packages=odoc,odoc-parser,odoc-bench @install @check @runtest && rm -rf _build"))
)


2024-10-08 11:10.42: Waiting for resource in pool OCluster
2024-10-08 11:10.43: Waiting for worker…
2024-10-08 11:15.44: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at b5fca72f Driver: Handle virtual libraries better


(from macos-homebrew-ocaml-4.14)
2024-10-08 11:15.45 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_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-10-08 11:15.45 ---> 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-10-08 11:15.46 ---> 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-10-08 11:15.46 ---> 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 525e9f91783f83939e57ae00eb12498294707461 || git fetch origin master) && git reset -q --hard 525e9f91783f83939e57ae00eb12498294707461 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5e7a27da27..a70ac3366b  master     -> origin/master
525e9f9178 Merge pull request #26639 from mtelvers/opam-publish-ocaml-version.3.6.9


<><> 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-10-08 11:15.46 ---> using "8ac34d31cbeffccfccece6eaa801ca241351b0a69fcbf45d0ad69dba4de9c20a" from cache


/: (copy (src odoc.opam odoc-parser.opam odoc-driver.opam odoc-bench.opam)
         (dst ./src/./))
2024-10-08 11:15.48 ---> saved as "5e497ef286114b0a4c375a9353915f85afa9a3edc9cb4ac32df441b06b5d3d2e"


/: (run (network host)
        (shell  "opam pin add -yn odoc.dev './src/./' && \
               \nopam pin add -yn odoc-parser.dev './src/./' && \
               \nopam pin add -yn odoc-driver.dev './src/./' && \
               \nopam pin add -yn odoc-bench.dev './src/./'"))
[odoc.dev] synchronised (file:///Users/mac1000/src)
odoc is now pinned to file:///Users/mac1000/src (version dev)
2024-10-08 11:15.59: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled