OrganisationsLeonidas-from-XIVopam-test9cc745 (main)macos-homebrew-5.2_opam-2.1

macos-homebrew-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 14:07.26: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (macos-x86_64:macos-homebrew-5.2_opam-2.1)
Base: macos-homebrew-ocaml-5.2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/Leonidas-from-XIV/opam-test.git" -b "main" && cd "opam-test" && git reset --hard 9cc74557
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.1 ~/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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-test.opam ./src/./
RUN opam pin add -yn opam-test.dev './src/./'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.6.9 cudf.0.10 dose3.7.0.0 dune.3.16.0 extlib.1.7.9 host-arch-x86_64.1 host-system-other.1 mccs.1.1+17 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlgraph.2.1.0 opam-client.2.1.6 opam-core.2.1.6 opam-file-format.2.1.6 opam-format.2.1.6 opam-repository.2.1.6 opam-solver.2.1.6 opam-state.2.1.6 re.1.11.0 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y opam-test.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-06-17 14:07.26: Using cache hint "Leonidas-from-XIV/opam-test-macos-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.1-9a68413e0525fde10e2dc6f317bcbbaa"
2024-06-17 14:07.26: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.1 ~/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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-test.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn opam-test.dev './src/./'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.6.9 cudf.0.10 dose3.7.0.0 dune.3.16.0 extlib.1.7.9 host-arch-x86_64.1 host-system-other.1 mccs.1.1+17 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlgraph.2.1.0 opam-client.2.1.6 opam-core.2.1.6 opam-file-format.2.1.6 opam-format.2.1.6 opam-repository.2.1.6 opam-solver.2.1.6 opam-state.2.1.6 re.1.11.0 seq.base stdlib-shims.0.3.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.1 --depext-only -y opam-test.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-06-17 14:07.26: Waiting for resource in pool OCluster
2024-06-18 02:32.07: Waiting for worker…
2024-06-18 04:58.50: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
HEAD is now at 9cc7455 Add README


(from macos-homebrew-ocaml-5.2)
2024-06-18 04:58.51 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache


/: (comment macos-homebrew-5.2_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam"))
2024-06-18 04:58.51 ---> using "6315dae0772f39c88ebf2aad05a0508b7387f4993cd36bb9cd299cbcc3542ece" 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-06-18 04:58.52 ---> using "3da9b05e9b357010706c9361ea401a2b6872addc078e3c650340484aca6de20f" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.1.5
2024-06-18 04:58.52 ---> using "fd0a29c7228c0de59ac2483ba2205b71b99c394f444b57a045b21a2bdf7b9c5f" 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   0dc68a8b92..e06bf2b8c3  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


<><> Updating package 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): 
    [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files).


Constructing initial basis...
The following actions will be performed:
  - install   host-arch-x86_64      1
  - recompile ocaml-base-compiler   5.2.0 [upstream or system changes]
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1     [upstream or system changes]
  - recompile ocaml-config          3     [upstream or system changes]
  - recompile ocaml                 5.2.0 [uses ocaml-base-compiler, ocaml-config]
  - recompile base-domains          base  [uses ocaml]
  - recompile base-nnp              base  [uses base-domains]
===== 2 to install | 6 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-18 04:58.53 ---> using "3bdea3048234c3fadb547255161b518832c8e26de85ff6b550ff3f0224147673" from cache


/: (copy (src opam-test.opam) (dst ./src/./))
2024-06-18 04:58.55 ---> saved as "254ca22f60c4180cbfabeb19ad2d17349ae555659bd285ffeb0ddfa4c278623b"


/: (run (network host)
        (shell "opam pin add -yn opam-test.dev './src/./'"))
[opam-test.dev] synchronised (file:///Users/mac1000/src)
opam-test is now pinned to file:///Users/mac1000/src (version dev)
2024-06-18 04:59.07 ---> saved as "8dddfa5e8f9221cdca4017b35e7f36bf8e77277b7bee5988dede0fd548f27bfb"


/: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-c++.1.0 cppo.1.6.9 cudf.0.10 dose3.7.0.0 dune.3.16.0 extlib.1.7.9 host-arch-x86_64.1 host-system-other.1 mccs.1.1+17 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlgraph.2.1.0 opam-client.2.1.6 opam-core.2.1.6 opam-file-format.2.1.6 opam-format.2.1.6 opam-repository.2.1.6 opam-solver.2.1.6 opam-state.2.1.6 re.1.11.0 seq.base stdlib-shims.0.3.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.1 --depext-only -y opam-test.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 vertices
2024-06-18 04:59.37 ---> saved as "5eae6afaf8d57b7437b0a97f1f6133ccb8100505eb09d9cc95a56f64a9907c71"


/: (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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 vertices
The following actions will be performed:
  - install dune             3.16.0
  - install cmdliner         1.3.0
  - install seq              base
  - install conf-c++         1.0
  - install stdlib-shims     0.3.0
  - install opam-file-format 2.1.6
  - install cppo             1.6.9
  - install base64           3.5.1
  - install re               1.11.0
  - install ocamlgraph       2.1.0
  - install extlib           1.7.9
  - install opam-core        2.1.6
  - install cudf             0.10
  - install opam-format      2.1.6
  - install mccs             1.1+17
  - install dose3            7.0.0
  - install opam-repository  2.1.6
  - install opam-solver      2.1.6
  - install opam-state       2.1.6
  - install opam-client      2.1.6
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> installed conf-c++.1.0
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dose3.7.0.0  (cached)
-> retrieved cudf.0.10  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved extlib.1.7.9  (cached)
-> retrieved mccs.1.1+17  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved opam-client.2.1.6  (cached)
-> retrieved opam-core.2.1.6  (cached)
-> retrieved opam-file-format.2.1.6  (cached)
-> retrieved opam-format.2.1.6  (cached)
-> retrieved opam-repository.2.1.6  (cached)
-> retrieved opam-solver.2.1.6  (cached)
-> retrieved opam-state.2.1.6  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed base64.3.5.1
-> installed opam-file-format.2.1.6
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed extlib.1.7.9
-> installed ocamlgraph.2.1.0
-> installed cudf.0.10
-> installed dose3.7.0.0
-> installed mccs.1.1+17
-> installed opam-core.2.1.6
-> installed opam-format.2.1.6
-> installed opam-repository.2.1.6
-> installed opam-solver.2.1.6
-> installed opam-state.2.1.6
-> installed opam-client.2.1.6
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-18 05:01.57 ---> saved as "da56234d9df8fb7eded068247f634692aea379af0ce5b8809212fde880323874"


/: (copy (src .) (dst ./src))
2024-06-18 05:01.59 ---> saved as "2a1a1c7ab05e94485dbaa0bedcb4219947a8cf4754f7cec9642046f999f3fd5c"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.2.0/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/.opam_test.objs/byte -I /Users/mac1000/.opam/5.2.0/lib/base64 -I /Users/mac1000/.opam/5.2.0/lib/cmdliner -I /Users/mac1000/.opam/5.2.0/lib/cudf -I /Users/mac1000/.opam/5.2.0/lib/dose3/algo -I /Users/mac1000/.opam/5.2.0/lib/dose3/common -I /Users/mac1000/.opam/5.2.0/lib/extlib -I /Users/mac1000/.opam/5.2.0/lib/mccs -I /Users/mac1000/.opam/5.2.0/lib/mccs/glpk/internal -I /Users/mac1000/.opam/5.2.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.2.0/lib/ocamlgraph -I /Users/mac1000/.opam/5.2.0/lib/opam-client -I /Users/mac1000/.opam/5.2.0/lib/opam-core -I /Users/mac1000/.opam/5.2.0/lib/opam-file-format -I /Users/mac1000/.opam/5.2.0/lib/opam-format -I /Users/mac1000/.opam/5.2.0/lib/opam-repository -I /Users/mac1000/.opam/5.2.0/lib/opam-solver -I /Users/mac1000/.opam/5.2.0/lib/opam-state -I /Users/mac1000/.opam/5.2.0/lib/re -I /Users/mac1000/.opam/5.2.0/lib/re/pcre -I /Users/mac1000/.opam/5.2.0/lib/seq -I /Users/mac1000/.opam/5.2.0/lib/stdlib-shims -no-alias-deps -opaque -open Opam_test__ -o lib/.opam_test.objs/byte/opam_test__Cli.cmo -c -impl lib/cli.ml)
File "lib/cli.ml", line 7, characters 13-31:
7 |   let info = Cmdliner.Term.info "opam-test" ~version:"%%VERSION%%" in
                 ^^^^^^^^^^^^^^^^^^
Error (alert deprecated): Cmdliner.Term.info
Use Cmd.info instead.


File "lib/cli.ml", line 9, characters 17-21:
9 |   Cmdliner.Term.(exit @@ eval v)
                     ^^^^
Error (alert deprecated): Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.


File "lib/cli.ml", line 9, characters 25-29:
9 |   Cmdliner.Term.(exit @@ eval v)
                             ^^^^
Error (alert deprecated): Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-06-18 05:02.06: Job failed: Failed: Build failed