Organisationspatricoferrisocaml-jansson42cb42 (main)macos-homebrew-5.2_arm64_opam-2.1

macos-homebrew-5.2_arm64_opam-2.1

Link Copied
Code Copied

Logs

2024-06-29 08:29.06: New job: test patricoferris/ocaml-jansson https://github.com/patricoferris/ocaml-jansson.git#refs/heads/main (42cb429e722ec64807d75ae401758eb666c9d189) (macos-arm64:macos-homebrew-5.2_arm64_opam-2.1)
Base: macos-homebrew-ocaml-5.2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-jansson.git" -b "main" && cd "ocaml-jansson" && git reset --hard 42cb429e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_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 fe44b9723dd9782eeec338ba3a5b1423d051d892 || git fetch origin master) && git reset -q --hard fe44b9723dd9782eeec338ba3a5b1423d051d892 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 jansson.opam ./src/./
RUN opam pin add -yn jansson.dev './src/./'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-arm64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y jansson.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-06-29 08:29.06: Using cache hint "patricoferris/ocaml-jansson-macos-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.1-cbbc4de413cd3f9fadc15ec5455abd43"
2024-06-29 08:29.06: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_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 fe44b9723dd9782eeec338ba3a5b1423d051d892 || git fetch origin master) && git reset -q --hard fe44b9723dd9782eeec338ba3a5b1423d051d892 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src jansson.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn jansson.dev './src/./'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-arm64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 jansson.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-06-29 08:29.06: Waiting for resource in pool OCluster
2024-06-29 10:12.11: Waiting for worker…
2024-06-29 15:36.26: Got resource from pool OCluster
Building on m1-worker-01
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/ocaml-jansson.git-426bdf87ff66afb9a33da124d9f283870719ed77/.git/
HEAD is now at 42cb429 Install so versions
error: could not lock config file .git/modules/vendor/jansson/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'vendor/jansson'
Cleared directory 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) registered for path 'vendor/jansson'
Cloning into '/private/var/lib/ocluster-worker/git/ocaml-jansson.git-426bdf87ff66afb9a33da124d9f283870719ed77/vendor/jansson'...
Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02'


(from macos-homebrew-ocaml-5.2)
2024-06-29 15:36.36 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache


/: (comment macos-homebrew-5.2_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-06-29 15:36.36 ---> using "6315dae0772f39c88ebf2aad05a0508b7387f4993cd36bb9cd299cbcc3542ece" 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-06-29 15:36.36 ---> using "3da9b05e9b357010706c9361ea401a2b6872addc078e3c650340484aca6de20f" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-29 15:36.37 ---> using "fd0a29c7228c0de59ac2483ba2205b71b99c394f444b57a045b21a2bdf7b9c5f" 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 fe44b9723dd9782eeec338ba3a5b1423d051d892 || git fetch origin master) && git reset -q --hard fe44b9723dd9782eeec338ba3a5b1423d051d892 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   795f80f1b5..75e85d5bb7  master     -> origin/master
fe44b9723d Add Windows/Cygwin depexts for tools


<><> 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.3.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-06-29 15:36.37 ---> using "a2b5f3f97f1567cead7e6f417d507dfd2a2b263f2a7fc865f05513cef07c6b34" from cache


/: (copy (src jansson.opam) (dst ./src/./))
2024-06-29 15:36.38 ---> saved as "284a4e1da9a8d5d1988d9ed6814b75d490f2e5fe2e8204a5abd79890c60b2d13"


/: (run (network host)
        (shell "opam pin add -yn jansson.dev './src/./'"))
Package jansson does not exist, create as a NEW package? [Y/n] y
[jansson.dev] synchronised (file:///Users/mac1000/src)
jansson is now pinned to file:///Users/mac1000/src (version dev)
2024-06-29 15:36.53 ---> saved as "635cd044d4425805043be141a63b5f1d16552dcac5e2e7469941d83a8abfc5fa"


/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-arm64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/: (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 jansson.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[jansson.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-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-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 system packages will first need to be installed:
    cmake


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /opt/homebrew/bin/brew "install" "cmake"
- Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
- ==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.29.6
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/bfcab89dac9777cc697e8aa7a40f4962b705f7686bc0bb01b4db3b1a97047150--cmake-3.29.6.bottle_manifest.json
- ==> Fetching cmake
- ==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:53b864bcbb0c0aac959cde14af300fb104bb3c434777457ad9d5923e717cf4fd
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/d18aca262db4b4877492e68dc678280e116d7a33a2ffd7ca0e2a25264180ec7b--cmake--3.29.6.arm64_sonoma.bottle.tar.gz
- ==> Pouring cmake--3.29.6.arm64_sonoma.bottle.tar.gz
- ==> Caveats
- To install the CMake documentation, run:
-   brew install cmake-docs
- 
- Bash completion has been installed to:
-   /opt/homebrew/etc/bash_completion.d
- 
- Emacs Lisp files have been installed to:
-   /opt/homebrew/share/emacs/site-lisp/cmake
- ==> Summary
- 🍺  /opt/homebrew/Cellar/cmake/3.29.6: 3,385 files, 55.4MB
- ==> Running `brew cleanup cmake`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2024-06-29 15:37.13 ---> saved as "49e85b709b3c222c2b31522e69710a5fc9514576dd883152f9447811e084ec78"


/: (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-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-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 ocamlbuild         0.14.3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install conf-cmake         1
  - install stdlib-shims       0.3.0
  - install sexplib0           v0.17.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install bigarray-compat    1.1.0
  - install topkg              1.0.7
  - install re                 1.11.0
  - install integers           0.7.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install ctypes             0.22.0
  - install jsonm              1.0.2
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install hex                1.5.0
  - install ezjsonm            1.3.0
===== 24 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cmake.1
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved ctypes.0.22.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed ocamlbuild.0.14.3
-> retrieved dune-configurator.3.16.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.16.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cstruct.6.2.0
-> installed integers.0.7.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.16.0
-> installed alcotest.1.7.0
-> installed ctypes.0.22.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-29 15:38.17 ---> saved as "760b4f79e1c9f734b871aa6c68889eccb1b6a7c57611dd2118482cbbf34f00c2"


/: (copy (src .) (dst ./src))
2024-06-29 15:38.18 ---> saved as "91bfb4061e0064a040ce9b39feff2f5407ac9f21c4d89a6dea5b2e72faa2d9bb"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 2, characters 14-17:
2 | (using ctypes 0.1)
                  ^^^
Error: Version 0.1 of the ctypes extension has been deleted in Dune 3.11.
Please port this project to a newer version of the extension, such as 0.3.
Hint: You will also need to upgrade to (lang dune 3.7).
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-06-29 15:38.24: Job failed: Failed: Build failed