Building on c2-3.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093) Unable to find image 'ocaml/opam:debian-unstable@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093' locally docker.io/ocaml/opam@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093: Pulling from ocaml/opam e8210966e922: Pulling fs layer e8210966e922: Verifying Checksum e8210966e922: Download complete e8210966e922: Pull complete Digest: sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093 Status: Downloaded newer image for ocaml/opam@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093 2023-01-01 15:33.44 ---> using "5d5e87cadfec7e7a6401d2d54a8a47d3afe330b6b820d94db1727311dcdec05c" 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")) 2023-01-01 15:33.44 ---> using "86042612f669534a818a296d6f90d3dc51e57d4ebd633dfa7989b39af8377107" 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 4d71c85721434d76da9b416c2f1a082c22d45769")) 2023-01-01 15:33.44 ---> using "90895767b00e1346da46b38f4308fa97ba1a26e268eba7a075ef0d09efec3e97" 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. 2023-01-01 15:33.44 ---> using "3050b9cd72d96212fd6181d1c3b1f2881a3f2eaaa639640851ef8d83a4071d7b" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14) to update the current shell environment 2023-01-01 15:33.44 ---> using "a4c023e6f15b1f330c1944d80dcfb1c8c3b8fa8a734d508373259bb1079947bd" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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-2023-01-01-0208.51-F-2022-12-31-0203.27.pdiff [79.7 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-01-01-0208.51-F-2022-12-31-0203.27.pdiff [79.7 kB] - Fetched 304 kB in 2s (187 kB/s) - Reading package lists... - 2023-01-01 15:33.44 ---> using "c7e3e66b538285f71766c4f2d6ad203988ff66872bee10641c0fb4dcd0f9fff2" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"cstruct-unix.4.0.0\"\ \nopam install -vy \"cstruct-unix.4.0.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"cstruct-unix.4.0.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")) [NOTE] cstruct-unix.4.0.0 is not installed. Nothing to do. The following actions will be performed: === install 3 packages - install cstruct 4.0.0 [required by cstruct-unix] - install cstruct-unix 4.0.0 - install dune 3.6.1 [required by cstruct-unix] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/8: Processing 2/8: -> retrieved cstruct.4.0.0, cstruct-unix.4.0.0 (cached) -> retrieved dune.3.6.1 (cached) Processing 3/8: [dune: ocaml 47] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.6.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 47 - Processing 3/8: [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" "47" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.6.1) -> compiled dune.3.6.1 -> installed dune.3.6.1 Processing 5/8: [cstruct: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "47" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cstruct.4.0.0) - (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -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.4.0.0 -> installed cstruct.4.0.0 Processing 7/8: [cstruct-unix: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct-unix" "-j" "47" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cstruct-unix.4.0.0) -> compiled cstruct-unix.4.0.0 -> installed cstruct-unix.4.0.0 Done. # Run eval $(opam env) to update the current shell environment 2023-01-01 15:34.09 ---> saved as "44ac312fb258698bb003c8b2ceeab6208044e8fad26530115ddd0da985035c1d" Job succeeded