Organisationsocaml-ppxppx_deriving7dbaf9 ()macos-homebrew-4.14_arm64_opam-2.1

macos-homebrew-4.14_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-04-05 08:11.56: New job: test ocaml-ppx/ppx_deriving https://github.com/ocaml-ppx/ppx_deriving.git#refs/pull/273/head (7dbaf97f797d127cd6d23aa11863e480febac289) (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/ocaml-ppx/ppx_deriving.git" && cd "ppx_deriving" && git fetch origin "refs/pull/273/head" && git reset --hard 7dbaf97f
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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving.opam ./src/./
RUN opam pin add -yn ppx_deriving.dev './src/./'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ppx_deriving.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-05 08:11.56: Using cache hint "ocaml-ppx/ppx_deriving-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-d673c003257ada0440ff8e5bbb30999f"
2024-04-05 08:11.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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ppx_deriving.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn ppx_deriving.dev './src/./'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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 ppx_deriving.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-05 08:11.56: Waiting for resource in pool OCluster
2024-04-05 08:11.56: Waiting for worker…
2024-04-05 09:07.48: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
HEAD is now at 7dbaf97 Add regression test for #272


(from macos-homebrew-ocaml-4.14)
2024-04-05 09:07.48 ---> 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-05 09:07.48 ---> 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-05 09:07.49 ---> 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-05 09:07.49 ---> 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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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
950c52962d [new release] dune (15 packages) (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-05 09:07.49 ---> using "d1a3df57dc1beac25537d217aefa303712cc5c349b7434e7e19ffd6d3fb27cd6" from cache


/: (copy (src ppx_deriving.opam) (dst ./src/./))
2024-04-05 09:07.50 ---> saved as "bbf4b29d4c832e4694762b9f9144f4cd4104753a9ab47ea91736e6a296bf3842"


/: (run (network host)
        (shell "opam pin add -yn ppx_deriving.dev './src/./'"))
[ppx_deriving.dev] synchronised (file:///Users/mac1000/src)
ppx_deriving is now pinned to file:///Users/mac1000/src (version dev)
2024-04-05 09:07.57 ---> saved as "33218a2f50954aab27b0693dc3796bf4bce1b1d3774a4ec7ec547aec8ce54a3e"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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 ppx_deriving.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving.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-05 09:08.12 ---> saved as "69de8c546e94c9fde3be6b11561b015295ec0e8e29df4457b92d2029570574e7"


/: (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 seq                 base
  - install dune                3.15.0
  - install ocamlfind           1.9.6
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.16.0
  - install result              1.5
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install cppo                1.6.9
  - install ounit2              2.2.7
  - install ppxlib              0.32.0
===== 11 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.15.0  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.32.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.15.0
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed cppo.1.6.9
-> installed ounit2.2.2.7
-> installed ppxlib.0.32.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-05 09:09.04 ---> saved as "e5b36fb75cae264b6bd83e9cdec8623fc123ec2f4de8964bfe22db8dea29dd28"


/: (copy (src .) (dst ./src))
2024-04-05 09:09.05 ---> saved as "1886177d66a516bbbe1ccfe476577d47375a27e29f60efa4fb38c197093e3e2c"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test/api && ./test_api.exe)
.
Ran: 1 tests in: 0.16 seconds.
OK
(cd _build/default && .ppx/b350bca3997ffc22d5639739371f8d96/ppx.exe -o src_test/make/test_deriving_make.pp.ml --impl src_test/make/test_deriving_make.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
File "src_test/make/test_deriving_make.ml", lines 63-64, characters 2-19:
63 | ..and secondary_recursive_type = string
64 |   [@@deriving show]
Error: make can be derived only for record types
(cd _build/default/src_test/fold && ./test_deriving_fold.exe)
....
Ran: 4 tests in: 0.12 seconds.
OK
(cd _build/default/src_test/ord && ./test_deriving_ord.exe)
..............
Ran: 14 tests in: 0.13 seconds.
OK
(cd _build/default/src_test/iter && ./test_deriving_iter.exe)
....
Ran: 4 tests in: 0.23 seconds.
OK
(cd _build/default/src_test/create && ./test_deriving_create.exe)
..
Ran: 2 tests in: 0.24 seconds.
OK
(cd _build/default/src_test/deriving && ./test_ppx_deriving.exe)
..
Ran: 2 tests in: 0.22 seconds.
OK
(cd _build/default/src_test/eq && ./test_deriving_eq.exe)
............
Ran: 12 tests in: 0.26 seconds.
OK
(cd _build/default/src_test/show && ./test_deriving_show.exe)
......................
Ran: 22 tests in: 0.23 seconds.
OK
(cd _build/default/src_test/map && ./test_deriving_map.exe)
............
Ran: 12 tests in: 0.26 seconds.
OK
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-05 09:09.13: Job failed: Failed: Build failed