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

macos-homebrew-4.14_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-4.14_opam-2.1)
Base: macos-homebrew-ocaml-4.14
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-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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-macos-homebrew-4.14_opam-2.1-ac12feeeca96f70711066f72c21c3642"
2024-04-05 08:28.16: 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 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:42.10: Waiting for worker…
2024-04-05 18:49.48: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at 39b1d49 Improve the interface


(from macos-homebrew-ocaml-4.14)
2024-04-05 18:49.49 ---> 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-04-05 18:49.50 ---> 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-04-05 18:49.51 ---> using "0525a69f67d7dcc5812c572fe55aa709891b6884e539fc956e1641dd42758a4d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.1.0
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-05 18:49.51 ---> 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 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
   b530f3bbd2..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
  - ocaml-config.3
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.52 ---> using "d1a3df57dc1beac25537d217aefa303712cc5c349b7434e7e19ffd6d3fb27cd6" from cache


/: (copy (src camllzma.opam) (dst ./src/./))
2024-04-05 18:49.54 ---> saved as "ef5b6839579c3dbb5288fd0315323b24bc2b1c3e7ac98fa18287c029b76ad398"


/: (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:50.05 ---> saved as "171d877e428ce48310c450b92cde662b2bf35a28b423dc5ad6cdfd31d778886f"


/: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 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 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 = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 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`...
- Removing: /Users/mac1000/Library/Caches/Homebrew/xz_bottle_manifest--5.6.1... (7.5KB)
- Removing: /Users/mac1000/Library/Caches/Homebrew/xz--5.6.1... (671.3KB)
2024-04-05 18:50.36 ---> saved as "eae8ef7cc84d75bc1bff0869ce6f595f440ac5fcbeaad3fde58781adad67fcef"


/: (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 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 = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 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:52.04 ---> saved as "65e07b061497ea9abefab425c63e3fa5b83ac85c98de18c5e09358628848c66a"


/: (copy (src .) (dst ./src))
2024-04-05 18:52.06 ---> saved as "8f3efcfe83e403b4a688115633610b32f71596c8a9dd552415f2c4cc1170181c"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/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/4.14.2/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/4.14.2/lib/ocaml/caml/alloc.h:38: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:52.13: Job failed: Failed: Build failed