2024-04-30 08:44.16: New job: test stedolan/malfunction https://github.com/stedolan/malfunction.git#refs/heads/master (571cd8611f24986c41c5815f13c679f347477314) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.1)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/stedolan/malfunction.git" -b "master" && cd "malfunction" && git reset --hard 571cd861
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 malfunction.opam ./src/./
RUN opam pin add -yn malfunction.dev './src/./'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-gmp.4 cppo.1.6.9 dune.3.15.2 dune-build-info.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 omd.2.0.0~alpha4 topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 zarith.1.13"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y malfunction.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-30 08:44.16: Using cache hint "stedolan/malfunction-macos-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.1-028789a86549b22473726e5d21f85974"
2024-04-30 08:44.16: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src malfunction.opam) (dst ./src/./))
(run (network host)
(shell "opam pin add -yn malfunction.dev './src/./'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-gmp.4 cppo.1.6.9 dune.3.15.2 dune-build-info.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 omd.2.0.0~alpha4 topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 zarith.1.13")
(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 malfunction.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-30 08:44.16: Waiting for resource in pool OCluster
2024-04-30 15:04.29: Waiting for worker…
2024-04-30 17:11.08: Got resource from pool OCluster
Building on m1-worker-02
Initialized empty Git repository in /private/var/lib/ocluster-worker/git/malfunction.git-ba6468a60adb9e93409ce934a25d54c8a5325e90/.git/
HEAD is now at 571cd86 Support for -package and -dontlink in linking of output files (#38)
(from macos-homebrew-ocaml-4.14)
2024-04-30 17:11.09 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_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-04-30 17:11.09 ---> 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-30 17:11.09 ---> 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-30 17:11.09 ---> 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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
b530f3bbd2..e90e14059c master -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)
<><> 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-30 17:11.09 ---> using "4a646ae2cb5f14aae7c83b3016a2084a45899eebaebbe364eddbdc8edd8293bd" from cache
/: (copy (src malfunction.opam) (dst ./src/./))
2024-04-30 17:11.10 ---> saved as "985a23adf35a84c5fbbd734a99bb454d5a66dc7446ae2b07cf10e49c04c5d078"
/: (run (network host)
(shell "opam pin add -yn malfunction.dev './src/./'"))
[malfunction.dev] synchronised (file:///Users/mac1000/src)
malfunction is now pinned to file:///Users/mac1000/src (version dev)
2024-04-30 17:11.17 ---> saved as "2992e73068356285e6f633ba505f9070b4ad8313491421265e8629fd44af611b"
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-gmp.4 cppo.1.6.9 dune.3.15.2 dune-build-info.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 omd.2.0.0~alpha4 topkg.1.0.7 uucp.15.1.0 uunf.15.1.0 uutf.1.0.3 zarith.1.13")
/: (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 malfunction.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[malfunction.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...
The following system packages will first need to be installed:
gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /opt/homebrew/bin/brew "install" "gmp"
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
- ==> Fetching gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:78e4f40cba6419cf7e2d81e9c945d1e93744511bd5230bdfac1b69ed894914b4
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/96a5c6ba7b30c6f2734be44067ba66ef0de5e0973c913659c7b555a4b063029c--gmp--6.3.0.arm64_sonoma.bottle.tar.gz
- ==> Pouring gmp--6.3.0.arm64_sonoma.bottle.tar.gz
- 🍺 /opt/homebrew/Cellar/gmp/6.3.0: 21 files, 3.3MB
- ==> Running `brew cleanup gmp`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2024-04-30 17:11.42 ---> saved as "a51464be5e5a34ea1826dbe05f9060a889e01b41e5df115e90fc211af33b649c"
/: (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...
The following actions will be performed:
- install ocamlbuild 0.14.3
- install dune 3.15.2
- install conf-gmp 4
- install ocamlfind 1.9.6
- install dune-build-info 3.15.2
- install cppo 1.6.9
- install zarith 1.13
- install topkg 1.0.7
- install uutf 1.0.3
- install uunf 15.1.0
- install uucp 15.1.0
- install omd 2.0.0~alpha4
===== 12 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune-build-info.3.15.2 (cached)
-> installed conf-gmp.4
-> retrieved dune.3.15.2 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved omd.2.0.0~alpha4 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uucp.15.1.0 (cached)
-> retrieved uunf.15.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved zarith.1.13 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed uunf.15.1.0
-> installed dune.3.15.2
-> installed cppo.1.6.9
-> installed dune-build-info.3.15.2
-> installed uucp.15.1.0
-> installed omd.2.0.0~alpha4
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 17:12.46 ---> saved as "20853bee69f175eab40a433c17b08799a0b577a04851443a778f1cb7f1ff8a2f"
/: (copy (src .) (dst ./src))
2024-04-30 17:12.47 ---> saved as "64972da964969df3cda3f1f0fe606718b9038cf4a8934008131259f2a6eb56e7"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test_cli/dune", line 1, characters 0-118:
1 | (rule
2 | (targets test.log test.expect)
3 | (deps test.sh (source_tree .) (package malfunction))
4 | (action (run ./test.sh)))
(cd _build/default/test_cli && ./test.sh)
Command exited with code 2.
(cd _build/default/examples && ./primrec.exe)
interpreted: 1.13 secs
compiled: 0.14 secs
File "test/dune", line 7, characters 0-140:
7 | (alias
8 | (name runtest)
9 | (deps (:prog test.exe) ../docs/spec.md (glob_files ../test/*.test))
10 | (action (run %{prog} ../docs/spec.md ../test)))
(cd _build/default/test && ./test.exe ../docs/spec.md ../test)
../docs/spec.md:
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md:0: crash: Link error
../docs/spec.md: [0/13] tests passed
../test/factorial.test:
../test/factorial.test:3: crash: Link error
../test/factorial.test: [0/1] tests passed
../test/conversions.test:
../test/conversions.test:1: crash: Link error
../test/conversions.test:4: crash: Link error
../test/conversions.test:8: crash: Link error
../test/conversions.test:12: crash: Link error
../test/conversions.test:17: crash: Link error
../test/conversions.test:21: crash: Link error
../test/conversions.test: [0/6] tests passed
../test/prim.test:
../test/prim.test:1: crash: Link error
../test/prim.test: [0/1] tests passed
../test/vector.test:
../test/vector.test:1: crash: Link error
../test/vector.test:11: crash: Link error
../test/vector.test:14: crash: Link error
../test/vector.test: [0/3] tests passed
../test/float.test:
../test/float.test:1: crash: Link error
../test/float.test:10: crash: Link error
../test/float.test:12: crash: Link error
../test/float.test:13: crash: Link error
../test/float.test:14: crash: Link error
../test/float.test:15: crash: Link error
../test/float.test:17: crash: Link error
../test/float.test:25: crash: Link error
../test/float.test: [0/8] tests passed
../test/shifts.test:
../test/shifts.test:1: crash: Link error
../test/shifts.test:2: crash: Link error
../test/shifts.test:3: crash: Link error
../test/shifts.test:7: crash: Link error
../test/shifts.test:11: crash: Link error
../test/shifts.test:13: crash: Link error
../test/shifts.test:14: crash: Link error
../test/shifts.test:15: crash: Link error
../test/shifts.test:18: crash: Link error
../test/shifts.test:19: crash: Link error
../test/shifts.test:20: crash: Link error
../test/shifts.test:23: crash: Link error
../test/shifts.test:24: crash: Link error
../test/shifts.test:25: crash: Link error
../test/shifts.test:27: crash: Link error
../test/shifts.test:28: crash: Link error
../test/shifts.test:29: crash: Link error
../test/shifts.test:30: crash: Link error
../test/shifts.test: [0/18] tests passed
../test/lazy.test:
../test/lazy.test:1: crash: Link error
../test/lazy.test:9: crash: Link error
../test/lazy.test:18: crash: Link error
../test/lazy.test:26: crash: Link error
../test/lazy.test:34: crash: Link error
../test/lazy.test: [0/5] tests passed
../test/evalorder.test:
../test/evalorder.test:1: crash: Link error
../test/evalorder.test:8: crash: Link error
../test/evalorder.test:19: crash: Link error
../test/evalorder.test: [0/3] tests passed
../test/basic.test:
../test/basic.test:1: crash: Link error
../test/basic.test:6: crash: Link error
../test/basic.test:9: crash: Link error
../test/basic.test:12: crash: Link error
../test/basic.test:15: crash: Link error
../test/basic.test:18: crash: Link error
../test/basic.test: [0/6] tests passed
Some tests failed
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
ocamlfind: Package `malfunction_test_exec.cmx' not found
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-30 17:12.56: Job failed: Failed: Build failed