Organisationsocaml-ppxppx_deriving_yojson34ffff ()macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-04-15 18:12.23: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/pull/149/head (34ffffc7036109769a7ff66d55f23122dc33f8fc) (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/ocaml-ppx/ppx_deriving_yojson.git" && cd "ppx_deriving_yojson" && git fetch origin "refs/pull/149/head" && git reset --hard 34ffffc7
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 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_yojson.opam ./src/./
RUN opam pin add -yn ppx_deriving_yojson.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 ppx_deriving.5.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ppx_deriving_yojson.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-15 18:12.23: Using cache hint "ocaml-ppx/ppx_deriving_yojson-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.1-2a63dce484aab24e71ead51aba8e5fa4"
2024-04-15 18:12.23: 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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ppx_deriving_yojson.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn ppx_deriving_yojson.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 ppx_deriving.5.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.1.2")
 (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_yojson.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-15 18:12.23: Waiting for resource in pool OCluster
2024-04-15 18:12.23: Waiting for worker…
2024-04-15 18:12.23: Got resource from pool OCluster
Building on i7-worker-03
HEAD is now at b25db84 Support alternative representations of variants
HEAD is now at 34ffffc Merge branch 'master' into ppxlib-plugins


(from macos-homebrew-ocaml-4.14)
2024-04-15 18:12.25 ---> 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-04-15 18:12.26 ---> 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-15 18:12.27 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 22.5.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-15 18:12.27 ---> 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-15 18:12.28 ---> using "d1a3df57dc1beac25537d217aefa303712cc5c349b7434e7e19ffd6d3fb27cd6" from cache


/: (copy (src ppx_deriving_yojson.opam) (dst ./src/./))
2024-04-15 18:12.30 ---> saved as "1bc2004525a1ce0ec2929e77616a267916c0a13f2d5dc9294735e8bc23845ded"


/: (run (network host)
        (shell "opam pin add -yn ppx_deriving_yojson.dev './src/./'"))
[ppx_deriving_yojson.dev] synchronised (file:///Users/mac1000/src)
ppx_deriving_yojson is now pinned to file:///Users/mac1000/src (version dev)
2024-04-15 18:12.49 ---> saved as "21eb3bef4e48e740f9762343c2c2c22c50f9dccae6f2e541bde578fade79f6fd"


/: (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 ppx_deriving.5.2.1 ppxlib.0.32.0 result.1.5 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.1.2")


/: (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_yojson.dev $DEPS"))
+ /usr/local/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 ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.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...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-04-15 18:13.23 ---> saved as "6cbb0e58ee5883ab793e5ec09e4dbac212eaee6cbbf7601c2065b294dd676cc4"


/: (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...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
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
  - install yojson              2.1.2
  - install ppx_deriving        5.2.1
===== 13 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 ppx_deriving.5.2.1  (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)
-> retrieved yojson.2.1.2  (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 yojson.2.1.2
-> installed ppxlib.0.32.0
-> installed ppx_deriving.5.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-15 18:15.05 ---> saved as "1d4c36f383525e436d5879685b454358556394c636852157aa1e3cdd95c2f5fb"


/: (copy (src .) (dst ./src))
2024-04-15 18:15.07 ---> saved as "f8d827a22cd5bc8783b657de8883356d4e74bda6ac57a1a3844ccfbd04bc2753"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
.................................
Ran: 33 tests in: 2.11 seconds.
OK
2024-04-15 18:15.15 ---> saved as "ff0af1d7885e8c1b611a6d202ec1c675a8c3df26782d2c959bc6e512c8bb746e"
Job succeeded
2024-04-15 18:15.21: Job succeeded