Organisationsmirageocaml-cow3f53db (main)macos-homebrew-4.14_arm64_opam-2.1

macos-homebrew-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 09:18.52: New job: test mirage/ocaml-cow https://github.com/mirage/ocaml-cow.git#refs/heads/main (3f53db99b048261b774e45d22d57c7c71f02092b) (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/ocaml-cow.git" -b "main" && cd "ocaml-cow" && git reset --hard 3f53db99
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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cow.opam ./src/./
RUN opam pin add -yn cow.dev './src/./'
ENV DEPS="alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-build-info.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 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 omd.2.0.0~alpha4 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 xmlm.1.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y cow.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:18.52: Using cache hint "mirage/ocaml-cow-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-42cd1d8a3a2868460f74498ee1554509"
2024-05-10 09:18.52: 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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src cow.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn cow.dev './src/./'"))
 (env DEPS "alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-build-info.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 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 omd.2.0.0~alpha4 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 xmlm.1.4.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 cow.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:18.52: Waiting for resource in pool OCluster
2024-05-10 14:48.32: Waiting for worker…
2024-05-10 18:20.17: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 3f53db9 Fix typo in CHANGELOG


(from macos-homebrew-ocaml-4.14)
2024-05-10 18:20.18 ---> 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-05-10 18:20.18 ---> 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-05-10 18:20.18 ---> 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-05-10 18:20.18 ---> 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 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
  - 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-05-10 18:20.19 ---> using "b24024a94c88960a6d52d30e3215e2b1a36b271af80c110265910615be43062b" from cache


/: (copy (src cow.opam) (dst ./src/./))
2024-05-10 18:20.20 ---> saved as "d737ff2949010a2723e38db0465e9b48c606759830b9080dc0abfff69fe1dfd3"


/: (run (network host)
        (shell "opam pin add -yn cow.dev './src/./'"))
[cow.dev] synchronised (file:///Users/mac1000/src)
cow is now pinned to file:///Users/mac1000/src (version dev)
2024-05-10 18:20.27 ---> saved as "89b453390f534526195dbea22a13b151b544bfdb6f71746b9c756ab5439ceee9"


/: (env DEPS "alcotest.1.7.0 angstrom.0.16.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.9.1 cmdliner.1.2.0 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-build-info.3.15.2 dune-configurator.3.15.2 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 jsonm.1.0.2 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 omd.2.0.0~alpha4 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.0.7 uri.4.4.0 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 xmlm.1.4.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 cow.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cow.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-05-10 18:20.50 ---> saved as "a40ac6965b1aae2d85074db78dbc299ea48854eb693794eea0e75ae1764c5dbb"


/: (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 stringext          1.6.0
  - install stdlib-shims       0.3.0
  - install sexplib0           v0.17.0
  - install ocaml-syntax-shims 1.0.0
  - install dune-build-info    3.15.2
  - install csexp              1.5.2
  - install topkg              1.0.7
  - install re                 1.11.0
  - install dune-configurator  3.15.2
  - install xmlm               1.4.0
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install bigstringaf        0.9.1
  - install uunf               15.1.0
  - install jsonm              1.0.2
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install angstrom           0.16.0
  - install uucp               15.1.0
  - install hex                1.5.0
  - install uri                4.4.0
  - install omd                2.0.0~alpha4
  - install ezjsonm            1.3.0
===== 29 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved dune-build-info.3.15.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved omd.2.0.0~alpha4  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> installed cmdliner.1.2.0
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved uunf.15.1.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved uucp.15.1.0  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed xmlm.1.4.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.15.2
-> installed cstruct.6.2.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed dune-build-info.3.15.2
-> installed hex.1.5.0
-> installed sexplib0.v0.17.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed uunf.15.1.0
-> installed stringext.1.6.0
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.15.2
-> installed alcotest.1.7.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed uri.4.4.0
-> installed uucp.15.1.0
-> installed omd.2.0.0~alpha4
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-10 18:22.02 ---> saved as "10b46ae36ea93d2b22ade3ea57c42a80f51ad381bd27747f26d7c147075f8194"


/: (copy (src .) (dst ./src))
2024-05-10 18:22.03 ---> saved as "03c324ac1300e38ac2d907c7e5e13d9ef5dabbcdea97f11d98fc83d9c77da8f1"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./render.exe -q --color=always)
Testing `cow'.
This run has ID `U8GYYSBJ'.


  [OK]          xml          0   xml_expander+dtd.opt-2.
  [OK]          xml          1   xml_expander+dtd.opt-1.
  [OK]          xml          2   xml_expander+dtd.opt'-2.
  [OK]          xml          3   xml_expander+dtd.opt'-1.
  [OK]          xml          4   xml_expander+dtd.int-1.
  [OK]          xml          5   xml_expander+dtd.flo-1.
  [OK]          xml          6   xml_expander+dtd.str-1.
  [OK]          xml          7   xml_expander+dtd.uri-1.
  [OK]          xml          8   xml_expander+dtd.alist-2.
  [OK]          xml          9   xml_expander+dtd.alist-1.
  [OK]          xml         10   xml_expander+dtd.list-2.
  [OK]          xml         11   xml_expander+dtd.list-1.
  [OK]          xml         12   xml_expander+dtd.attrs-2.
  [OK]          xml         13   xml_expander+dtd.attrs-1.
  [OK]          xml         14   xml_expander+dtd.attrs'-2.
  [OK]          xml         15   xml_expander+dtd.attrs'-1.
  [OK]          xml         16   xml_expander+dtd.attrs''-2.
  [OK]          xml         17   xml_expander+dtd.attrs''-1.
  [OK]          xml         18   xml_expander+dtd.labeled_xml_fn-2.
  [OK]          xml         19   xml_expander+dtd.labeled_xml_fn-1.
  [OK]          xml         20   xml_expander+dtd.label_xml_fn_assignment-2.
  [OK]          xml         21   xml_expander+dtd.label_xml_fn_assignment-1.
  [OK]          xml         22   xml_expander.opt-2.
  [OK]          xml         23   xml_expander.opt-1.
  [OK]          xml         24   xml_expander.opt'-2.
  [OK]          xml         25   xml_expander.opt'-1.
  [OK]          xml         26   xml_expander.int-1.
  [OK]          xml         27   xml_expander.flo-1.
  [OK]          xml         28   xml_expander.str-1.
  [OK]          xml         29   xml_expander.uri-1.
  [OK]          xml         30   xml_expander.alist-2.
  [OK]          xml         31   xml_expander.alist-1.
  [OK]          xml         32   xml_expander.list-2.
  [OK]          xml         33   xml_expander.list-1.
  [OK]          xml         34   xml_expander.attrs-2.
  [OK]          xml         35   xml_expander.attrs-1.
  [OK]          xml         36   xml_expander.attrs'-2.
  [OK]          xml         37   xml_expander.attrs'-1.
  [OK]          xml         38   xml_expander.attrs''-2.
  [OK]          xml         39   xml_expander.attrs''-1.
  [OK]          xml         40   xml_expander.labeled_xml_fn-2.
  [OK]          xml         41   xml_expander.labeled_xml_fn-1.
  [OK]          xml         42   xml_expander.label_xml_fn_assignment-2.
  [OK]          xml         43   xml_expander.label_xml_fn_assignment-1.


Full test results in `~/src/_build/default/test/_build/_tests/cow'.
Test Successful in 0.002s. 44 tests run.
2024-05-10 18:22.05 ---> saved as "22456f059fa655f8d173080dd267f9f8f147a3a27000a6974ce40821575a29a7"
Job succeeded
2024-05-10 18:22.09: Job succeeded