2024-06-17 12:38.13: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:debian-12-4.04_opam-2.1) Base: ocaml/opam@sha256:9b41a4565b9f278978b1fce14d25b8180edbeddcdead4562ea5ffeac94fb5f5a Opam project build To reproduce locally: git clone --recursive "https://github.com/mirage/Zarith.git" -b "zarith-1.13" && cd "Zarith" && git reset --hard 9de5ec36 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam@sha256:9b41a4565b9f278978b1fce14d25b8180edbeddcdead4562ea5ffeac94fb5f5a # debian-12-4.04_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src 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 zarith.opam ./ RUN opam pin add -yn zarith.dev './' ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --depext-only -y zarith.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-06-17 12:38.13: Using cache hint "mirage/Zarith-ocaml/opam@sha256:9b41a4565b9f278978b1fce14d25b8180edbeddcdead4562ea5ffeac94fb5f5a-debian-12-4.04_opam-2.1-3fccc4e07dfacfc450b865b59eecdbd9" 2024-06-17 12:38.13: Using OBuilder spec: ((from ocaml/opam@sha256:9b41a4565b9f278978b1fce14d25b8180edbeddcdead4562ea5ffeac94fb5f5a) (comment debian-12-4.04_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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 zarith.opam) (dst ./)) (run (network host) (shell "opam pin add -yn zarith.dev './'")) (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y zarith.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2024-06-17 12:38.13: Waiting for resource in pool OCluster 2024-06-17 19:33.11: Waiting for worker… 2024-06-18 19:25.09: Got resource from pool OCluster Building on x86-bm-c10.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/Zarith.git-552a6ed06f1920b85bff3c34d2d8f06f7a1b9554/.git/ HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure) (from ocaml/opam@sha256:9b41a4565b9f278978b1fce14d25b8180edbeddcdead4562ea5ffeac94fb5f5a) 2024-06-18 19:26.13 ---> saved as "52eddacfde53c97efe8c4ffa90cd234ade0c5c822bb4e1ddd4cfa0f76114946e" /: (comment debian-12-4.04_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-06-18 19:26.13 ---> saved as "226d45e1d59594c55f108d67897bd3bb7da315ce1dabeab163ff32e127a62664" /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from 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. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-06-18 19:27.29 ---> saved as "7ce979f5426cee29ea1a519e0e30d47012000ee6b9e4c74685a686e58540fbe4" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-112-generic The OCaml toplevel, version 4.04.2 2.1.6 2024-06-18 19:27.29 ---> saved as "dfc2b7ff586fc74377602f61548e4792fbf191cc4d60bd02933250a627e5fb1e" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-06-18 19:27.30 ---> saved as "1a66fa8b17d6ddac13b9867ae48ce3a1854a0e9b9b851e1efb3cc7b753d1af48" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (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 c45f5bab71..5d6f1cf035 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository The following actions will be performed: - recompile ocaml-config 1 [upstream or system changes] - recompile ocaml 4.04.2 [uses ocaml-config] - recompile opam-depext 1.2.1-1 [uses ocaml] ===== 3 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.1 (cached) -> retrieved opam-depext.1.2.1-1 (cached) -> removed opam-depext.1.2.1-1 -> removed ocaml.4.04.2 [NOTE] While removing ocaml-config.1: not removing non-empty directories: - share -> removed ocaml-config.1 -> installed ocaml-config.1 -> installed ocaml.4.04.2 -> installed opam-depext.1.2.1-1 Done. <><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><> => opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead # Run eval $(opam env) to update the current shell environment 2024-06-18 19:29.11 ---> saved as "23fdc6b2b47656c92dbb8fb7741830ea8e38d59b2e73e1bee38187a5fb2df6cb" /src: (copy (src zarith.opam) (dst ./)) 2024-06-18 19:29.11 ---> saved as "d3c751048744cbfa23d1f99b1f70dfd3d0a70da00863d5799ffcfa2cd22f7601" /src: (run (network host) (shell "opam pin add -yn zarith.dev './'")) [zarith.dev] synchronised (file:///src) zarith is now pinned to file:///src (version dev) 2024-06-18 19:29.14 ---> saved as "7c6e1fc0be71f0b6710fdbc167a278c8def8bdc3625beb69d40d4a378897caf0" /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y zarith.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bookworm InRelease - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [160 kB] - Fetched 263 kB in 0s (572 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [zarith.dev] synchronised (no changes) [NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1). [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2). [NOTE] Package ocaml is already installed (current version is 4.04.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). The following system packages will first need to be installed: m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18735 files and directories currently installed.) - Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Setting up m4 (1.4.19-3) ... 2024-06-18 19:29.46 ---> saved as "35c4d5e9504432d4c6513e899c48cf34cc328bca64894a4a0c1acb006b43db2e" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1). [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2). [NOTE] Package ocaml is already installed (current version is 4.04.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). The following actions will be performed: - install conf-m4 1 - install ocamlfind 1.9.6 - install ocamlfind-secondary 1.9.6 - install dune 3.16.0 - install gmp 6.2.1-5 ===== 5 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.16.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> installed conf-m4.1 -> retrieved ocamlfind-secondary.1.9.6 (cached) -> retrieved gmp.6.2.1-5 (https://github.com/mirage/ocaml-gmp/releases/download/6.2.1-5/gmp-6.2.1-5.tbz) -> installed ocamlfind.1.9.6 -> installed ocamlfind-secondary.1.9.6 -> installed dune.3.16.0 -> installed gmp.6.2.1-5 Done. # Run eval $(opam env) to update the current shell environment 2024-06-18 19:31.41 ---> saved as "791fbde85cd2fa4c84005201bce35713314927229942071a8e40114c63a2483a" /src: (copy (src .) (dst /src)) 2024-06-18 19:31.41 ---> saved as "77dbc57e3aca06ba5752f551e54574012d37eb6076955bd9b9225f5e07479717" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/4.04/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -6-32-39 -g -I .zarith_top.objs/byte -I .zarith_top.objs/native -I /home/opam/.opam/4.04/lib/ocaml/compiler-libs -I .zarith.objs/byte -I .zarith.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .zarith_top.objs/native/zarith_top.cmx -c -impl zarith_top.ml) File "_none_", line 1: Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque (cd _build/default && /usr/bin/bash -e -u -o pipefail -c 'env CC="gcc -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC" LDFLAGS="-L/home/opam/.opam/4.04/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.04/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.04/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.04/lib/ocaml') binary ocaml: found in /home/opam/.opam/4.04/bin binary ocamlc: found in /home/opam/.opam/4.04/bin binary ocamldep: found in /home/opam/.opam/4.04/bin binary ocamlmklib: found in /home/opam/.opam/4.04/bin binary ocamldoc: found in /home/opam/.opam/4.04/bin binary gcc: found in /usr/bin binary ocamlopt: found in /home/opam/.opam/4.04/bin checking compilation with -I/home/opam/.opam/4.04/lib/gmp/: working include caml/mlvalues.h: found library dynlink.cmxa: found binary ocamlfind: found in /home/opam/.opam/4.04/bin OCaml's word size is 64 include gmp.h: found library gmp: found OCaml supports -bin-annot to produce documentation Using OCaml legacy C API custom operations detected configuration: native-code: yes dynamic linking: yes defines: -DZ_OCAML_LEGACY_CUSTOM_OPERATIONS -DHAS_GMP includes: -I/home/opam/.opam/4.04/lib/ocaml -I/home/opam/.opam/4.04/lib/gmp/ libraries: -lgmp linker options: -L/home/opam/.opam/4.04/lib/gmp/ C options: -I/home/opam/.opam/4.04/lib/gmp/ installation path: /home/opam/.opam/4.04/lib installation method findlib configuration successful! now type "make" to build then type "make install" or "sudo make install" to install 2024-06-18 19:31.44 ---> saved as "5a531215ab5c2ae2160aa78f97cc22e533654dd19f4be5932d7fa1bf1a4b48cb" Job succeeded 2024-06-18 19:31.44: Job succeeded