Organisationsmiragemirage-stack2d0fe8 (main)macos-homebrew-4.14_arm64_opam-2.1

macos-homebrew-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:49.29: New job: test mirage/mirage-stack https://github.com/mirage/mirage-stack.git#refs/heads/main (2d0fe8f5a198e04415eafd6496d5719f0a610e7e) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.1)
Base: macos-homebrew-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-stack.git" -b "main" && cd "mirage-stack" && git reset --hard 2d0fe8f5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-stack.opam ./src/./
RUN opam pin add -yn mirage-stack.dev './src/./'
ENV DEPS="arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-stack.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-04-30 08:49.29: Using cache hint "mirage/mirage-stack-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-94ac8c2056a928eacfe80a83682d23f5"
2024-04-30 08:49.29: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-stack.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn mirage-stack.dev './src/./'"))
 (env DEPS "arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 topkg.1.0.7")
 (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 mirage-stack.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-04-30 08:49.29: Waiting for resource in pool OCluster
2024-04-30 15:56.55: Waiting for worker…
2024-04-30 17:50.49: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at 2d0fe8f changes for 4.0.0


(from macos-homebrew-ocaml-4.14)
2024-04-30 17:50.49 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_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-04-30 17:50.50 ---> 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-04-30 17:50.50 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 17:50.50 ---> 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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..e90e14059c  master     -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)


<><> 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
  - 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-04-30 17:50.50 ---> using "4a646ae2cb5f14aae7c83b3016a2084a45899eebaebbe364eddbdc8edd8293bd" from cache


/: (copy (src mirage-stack.opam) (dst ./src/./))
2024-04-30 17:50.51 ---> saved as "b6a9a3522e940c7875aef47d5c56ea326ae81bac2fea31e1019da5670e485d87"


/: (run (network host)
        (shell "opam pin add -yn mirage-stack.dev './src/./'"))
[mirage-stack.dev] synchronised (file:///Users/mac1000/src)
mirage-stack is now pinned to file:///Users/mac1000/src (version dev)
2024-04-30 17:51.02 ---> saved as "cb5c867d33aea44fc9e017b9a096b3d4c9809364bf6943e04247d91c18ffba2f"


/: (env DEPS "arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 topkg.1.0.7")


/: (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 mirage-stack.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-stack.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 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...
2024-04-30 17:51.21 ---> saved as "22e44780a596985a7c036db618099f071462bd6a8514b6c23be7ee724290abef"


/: (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 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...
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 mirage-clock      4.2.0
  - install macaddr           5.5.0
  - install lwt-dllist        1.0.1
  - install duration          0.2.1
  - install domain-name       0.4.0
  - install csexp             1.5.2
  - install cppo              1.6.9
  - install topkg             1.0.7
  - install base-bytes        base
  - install psq               0.2.1
  - install ipaddr            5.5.0
  - install dune-configurator 3.15.2
  - install fmt               0.9.0
  - install ocplib-endian     1.2
  - install lru               0.3.1
  - install metrics           0.4.1
  - install cstruct           6.2.0
  - install lwt               5.7.0
  - install randomconv        0.1.3
  - install mirage-random     3.0.0
  - install macaddr-cstruct   5.5.0
  - install ipaddr-cstruct    5.5.0
  - install mirage-time       3.0.0
  - install mirage-net        4.0.0
  - install mirage-flow       4.0.2
  - install logs              0.7.0
  - install cstruct-lwt       6.2.0
  - install ethernet          3.2.0
  - install arp               3.1.0
  - install tcpip             8.0.1
===== 35 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.3.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved cstruct-lwt.6.2.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved ipaddr.5.5.0  (cached)
-> retrieved ipaddr-cstruct.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved macaddr.5.5.0  (cached)
-> retrieved macaddr-cstruct.5.5.0  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-flow.4.0.2  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-random.3.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.1.3  (cached)
-> installed seq.base
-> retrieved dune.3.15.2  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tcpip.8.0.1  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed ocamlbuild.0.14.3
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed lwt-dllist.1.0.1
-> installed metrics.0.4.1
-> installed macaddr.5.5.0
-> installed duration.0.2.1
-> installed domain-name.0.4.0
-> installed cstruct.6.2.0
-> installed cppo.1.6.9
-> installed mirage-clock.4.2.0
-> installed mirage-random.3.0.0
-> installed macaddr-cstruct.5.5.0
-> installed psq.0.2.1
-> installed randomconv.0.1.3
-> installed ipaddr.5.5.0
-> installed lru.0.3.1
-> installed ocplib-endian.1.2
-> installed ipaddr-cstruct.5.5.0
-> installed dune-configurator.3.15.2
-> installed lwt.5.7.0
-> installed mirage-flow.4.0.2
-> installed mirage-time.3.0.0
-> installed mirage-net.4.0.0
-> installed cstruct-lwt.6.2.0
-> installed logs.0.7.0
-> installed ethernet.3.2.0
-> installed arp.3.1.0
-> installed tcpip.8.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 17:52.14 ---> saved as "220638bbd2f708ee60132920bc10323cb18bc4f99cc18a7361f0ae0d4c0a6c16"


/: (copy (src .) (dst ./src))
2024-04-30 17:52.15 ---> saved as "f5adb56a1df879fade1070b18bfe2566e9d0f5a9b10dc751b966073d03bca409"


/: (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 -g -bin-annot -I src/.mirage_stack.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/domain-name -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/ipaddr -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/macaddr -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/tcpip -no-alias-deps -opaque -o src/.mirage_stack.objs/byte/mirage_stack.cmo -c -impl src/mirage_stack.ml)
File "src/mirage_stack.ml", line 1, characters 17-31:
1 | module type V4 = Tcpip.Stack.V4
                     ^^^^^^^^^^^^^^
Error: Unbound module type Tcpip.Stack.V4
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-30 17:52.20: Job failed: Failed: Build failed