Organisationsmiragemirage60d5a6 ()macos-homebrew-4.14_arm64_opam-2.1

macos-homebrew-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-04-26 12:03.56: New job: test mirage/mirage https://github.com/mirage/mirage.git#refs/pull/1524/head (60d5a6f46576fa15073594b6bd90996f369dc199) (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.git" && cd "mirage" && git fetch origin "refs/pull/1524/head" && git reset --hard 60d5a6f4
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 9cbee1880f0d7cd285a141cbebf5af38e7375edb || git fetch origin master) && git reset -q --hard 9cbee1880f0d7cd285a141cbebf5af38e7375edb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage.opam mirage-runtime.opam ./src/./
RUN opam pin add -yn mirage.dev './src/./' && \
    opam pin add -yn mirage-runtime.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 bos.0.2.1 cmdliner.1.2.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.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 opam-monorepo.0.4.0 pecu.0.7 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage.dev mirage-runtime.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-26 12:03.56: Using cache hint "mirage/mirage-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-bb5862d30dc167915d9a0da083a9c34e"
2024-04-26 12:03.56: 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 9cbee1880f0d7cd285a141cbebf5af38e7375edb || git fetch origin master) && git reset -q --hard 9cbee1880f0d7cd285a141cbebf5af38e7375edb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage.opam mirage-runtime.opam) (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn mirage.dev './src/./' && \
             \nopam pin add -yn mirage-runtime.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 bos.0.2.1 cmdliner.1.2.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.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 opam-monorepo.0.4.0 pecu.0.7 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.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 mirage.dev mirage-runtime.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-26 12:03.56: Waiting for resource in pool OCluster
2024-04-26 12:03.56: Waiting for worker…
2024-04-26 12:03.56: Got resource from pool OCluster
Building on m1-worker-02
HEAD is now at e4d5a5c5 functoria: Better type-error for the start function
HEAD is now at 60d5a6f4 functoria: Better type-error for the start function


(from macos-homebrew-ocaml-4.14)
2024-04-26 12:03.58 ---> 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-26 12:03.58 ---> 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-26 12:03.58 ---> 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-26 12:03.58 ---> 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 9cbee1880f0d7cd285a141cbebf5af38e7375edb || git fetch origin master) && git reset -q --hard 9cbee1880f0d7cd285a141cbebf5af38e7375edb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b530f3bbd2..9cbee1880f  master     -> origin/master
9cbee1880f Merge pull request #25615 from Leonidas-from-XIV/release-dune-3.15.0


<><> 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-26 12:03.58 ---> using "2b4b0432889c6c841db079762ce94d2b2dcd7c47669350319140385b7e3196b1" from cache


/: (copy (src mirage.opam mirage-runtime.opam) (dst ./src/./))
2024-04-26 12:03.59 ---> using "3c1e6821b6e49f56e5b7ebbf9c53a1d577caa927a1ab812386f172a23f1dc36b" from cache


/: (run (network host)
        (shell  "opam pin add -yn mirage.dev './src/./' && \
               \nopam pin add -yn mirage-runtime.dev './src/./'"))
[mirage.dev] synchronised (file:///Users/mac1000/src)
mirage is now pinned to file:///Users/mac1000/src (version dev)
[mirage-runtime.dev] synchronised (file:///Users/mac1000/src)
mirage-runtime is now pinned to file:///Users/mac1000/src (version dev)
2024-04-26 12:03.59 ---> using "76cf393b00856cfec1f80aaa52046537b3ebfa921ea4c6b0b17016bf05e51465" from cache


/: (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 bos.0.2.1 cmdliner.1.2.0 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 emile.1.1 fmt.0.9.0 fpath.0.7.3 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.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 opam-monorepo.0.4.0 pecu.0.7 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.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 mirage.dev mirage-runtime.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage.dev] synchronised (no changes)
[mirage-runtime.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...


The following system packages will first need to be installed:
    pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /opt/homebrew/bin/brew "install" "pkg-config"
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ac691fc7ab8ecffba32a837e7197101d271474a3a84cfddcc30c9fd6763ab3c6--pkg-config-0.29.2_3.bottle_manifest.json
- ==> Fetching pkg-config
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/blobs/sha256:7b59abc0b5381065b1eab174217307af9324e0d02edf903171b29250ae58aeaf
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/84ce7ed13999bc49b583c1b0bfd220d1bb0682ca2316d985b0f5f9e9c0a9084d--pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz
- ==> Pouring pkg-config--0.29.2_3.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkg-config/0.29.2_3: 11 files, 675.6KB
- ==> Running `brew cleanup pkg-config`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2024-04-26 12:03.59 ---> using "1258d02fca144d4788175139cee574a688941587e22e30b7258f2266cc6bea2d" from cache


/: (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 cmdliner           1.2.0
  - install ocamlfind          1.9.6
  - install seq                base
  - install dune               3.15.0
  - install conf-pkg-config    3
  - install topkg              1.0.7
  - install base-bytes         base
  - install stringext          1.6.0
  - install stdlib-shims       0.3.0
  - install re                 1.11.0
  - install pecu               0.7
  - install ocaml-syntax-shims 1.0.0
  - install macaddr            5.5.0
  - install domain-name        0.4.0
  - install csexp              1.5.2
  - install cppo               1.6.9
  - install base64             3.5.1
  - install opam-monorepo      0.4.0
  - install uutf               1.0.3
  - install rresult            0.7.0
  - install fmt                0.9.0
  - install astring            0.8.5
  - install ipaddr             5.5.0
  - install dune-configurator  3.15.0
  - install ocplib-endian      1.2
  - install fpath              0.7.3
  - install alcotest           1.7.0
  - install bigstringaf        0.9.1
  - install lwt                5.7.0
  - install angstrom           0.16.0
  - install logs               0.7.0
  - install uri                4.4.0
  - install emile              1.1
  - install bos                0.2.1
===== 35 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 bos.0.2.1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved macaddr.5.5.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 dune.3.15.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved opam-monorepo.0.4.0  (cached)
-> retrieved re.1.11.0  (cached)
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed ocamlbuild.0.14.3
-> retrieved uri.4.4.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune-configurator.3.15.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed cmdliner.1.2.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.15.0
-> installed ocaml-syntax-shims.1.0.0
-> installed macaddr.5.5.0
-> installed domain-name.0.4.0
-> installed csexp.1.5.2
-> installed cppo.1.6.9
-> installed ipaddr.5.5.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed pecu.0.7
-> installed base64.3.5.1
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.7.0
-> installed dune-configurator.3.15.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed emile.1.1
-> installed lwt.5.7.0
-> installed uri.4.4.0
-> installed logs.0.7.0
-> installed opam-monorepo.0.4.0
-> installed bos.0.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-26 12:03.59 ---> using "3953b14cc4abeb24b38db98255488a0919b439d09d9b86e073e38091e50adc50" from cache


/: (copy (src .) (dst ./src))
2024-04-26 12:04.00 ---> saved as "804eb8de5cbb8dfdea78e27aa08b27afde839aaa2130cea243946ea0257a3ab1"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/functoria && ./test.exe)
Testing `functoria'.
This run has ID `SQZ9KXUU'.


  [OK]          cli              0   read_full_eval.
  [OK]          cli              1   configure.
  [OK]          cli              2   describe.
  [OK]          cli              3   clean.
  [OK]          cli              4   help.
  [OK]          cli              5   default.
  [OK]          package          0   merge.
  [OK]          package          1   pp.
  [OK]          package          2   invalid names.
  [OK]          graph            0   var_name.
  [OK]          graph            1   impl_name.
  [OK]          graph            2   test_graph.
  [OK]          action           0   bind.
  [OK]          action           1   seq.
  [OK]          action           2   rm.
  [OK]          action           3   mkdir.
  [OK]          action           4   rmdir.
  [OK]          action           5   with_dir.
  [OK]          action           6   pwd.
  [OK]          action           7   is_file.
  [OK]          action           8   is_dir.
  [OK]          action           9   size_of.
  [OK]          action          10   set_var.
  [OK]          action          11   get_var.
  [OK]          action          12   run_cmd.
  [OK]          action          13   run_cmd_out.
  [OK]          action          14   write_file.
  [OK]          action          15   tmp_file.
  [OK]          action          16   ls.
  [OK]          action          17   with_output.
  [OK]          key              0   equal.
  [OK]          key              1   eval.
  [OK]          key              2   get.
  [OK]          key              3   find.
  [OK]          key              4   merge.
  [OK]          key              5   cmdliner.
  [OK]          key              6   opt-all.
  [OK]          version          0   failed_to_parse comments.
  [OK]          version          1   bad comment.
  [OK]          version          2   good comment.
  [OK]          version          3   unmet comment.


Full test results in `~/src/_build/default/test/functoria/_build/_tests/functoria'.
Test Successful in 0.003s. 41 tests run.
(cd _build/default/test/mirage && ./test.exe)
Testing `mirage'.
This run has ID `SBX9L5S7'.


  [OK]          basic          0   pp.


Full test results in `~/src/_build/default/test/mirage/_build/_tests/mirage'.
Test Successful in 0.000s. 1 test run.
2024-04-26 12:04.07 ---> saved as "b4b70fcfa9e04dc6b5fd05d82726390efa504741e876c1e3d16cb3e574ba0f41"
Job succeeded
2024-04-26 12:04.14: Job succeeded