2024-05-10 09:25.45: New job: test MisterDA/crowbar https://github.com/MisterDA/crowbar.git#refs/heads/master (0061f60605b550c967fd5ccdcc95fcab786b55fa) (macos-x86_64:macos-homebrew-5.1_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/MisterDA/crowbar.git" -b "master" && cd "crowbar" && git reset --hard 0061f606
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 crowbar.opam ./src/./
RUN opam pin add -yn crowbar.dev './src/./'
ENV DEPS="afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base calendar.3.0.0 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 fpath.0.7.3 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y crowbar.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-05-10 09:25.45: Using cache hint "MisterDA/crowbar-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_opam-2.1-9544f5ce2d10cba1d85d0ae3f2f940a4"
2024-05-10 09:25.45: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
(comment macos-homebrew-5.1_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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src crowbar.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn crowbar.dev './src/./'"))
(env DEPS "afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base calendar.3.0.0 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 fpath.0.7.3 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 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.1 --depext-only -y crowbar.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-05-10 09:25.45: Waiting for resource in pool OCluster
2024-05-11 07:18.03: Waiting for worker…
2024-05-11 08:11.41: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 0061f60 Merge remote-tracking branch 'raphael/with-seed-as-cli-parameter' (#60)
(from macos-homebrew-ocaml-5.1)
2024-05-11 08:11.43 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache
/: (comment macos-homebrew-5.1_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-05-11 08:11.44 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" 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-05-11 08:11.44 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 22.5.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-11 08:11.45 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b530f3bbd2..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Constructing initial basis...
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.3.0
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-05-11 08:11.45 ---> using "cabee6b61444bc33d210024577406e218f69742c8bcf128a36e96832a17bee72" from cache
/: (copy (src crowbar.opam) (dst ./src/./))
2024-05-11 08:11.48 ---> saved as "9ad244ae0888a3dcdd151d1697d1aa7cf07af9e7f04d8f753d4eee81414885c1"
/: (run (network host)
(shell "opam pin add -yn crowbar.dev './src/./'"))
[crowbar.dev] synchronised (file:///Users/mac1000/src)
crowbar is now pinned to file:///Users/mac1000/src (version dev)
2024-05-11 08:11.57 ---> saved as "48a507bb098008588bab69e128c0c8c078f5502c63f7558d2611881b2427beea"
/: (env DEPS "afl-persistent.1.4 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base calendar.3.0.0 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 fpath.0.7.3 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 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.1 --depext-only -y crowbar.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[crowbar.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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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 = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-05-11 08:12.28 ---> saved as "285f4819b5728e69c6b62d5329b1a9991af72a6921e19c0381a8a60c6f2738f3"
/: (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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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 = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
- install ocamlbuild 0.14.3
- install dune 3.15.2
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install cppo 1.6.9
- install afl-persistent 1.4
- install topkg 1.0.7
- install base-bytes base
- install re 1.11.0
- install uutf 1.0.3
- install astring 0.8.5
- install ocplib-endian 1.2
- install calendar 3.0.0
- install uunf 15.1.0
- install fpath 0.7.3
- install uucp 15.1.0
===== 17 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved calendar.3.0.0 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed cmdliner.1.2.0
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved uunf.15.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved uucp.15.1.0 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed uunf.15.1.0
-> installed dune.3.15.2
-> installed afl-persistent.1.4
-> installed cppo.1.6.9
-> installed re.1.11.0
-> installed ocplib-endian.1.2
-> installed calendar.3.0.0
-> installed uucp.15.1.0
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 5.1.1+afl ocaml-variants.5.1.1+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-05-11 08:14.26 ---> saved as "d03cff63cd1516bb50898ea35e730d005a850c8f8e49e0f398fc691db2b2d977"
/: (copy (src .) (dst ./src))
2024-05-11 08:14.28 ---> saved as "a31b6020a82470bfb7514f605a78f08483372d8f7d78e05a23ba7a922c4dff38"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "examples/pprint/dune", line 3, characters 20-26:
3 | (libraries crowbar pprint))
^^^^^^
Error: Library "pprint" not found.
-> required by _build/default/examples/pprint/test_pprint.exe
-> required by alias examples/pprint/runtest in examples/pprint/dune:2
(cd _build/default && /Users/mac1000/.opam/5.1.1/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 -warn-error -A -g -bin-annot -I src/.crowbar.objs/byte -I /Users/mac1000/.opam/5.1.1/lib/afl-persistent -I /Users/mac1000/.opam/5.1.1/lib/bytes -I /Users/mac1000/.opam/5.1.1/lib/cmdliner -I /Users/mac1000/.opam/5.1.1/lib/ocaml/str -I /Users/mac1000/.opam/5.1.1/lib/ocaml/unix -I /Users/mac1000/.opam/5.1.1/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -opaque -o src/.crowbar.objs/byte/crowbar.cmo -c -impl src/crowbar.ml)
File "src/crowbar.ml", line 579, characters 19-37:
579 | let crowbar_info = Cmdliner.Term.info @@ Filename.basename Sys.argv.(0)
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.info
Use Cmd.info instead.
File "src/crowbar.ml", line 590, characters 14-32:
590 | match Cmdliner.Term.eval ~catch:false (cmd, crowbar_info) with
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
File "src/crowbar.ml", line 593, characters 15-33:
593 | | n -> Cmdliner.Term.exit n
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.
File "src/crowbar.ml", line 593, characters 34-35:
593 | | n -> Cmdliner.Term.exit n
^
Error: This expression has type int Cmdliner.Term.result
but an expression was expected of type unit Cmdliner.Term.result
Types for tag `Ok are incompatible
(cd _build/default && /Users/mac1000/.opam/5.1.1/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -warn-error -A -g -I src/.crowbar.objs/byte -I src/.crowbar.objs/native -I /Users/mac1000/.opam/5.1.1/lib/afl-persistent -I /Users/mac1000/.opam/5.1.1/lib/bytes -I /Users/mac1000/.opam/5.1.1/lib/cmdliner -I /Users/mac1000/.opam/5.1.1/lib/ocaml/str -I /Users/mac1000/.opam/5.1.1/lib/ocaml/unix -I /Users/mac1000/.opam/5.1.1/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -opaque -o src/.crowbar.objs/native/crowbar.cmx -c -impl src/crowbar.ml)
File "src/crowbar.ml", line 579, characters 19-37:
579 | let crowbar_info = Cmdliner.Term.info @@ Filename.basename Sys.argv.(0)
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.info
Use Cmd.info instead.
File "src/crowbar.ml", line 590, characters 14-32:
590 | match Cmdliner.Term.eval ~catch:false (cmd, crowbar_info) with
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.eval
Use Cmd.v and one of Cmd.eval* instead.
File "src/crowbar.ml", line 593, characters 15-33:
593 | | n -> Cmdliner.Term.exit n
^^^^^^^^^^^^^^^^^^
Alert deprecated: Cmdliner.Term.exit
Use Stdlib.exit and Cmd.eval instead.
File "src/crowbar.ml", line 593, characters 34-35:
593 | | n -> Cmdliner.Term.exit n
^
Error: This expression has type int Cmdliner.Term.result
but an expression was expected of type unit Cmdliner.Term.result
Types for tag `Ok are incompatible
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 08:14.36: Job failed: Failed: Build failed