Organisationsocaml-ppxppx_import70c312 (master)macos-homebrew-5.2_opam-2.2

macos-homebrew-5.2_opam-2.2

Logs

Show full logs
2024-10-21 22:36.32: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (70c3120f3348b01a929873040fb589137655c6d7) (macos-x86_64:macos-homebrew-5.2_opam-2.2)
Base: macos-homebrew-ocaml-5.2
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-5.2
# macos-homebrew-5.2_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 67376e553ef7a233e448f3761011f6992336d553 || git fetch origin master) && git reset -q --hard 67376e553ef7a233e448f3761011f6992336d553 && 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.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 seq.base sexplib0.v0.17.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-21 22:36.32: Using cache hint "ocaml-ppx/ppx_import-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.2-e2355deacac8ee12459f120ae882685c"
2024-10-21 22:36.32: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_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 67376e553ef7a233e448f3761011f6992336d553 || git fetch origin master) && git reset -q --hard 67376e553ef7a233e448f3761011f6992336d553 && 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.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 seq.base sexplib0.v0.17.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-21 22:36.32: Waiting for resource in pool OCluster
2024-10-21 22:36.32: Waiting for worker…
2024-10-22 02:00.07: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at 70c3120 Merge pull request #94 from kit-ty-kate/ocaml-5.2

(from macos-homebrew-ocaml-5.2)
2024-10-22 02:00.08 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache

/: (comment macos-homebrew-5.2_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-22 02:00.08 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" 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-22 02:00.08 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.2.1
2024-10-22 02:00.09 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" 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 67376e553ef7a233e448f3761011f6992336d553 || git fetch origin master) && git reset -q --hard 67376e553ef7a233e448f3761011f6992336d553 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   5e7a27da27..67376e553e  master     -> origin/master
67376e553e Merge pull request #26770 from kit-ty-kate/ppxlib_jane-ocaml-5.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
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-22 02:00.09 ---> using "713b2ef88bb94e3f4c0a3add24dae4aa5d66d604719a93d7b3b275df8dd83c75" from cache

/: (copy (src ppx_import.opam) (dst ./src/./))
2024-10-22 02:00.11 ---> saved as "67c502b9bc0390a10fd6c315fd4036c36be2283e05635aed50bd3cdebc290cb4"

/: (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-22 02:00.25 ---> saved as "89d0cf36d2b618a1c38f709fdee37421d31e52576de79f3f5f70efad5af305c5"

/: (env DEPS "base.v0.17.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.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.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 seq.base sexplib0.v0.17.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"))
+ /usr/local/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-10-22 02:00.56 ---> saved as "960a147853b8d7a2eea16403265c65a0e594ab0ba543a7553b89568ab624bbf4"

/: (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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 18 packages
  - install base                    v0.17.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.17.0
  - install ocaml_intrinsics_kernel v0.17.1
  - 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.17.0
  - install ppxlib                  0.33.0
  - install ppxlib_jane             v0.17.0
  - install seq                     base
  - install sexplib0                v0.17.0
  - install stdlib-shims            0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (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.17.0  (cached)
-> retrieved ppxlib_jane.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.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.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.16.0
-> installed base.v0.17.1
-> installed ppxlib.0.33.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_deriving.6.0.3
-> installed ppx_sexp_conv.v0.17.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-22 02:02.32 ---> saved as "3f4aff65a6d3771616c23ab240ddfc16f6d03c81fe270f09aad3d2fb00fba9e5"

/: (copy (src .) (dst ./src))
2024-10-22 02:02.34 ---> saved as "4fcd40c310f73cd7aec0e94833ff33974a631a1cf96095b8344ab3c9e6a85560"

/: (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.11 seconds.
OK
2024-10-22 02:02.40 ---> saved as "bb6125ba18063dff9e4c5eeff73b2e05deaffa37af75bd14270406be7354df57"
Job succeeded
2024-10-22 02:02.51: Job succeeded