2024-06-17 14:04.41: 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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-17 14:04.41: Using cache hint "patricoferris/ocaml-jansson-macos-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.1-cbbc4de413cd3f9fadc15ec5455abd43" 2024-06-17 14:04.41: 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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-17 14:04.41: Waiting for resource in pool OCluster 2024-06-17 22:12.03: Waiting for worker… 2024-06-17 23:49.59: Got resource from pool OCluster Building on m1-worker-01 All commits already cached Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02' HEAD is now at 42cb429 Install so versions Synchronizing submodule url for 'vendor/jansson' Cleared directory 'vendor/jansson' Submodule 'vendor/jansson' (https://github.com/akheron/jansson) unregistered for path 'vendor/jansson' Submodule 'vendor/jansson' (https://github.com/akheron/jansson) registered for path 'vendor/jansson' Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02' (from macos-homebrew-ocaml-5.2) 2024-06-17 23:49.59 ---> 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-17 23:50.00 ---> 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-17 23:50.00 ---> 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.5 2024-06-17 23:50.00 ---> 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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 0dc68a8b92..e06bf2b8c3 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files). Constructing initial basis... The following actions will be performed: - recompile ocaml-base-compiler 5.2.0 [upstream or system changes] - install host-system-other 1 - recompile ocaml-options-vanilla 1 [upstream or system changes] - install host-arch-arm64 1 - recompile ocaml-config 3 [upstream or system changes] - recompile ocaml 5.2.0 [uses ocaml-base-compiler, ocaml-config] - recompile base-domains base [uses ocaml] - recompile base-nnp base [uses base-domains] ===== 2 to install | 6 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> removed ocaml-options-vanilla.1 -> installed host-arch-arm64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> removed base-nnp.base -> removed base-domains.base -> removed ocaml.5.2.0 -> removed ocaml-config.3 -> removed ocaml-base-compiler.5.2.0 -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env) to update the current shell environment 2024-06-17 23:50.01 ---> using "3bdea3048234c3fadb547255161b518832c8e26de85ff6b550ff3f0224147673" from cache /: (copy (src jansson.opam) (dst ./src/./)) 2024-06-17 23:50.02 ---> saved as "141db6832dda44d41467c0df3c6a7cab43888c03ac0de2de8da4358325f6b5f5" /: (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-17 23:50.12 ---> saved as "4e0bc90a307799e20eee98950002ed500dc86e669217208a833c265650841134" /: (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). Constructing initial basis... 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.5 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a8fcffb61962cd96f3878cd149ea300ca22f69d835365269d15739776c6b1a26--cmake-3.29.5.bottle_manifest.json - ==> Fetching cmake - ==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:9acc2164efcf035d3365d32b0e55294a2af317861d49a574e0f84050daa06f49 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b803dc29f9d17e0a0d6804f0ea47411eadc0ee455cfee787b67bd6ae1855e168--cmake--3.29.5.arm64_sonoma.bottle.tar.gz - ==> Pouring cmake--3.29.5.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.5: 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-17 23:50.32 ---> saved as "192439286c519c377aeda69a8c43454cb916f58b9a6724e91c3ca4ca430ffae3" /: (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). Constructing initial basis... 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 bigarray-compat.1.1.0 (cached) -> retrieved astring.0.8.5 (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 topkg.1.0.7 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved dune.3.16.0 (cached) -> retrieved dune-configurator.3.16.0 (cached) -> installed ocamlbuild.0.14.3 -> 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 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 bigarray-compat.1.1.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-17 23:51.41 ---> saved as "551818563bfe1e7de3be44169b7a7f9a8dcdf94e34d8fe311da9b3720ae672bf" /: (copy (src .) (dst ./src)) 2024-06-17 23:51.42 ---> saved as "f967bb88c977b5bd9825ad3581a5ccbfbdfbf7850bbf520e960c0aeb5d7638b7" /: (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-17 23:51.48: Job failed: Failed: Build failed