Organisationspatricoferrisocaml-jansson42cb42 (main)macos-homebrew-4.14_opam-2.1

macos-homebrew-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 14:04.41: New job: test patricoferris/ocaml-jansson https://github.com/patricoferris/ocaml-jansson.git#refs/heads/main (42cb429e722ec64807d75ae401758eb666c9d189) (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/patricoferris/ocaml-jansson.git" -b "main" && cd "ocaml-jansson" && git reset --hard 42cb429e
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 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-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-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_opam-2.1-67236f196191f60770afa918fb0c737b"
2024-06-17 14:04.41: 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 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-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-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-18 02:22.12: Waiting for worker…
2024-06-18 04:44.59: Got resource from pool OCluster
Building on i7-worker-02
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-4.14)
2024-06-18 04:45.00 ---> 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-06-18 04:45.01 ---> 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-06-18 04:45.02 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-06-18 04:45.02 ---> 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 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:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1      [upstream or system changes]
  - recompile ocaml-base-compiler   4.14.2 [upstream or system changes]
  - recompile ocaml-config          2      [upstream or system changes]
  - recompile ocaml                 4.14.2 [uses ocaml-base-compiler, ocaml-config]
===== 2 to install | 4 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-18 04:45.03 ---> using "c8892a8dc034757fd755e78fd8a062509867cd46b19d740b1eea9f67853d4a1b" from cache


/: (copy (src jansson.opam) (dst ./src/./))
2024-06-18 04:45.05 ---> saved as "aa70528aa6713f01b7a1caf0fdba6a0b616f5624119c84f36dabb328f8bc0be8"


/: (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-18 04:45.21 ---> saved as "8a1c816e95b8944d0649dc024be0e2c1cfd537e59bb664efa8dfb8868d4cd4b0"


/: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.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-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"))
+ /usr/local/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 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-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-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 system packages will first need to be installed:
    cmake


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/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:6e0276f278c7bdc56968593451c9b3997005896cbba42add1b77201ac75a06ce
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/0e083f4095f2ed8da94334c84835aaf364554d11c79f327ceec406e4ba8680b0--cmake--3.29.5.sonoma.bottle.tar.gz
- ==> Pouring cmake--3.29.5.sonoma.bottle.tar.gz
- ==> Caveats
- To install the CMake documentation, run:
-   brew install cmake-docs
- 
- Bash completion has been installed to:
-   /usr/local/etc/bash_completion.d
- 
- Emacs Lisp files have been installed to:
-   /usr/local/share/emacs/site-lisp/cmake
- ==> Summary
- 🍺  /usr/local/Cellar/cmake/3.29.5: 3,385 files, 59.2MB
- ==> 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-18 04:45.59 ---> saved as "7d61ac392823d0805eff8780412e8f8a0623f238b1396ff563f3691efc9a76c6"


/: (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-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-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 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 ctypes.0.22.0  (cached)
-> retrieved cstruct.6.2.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)
-> 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 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-18 04:47.42 ---> saved as "efd1961bcb7ee9600f242e102f35e4ab55cd96dde725032af12d283fd9b9a710"


/: (copy (src .) (dst ./src))
2024-06-18 04:47.45 ---> saved as "3409b5ed2553d811c61170704b0638d38ed6c8f5c5f2b6cf7142518946b2e16b"


/: (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-18 04:47.51: Job failed: Failed: Build failed