Organisationsocaml-ppxppx_import70c312 (master)macos-homebrew-4.14_arm64_opam-2.2

macos-homebrew-4.14_arm64_opam-2.2

Logs

Show full logs
2024-10-07 17:18.28: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (70c3120f3348b01a929873040fb589137655c6d7) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppx_import.git" -b "master" && cd "ppx_import" && git reset --hard 70c3120f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/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 7500e78304d59a8a297f7dc73a41b5de63ed2143 || git fetch origin master) && git reset -q --hard 7500e78304d59a8a297f7dc73a41b5de63ed2143 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_import.opam ./src/./
RUN opam pin add -yn ppx_import.dev './src/./'
ENV DEPS="base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 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.2 --depext-only -y ppx_import.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-10-07 17:18.28: Using cache hint "ocaml-ppx/ppx_import-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.2-2a59d883025c30a3d042e906313127b3"
2024-10-07 17:18.28: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.2 ~/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 7500e78304d59a8a297f7dc73a41b5de63ed2143 || git fetch origin master) && git reset -q --hard 7500e78304d59a8a297f7dc73a41b5de63ed2143 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ppx_import.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn ppx_import.dev './src/./'"))
 (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 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.2 --depext-only -y ppx_import.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-10-07 17:18.28: Waiting for resource in pool OCluster
2024-10-07 17:18.28: Waiting for worker…
2024-10-07 17:26.29: Got resource from pool OCluster
Building on m1-worker-02
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/ppx_import.git-cbc841e2b52a0e6098737a08ca43f7a3f54a935c/.git/
HEAD is now at 70c3120 Merge pull request #94 from kit-ty-kate/ocaml-5.2

(from macos-homebrew-ocaml-4.14)
2024-10-07 17:26.31 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_arm64_opam-2.2)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-10-07 17:26.31 ---> using "0fc88bc096429f8087d29338c802b1e4d45e761b825e45695066961067369beb" 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.

This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-10-07 17:26.31 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.1
2024-10-07 17:26.31 ---> using "07fa1eab191e27fa6a90116da06eed20ebaaf79e4c99d1f9adbbe0baf8e3f1a3" 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 7500e78304d59a8a297f7dc73a41b5de63ed2143 || git fetch origin master) && git reset -q --hard 7500e78304d59a8a297f7dc73a41b5de63ed2143 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5e7a27da27..570dec2f61  master     -> origin/master
7500e78304 Merge pull request #26670 from NathanReb/release-ppx_deriving-v6.0.3

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository

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.4.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-10-07 17:26.31 ---> using "f096c0149c13718f84198441770c7441861440122a555345230692bf0d571e9a" from cache

/: (copy (src ppx_import.opam) (dst ./src/./))
2024-10-07 17:26.32 ---> saved as "21016e522664b2f3f1bc11b756f5ffd4b42c6656d598635356ee2fc215d0f9d8"

/: (run (network host)
        (shell "opam pin add -yn ppx_import.dev './src/./'"))
[ppx_import.dev] synchronised (file:///Users/mac1000/src)
ppx_import is now pinned to file:///Users/mac1000/src (version dev)
2024-10-07 17:26.44 ---> saved as "9e797d5510fd4c24c0ca7c864c32879fd8cc981f11d6be360441e40ce804188a"

/: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-arm64.1 host-system-other.1 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.33.0 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.2 --depext-only -y ppx_import.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_import.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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[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).
2024-10-07 17:27.02 ---> saved as "d5e6c5df63a718fd8b8a5846f214b62a32846dcb4aa228ac730d29840667fc6a"

/: (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 host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-arm64 is already installed (current version is 1).
[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).
The following actions will be performed:
=== install 17 packages
  - install base                v0.16.3
  - install conf-bash           1
  - install cppo                1.7.0
  - install csexp               1.5.2
  - install dune                3.16.0
  - install dune-configurator   3.16.0
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.6
  - install ounit               2.2.7
  - install ounit2              2.2.7
  - install ppx_derivers        1.2.1
  - install ppx_deriving        6.0.3
  - install ppx_sexp_conv       v0.16.0
  - install ppxlib              0.33.0
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-bash.1
-> retrieved cppo.1.7.0  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed cppo.1.7.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed dune-configurator.3.16.0
-> installed base.v0.16.3
-> installed ppxlib.0.33.0
-> installed ppx_deriving.6.0.3
-> installed ppx_sexp_conv.v0.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-07 17:27.54 ---> saved as "caa8ef169bb06289368e83bf27a584847894f884ccba305be0dab70f02c0d170"

/: (copy (src .) (dst ./src))
2024-10-07 17:27.55 ---> saved as "8823b7d8280d956ac756d51c91305f8666758caf3da2edd388225de478d8b259"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test/ppx_deriving && ./test_ppx_import.exe)
....
Ran: 4 tests in: 0.21 seconds.
OK
2024-10-07 17:27.59 ---> saved as "4e2bc36b6427b3a45cf569e17201cedc023ddfd2ad3f3a3852c0b03e5c7d620f"
Job succeeded
2024-10-07 17:28.03: Job succeeded