2024-06-17 12:58.33: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/master (6b90ba4ab43257e05e377672f4e07b2d1b643588) (macos-x86_64:macos-homebrew-4.14_opam-2.1)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-hvsock.git" -b "master" && cd "ocaml-hvsock" && git reset --hard 6b90ba4a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 hvsock.opam ./src/./
RUN opam pin add -yn hvsock.dev './src/./'
ENV DEPS="alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uuidm.0.9.8 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hvsock.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 12:58.33: Using cache hint "mirage/ocaml-hvsock-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-ae6bc756a90416339dc117b1e42b5dd5"
2024-06-17 12:58.33: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 hvsock.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn hvsock.dev './src/./'"))
(env DEPS "alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uuidm.0.9.8 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 hvsock.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 12:58.33: Waiting for resource in pool OCluster
2024-06-17 18:42.01: Waiting for worker…
2024-06-17 21:42.10: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 6b90ba4 Merge pull request #68 from djs55/remove-cmdliner-dep
(from macos-homebrew-ocaml-4.14)
2024-06-17 21:42.12 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_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-17 21:42.12 ---> using "25b9bb92388ede51fae89d4de3a3dbc7bf0716456eef41b1ea8636995a3eeab7" 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-17 21:42.13 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-06-17 21:42.14 ---> using "f4908fd0e5799798bb14c138897a7b0cd12737558237c57b6cfe71feb61d52ba" 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
- install host-system-other 1
- recompile ocaml-options-vanilla 1 [upstream or system changes]
- recompile ocaml-base-compiler 4.14.2 [upstream or system changes]
- recompile ocaml-config 2 [upstream or system changes]
- recompile ocaml 4.14.2 [uses ocaml-base-compiler, ocaml-config]
===== 2 to install | 4 to recompile =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2 (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.4.14.2 (cached)
-> removed ocaml.4.14.2
-> removed ocaml-config.2
-> removed ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-17 21:42.14 ---> using "c8892a8dc034757fd755e78fd8a062509867cd46b19d740b1eea9f67853d4a1b" from cache
/: (copy (src hvsock.opam) (dst ./src/./))
2024-06-17 21:42.17 ---> saved as "ab200cea16923179d7460cfc9e2f935d59734d2125f99fe4c7872ede62559125"
/: (run (network host)
(shell "opam pin add -yn hvsock.dev './src/./'"))
[hvsock.dev] synchronised (file:///Users/mac1000/src)
hvsock is now pinned to file:///Users/mac1000/src (version dev)
2024-06-17 21:42.30 ---> saved as "1ffa0237c9a62b4bd6ccfebe665cb067fb4015cfe003e70dd3c792be9480a1f4"
/: (env DEPS "alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.9.1 cmdliner.1.3.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 lwt.5.7.0 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-flow-combinators.4.0.2 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uuidm.0.9.8 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 hvsock.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hvsock.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-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-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-06-17 21:43.15 ---> saved as "de9e456342b15ff1615cbd184f35b3ec0da3ca51c87a9ad6b593f83c887bbf2d"
/: (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-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-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.16.0
- install ocamlfind 1.9.6
- install seq base
- install cmdliner 1.3.0
- install stringext 1.6.0
- install stdlib-shims 0.3.0
- install ocaml-syntax-shims 1.0.0
- install mirage-clock 4.2.0
- install duration 0.2.1
- install csexp 1.5.2
- install cppo 1.6.9
- install base64 3.5.1
- install topkg 1.0.7
- install base-bytes base
- install re 1.11.0
- install sha 1.15.4
- install dune-configurator 3.16.0
- install uutf 1.0.3
- install uuidm 0.9.8
- install fmt 0.9.0
- install astring 0.8.5
- install ocplib-endian 1.2
- install bigstringaf 0.9.1
- install cstruct 6.2.0
- install alcotest 1.7.0
- install lwt 5.7.0
- install angstrom 0.16.0
- install mirage-time 3.0.0
- install mirage-flow 4.0.2
- install logs 0.7.0
- install uri 4.4.0
- install mirage-flow-combinators 4.0.2
===== 33 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved alcotest.1.7.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved mirage-clock.4.2.0 (cached)
-> retrieved mirage-flow.4.0.2 (cached)
-> retrieved mirage-flow-combinators.4.0.2 (cached)
-> retrieved mirage-time.3.0.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved dune.3.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved stringext.1.6.0 (cached)
-> installed ocamlbuild.0.14.3
-> retrieved topkg.1.0.7 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved uuidm.0.9.8 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved dune-configurator.3.16.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed uuidm.0.9.8
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed mirage-clock.4.2.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed stringext.1.6.0
-> installed re.1.11.0
-> installed sha.1.15.4
-> installed ocaml-syntax-shims.1.0.0
-> installed cstruct.6.2.0
-> installed cppo.1.6.9
-> installed base64.3.5.1
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.0
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed uri.4.4.0
-> installed lwt.5.7.0
-> installed mirage-time.3.0.0
-> installed mirage-flow.4.0.2
-> installed logs.0.7.0
-> installed mirage-flow-combinators.4.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-17 21:45.09 ---> saved as "73d4a2ac1dcfa5804b6db05783db48a6d4900b68db8d56a6367e95d2c070e6b7"
/: (copy (src .) (dst ./src))
2024-06-17 21:45.12 ---> saved as "42365aa1b57c353d8f89e546923115147381f5f8f46a9a67df4b11f0779e92fd"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/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 -w A-4-41-44 -warn-error +1..49 -safe-string -principal -strict-sequence -g -bin-annot -I lib/.hvsock.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/angstrom -I /Users/mac1000/.opam/4.14.2/lib/base64 -I /Users/mac1000/.opam/4.14.2/lib/bigstringaf -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/stringext -I /Users/mac1000/.opam/4.14.2/lib/uri -I /Users/mac1000/.opam/4.14.2/lib/uuidm -I /Users/mac1000/.opam/4.14.2/lib/uutf -no-alias-deps -opaque -open Hvsock -o lib/.hvsock.objs/byte/hvsock__Af_common.cmo -c -impl lib/af_common.ml)
File "lib/af_common.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
(cd _build/default && /Users/mac1000/.opam/4.14.2/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 -safe-string -principal -strict-sequence -g -bin-annot -I lwt/.hvsock_lwt.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/angstrom -I /Users/mac1000/.opam/4.14.2/lib/base64 -I /Users/mac1000/.opam/4.14.2/lib/bigstringaf -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/mirage-clock -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow-combinators -I /Users/mac1000/.opam/4.14.2/lib/mirage-time -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/stringext -I /Users/mac1000/.opam/4.14.2/lib/uri -I /Users/mac1000/.opam/4.14.2/lib/uuidm -I /Users/mac1000/.opam/4.14.2/lib/uutf -I lib/.hvsock.objs/byte -no-alias-deps -opaque -open Hvsock_lwt -o lwt/.hvsock_lwt.objs/byte/hvsock_lwt__Flow.cmi -c -intf lwt/flow.mli)
File "lwt/flow.mli", line 24, characters 10-46:
24 | include Mirage_flow_combinators.SHUTDOWNABLE with type error := error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module type Mirage_flow_combinators.SHUTDOWNABLE
(cd _build/default && /Users/mac1000/.opam/4.14.2/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 -safe-string -principal -strict-sequence -g -bin-annot -I lwt/.hvsock_lwt.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/angstrom -I /Users/mac1000/.opam/4.14.2/lib/base64 -I /Users/mac1000/.opam/4.14.2/lib/bigstringaf -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/mirage-clock -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow-combinators -I /Users/mac1000/.opam/4.14.2/lib/mirage-time -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/stringext -I /Users/mac1000/.opam/4.14.2/lib/uri -I /Users/mac1000/.opam/4.14.2/lib/uuidm -I /Users/mac1000/.opam/4.14.2/lib/uutf -I lib/.hvsock.objs/byte -no-alias-deps -opaque -open Hvsock_lwt -o lwt/.hvsock_lwt.objs/byte/hvsock_lwt__Flow_shutdown.cmi -c -intf lwt/flow_shutdown.mli)
File "lwt/flow_shutdown.mli", line 32, characters 10-46:
32 | include Mirage_flow_combinators.SHUTDOWNABLE with type error := error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module type Mirage_flow_combinators.SHUTDOWNABLE
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-06-17 21:45.19: Job failed: Failed: Build failed