Organisationskit-ty-katecamllzma39b1d4 (main)macos-homebrew-5.1_opam-2.1

macos-homebrew-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-04-05 08:28.16: New job: test kit-ty-kate/camllzma https://github.com/kit-ty-kate/camllzma.git#refs/heads/main (39b1d49cd26494654efc753be2728a9d86a2c6b4) (macos-x86_64:macos-homebrew-5.1_opam-2.1)
Base: macos-homebrew-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/kit-ty-kate/camllzma.git" -b "main" && cd "camllzma" && git reset --hard 39b1d49c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.1
# macos-homebrew-5.1_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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 camllzma.opam ./src/./
RUN opam pin add -yn camllzma.dev './src/./'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y camllzma.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-04-05 08:28.16: Using cache hint "kit-ty-kate/camllzma-macos-macos-homebrew-ocaml-5.1-macos-homebrew-5.1_opam-2.1-4595d5da395cc14f89f0d479400e7bf4"
2024-04-05 08:28.16: Using OBuilder spec:
((from macos-homebrew-ocaml-5.1)
 (comment macos-homebrew-5.1_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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src camllzma.opam) (dst ./src/./))
 (run (network host)
      (shell "opam pin add -yn camllzma.dev './src/./'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")
 (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 camllzma.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-04-05 08:28.16: Waiting for resource in pool OCluster
2024-04-05 11:41.58: Waiting for worker…
2024-04-05 18:49.30: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at 39b1d49 Improve the interface


(from macos-homebrew-ocaml-5.1)
2024-04-05 18:49.31 ---> using "b7b1005f775d216bee3ed8ddea7a5cf967981ce80479def84cf765e6fa9c281f" from cache


/: (comment macos-homebrew-5.1_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-04-05 18:49.32 ---> using "22cd16a64c632695859fdcedd94c70c4cc08c65c5ac152872708c4f22bdb6b91" 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-04-05 18:49.32 ---> using "a88b721b113bbcb0b1d9c9d9953be1d371de01973789d03f702acf5d676e7e9e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-05 18:49.33 ---> using "b9cb7a7e67e401d6d05e669cb4a23e6bbd1c29e9a607e1e5d301dc2a9918b0c9" 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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   3505e93828..9cbee1880f  master     -> origin/master
950c52962d [new release] dune (15 packages) (3.15.0)


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


Constructing initial basis...
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-04-05 18:49.33 ---> using "0ea9a6b50390f403ac1dd41cfa63dbb6d68ccd87acf9621db88349b7f7a3f372" from cache


/: (copy (src camllzma.opam) (dst ./src/./))
2024-04-05 18:49.36 ---> saved as "40b03d8d0c1f4571c684471b2154bf3b5a9c3762eaa34e42d6562b292098e959"


/: (run (network host)
        (shell "opam pin add -yn camllzma.dev './src/./'"))
Package camllzma does not exist, create as a NEW package? [Y/n] y
[camllzma.dev] synchronised (file:///Users/mac1000/src)
camllzma is now pinned to file:///Users/mac1000/src (version dev)
2024-04-05 18:49.46 ---> saved as "05a8cc57d1cb6c7dc30ecc6a43d4a89a597904666b8cea83189d062640c12d40"


/: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-liblzma.1 conf-pkg-config.3 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")


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


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[camllzma.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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 vertices


The following system packages will first need to be installed:
    pkg-config xz


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/brew "install" "pkg-config" "xz"
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ac691fc7ab8ecffba32a837e7197101d271474a3a84cfddcc30c9fd6763ab3c6--pkg-config-0.29.2_3.bottle_manifest.json
- ==> Fetching pkg-config
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/blobs/sha256:421571f340277c62c5cc6fd68737bd7c4e085de113452ea49b33bcd46509bb12
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/c5b6da58fb5d679eeb1765833596e7394625255fb46b165955fc4c4de746080e--pkg-config--0.29.2_3.sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.6
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b2cc4077807c100af6e0253f51d186f187ff55165638cbe3a4aa16d1c4762660--xz-5.4.6.bottle_manifest.json
- ==> Fetching xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:139fcf6d46fb85d3693f5d7452a37ec5f50f17b5ef044ac96a2c7deccb7983b4
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/43f3e389ca6041ad27899272abc383096ddb15ec4c51b83d5873dbc44829cabe--xz--5.4.6.sonoma.bottle.tar.gz
- ==> Pouring pkg-config--0.29.2_3.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 655.3KB
- ==> Running `brew cleanup pkg-config`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring xz--5.4.6.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/xz/5.4.6: 163 files, 2.5MB
- ==> Running `brew cleanup xz`...
2024-04-05 18:50.17 ---> saved as "f9982bc6f3134a51d5e651bc089c358ab223b0e2396ddf78d16e6920df80cb67"


/: (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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 6 + 5 = 11 vertices
The following actions will be performed:
  - install dune              3.15.0
  - install conf-pkg-config   3
  - install csexp             1.5.2
  - install conf-liblzma      1
  - install dune-configurator 3.15.0
===== 5 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune-configurator.3.15.0  (cached)
-> installed conf-pkg-config.3
-> retrieved dune.3.15.0  (cached)
-> installed conf-liblzma.1
-> retrieved csexp.1.5.2  (cached)
-> installed dune.3.15.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-05 18:51.44 ---> saved as "6d45d95fbb9eaa31936caa4d3421deebacf49537aaf2034ddd3aef86247028a8"


/: (copy (src .) (dst ./src))
2024-04-05 18:51.47 ---> saved as "2fe6b8150da231fe82c4b3547879b9b9274074801441ad210d01a417ef823b03"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.1.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.test.eobjs/byte -I src/.camllzma.objs/byte -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 29, characters 10-23:
29 |   let e = Lzma2.encoder ~bufsize:1024 Lzma2.PRESET_DEFAULT Lzma2.CHECK_CRC64 in
               ^^^^^^^^^^^^^
Error: Unbound value Lzma2.encoder
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -I/usr/local/Cellar/xz/5.4.6/include -g -I /Users/mac1000/.opam/5.1.1/lib/ocaml -o liblzma.o -c liblzma.c)
liblzma.c:210:50: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        str = caml_alloc_initialized_string(len, strm->outbuf);
                                                 ^~~~~~~~~~~~
/Users/mac1000/.opam/5.1.1/lib/ocaml/caml/alloc.h:50:75: note: passing argument to parameter here
CAMLextern value caml_alloc_initialized_string (mlsize_t len, const char *);
                                                                          ^
1 warning generated.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-05 18:51.54: Job failed: Failed: Build failed