Building on x86-bm-c18.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-08-04 21:36.16 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-08-04 21:36.16 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1")) 2024-08-04 21:36.16 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-08-04 21:36.16 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.2) to update the current shell environment 2024-08-04 21:36.16 ---> using "44557c519dcb0a98d2187ae082639613b6affcc04630a7fbe43979079c9518ed" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB] - Fetched 758 kB in 3s (227 kB/s) - Reading package lists... - 2024-08-04 21:36.16 ---> using "60e429f741cfa5b2c6876c6bc2125784d8047ba9ce99c12c9c2fbe936bb2acdb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"cstruct.3.3.0\"\ \nopam install -vy \"cstruct.3.3.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"cstruct.3.3.0\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) Nothing to do. [NOTE] cstruct.3.3.0 is not installed. The following actions will be performed: === install 6 packages - install cstruct 3.3.0 - install dune 3.16.0 [required by cstruct] - install num 1.5-1 [required by sexplib] - install parsexp v0.17.0 [required by sexplib] - install sexplib v0.17.0 [required by cstruct] - install sexplib0 v0.17.0 [required by sexplib] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/18: [cstruct.3.3.0: extract] Processing 2/18: [cstruct.3.3.0: extract] [dune.3.16.0: extract] Processing 3/18: [cstruct.3.3.0: extract] [dune.3.16.0: extract] [num.1.5-1: extract] -> retrieved num.1.5-1 (cached) Processing 3/18: [cstruct.3.3.0: extract] [dune.3.16.0: extract] Processing 4/18: [cstruct.3.3.0: extract] [dune.3.16.0: extract] [parsexp.v0.17.0: extract] [num: patch] applying num-in-findlib-dir.patch Processing 5/18: [cstruct.3.3.0: extract] [dune.3.16.0: extract] [parsexp.v0.17.0: extract] [num: patch] -> retrieved cstruct.3.3.0 (cached) Processing 5/18: [dune.3.16.0: extract] [parsexp.v0.17.0: extract] [num: patch] Processing 6/18: [dune.3.16.0: extract] [parsexp.v0.17.0: extract] [sexplib.v0.17.0: extract] [num: patch] -> retrieved parsexp.v0.17.0 (cached) Processing 6/18: [dune.3.16.0: extract] [sexplib.v0.17.0: extract] [num: patch] Processing 7/18: [dune.3.16.0: extract] [sexplib.v0.17.0: extract] [sexplib0.v0.17.0: extract] [num: patch] Processing 7/18: [dune.3.16.0: extract] [sexplib.v0.17.0: extract] [sexplib0.v0.17.0: extract] [num: make opam-modern] -> retrieved sexplib.v0.17.0 (cached) Processing 7/18: [dune.3.16.0: extract] [sexplib0.v0.17.0: extract] [num: make opam-modern] -> retrieved sexplib0.v0.17.0 (cached) Processing 7/18: [dune.3.16.0: extract] [num: make opam-modern] -> retrieved dune.3.16.0 (cached) Processing 7/18: [num: make opam-modern] Processing 8/18: [dune: ocaml 31] [num: make opam-modern] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "PROFILE=release" "opam-modern" (CWD=/home/opam/.opam/5.2/.opam-switch/build/num.1.5-1) - make -C src all - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/num.1.5-1/src' - ocamlc -ccopt -DBNG_ARCH_amd64 -c bng.c - ocamlc -ccopt -DBNG_ARCH_amd64 -c nat_stubs.c - ocamlmklib -oc nums bng.o nat_stubs.o - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml - ocamlmklib -o nums -oc nums -linkall int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo ratio.cmo num.cmo arith_status.cmo - cp ../toplevel/num_top_printers.mli ../toplevel/num_top.mli ../toplevel/num_top_printers.ml ../toplevel/num_top.ml . - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.mli - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.ml - ocamlc -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo - echo 'version = "1.6~dev"' > META.top - cat META.num-top.in >> META.top - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml - ocamlmklib -o nums -oc nums -linkall int_misc.cmx nat.cmx big_int.cmx arith_flags.cmx ratio.cmx num.cmx arith_status.cmx - ocamlopt -w +a-4-9-41-42-44-45-48 -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -I . -shared -o nums.cmxs nums.cmxa - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/num.1.5-1/src' - cp src/num-modern.install num.install -> compiled num.1.5-1 Processing 8/18: [dune: ocaml 31] -> installed num.1.5-1 Processing 9/18: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads stdune.ml - File "otherlibs/stdune/src/stdune.ml", line 1, characters 4-9: - Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context - Processing 9/18: [dune: ./_boot/dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 11/18: [sexplib0: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sexplib0" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/sexplib0.v0.17.0) -> compiled sexplib0.v0.17.0 -> installed sexplib0.v0.17.0 Processing 13/18: [parsexp: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "parsexp" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/parsexp.v0.17.0) -> compiled parsexp.v0.17.0 -> installed parsexp.v0.17.0 Processing 15/18: [sexplib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sexplib" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/sexplib.v0.17.0) -> compiled sexplib.v0.17.0 -> installed sexplib.v0.17.0 Processing 17/18: [cstruct: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cstruct.3.3.0) - (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.opam/5.2/lib/ocaml -I /home/opam/.opam/5.2/lib/parsexp -I /home/opam/.opam/5.2/lib/sexplib -I /home/opam/.opam/5.2/lib/sexplib0 -o cstruct_stubs.o -c cstruct_stubs.c) - cstruct_stubs.c: In function 'caml_blit_bigstring_to_string': - cstruct_stubs.c:29:31: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29 | memcpy(String_val(val_buf2) + Long_val(val_ofs2), - In file included from cstruct_stubs.c:18: - /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *' - 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, - | ~~~~~~~~~~~~~~~~~^~~~~~ -> compiled cstruct.3.3.0 -> installed cstruct.3.3.0 Done. # Run eval $(opam env) to update the current shell environment 2024-08-04 21:37.21 ---> saved as "d67ff4398695148396f26970340bbbd2658e0335b50ee3bd2e31663737f797d3" Job succeeded