Building on x86-bm-c2.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-05 13:11.59 ---> 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-05 13:11.59 ---> 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-05 13:11.59 ---> 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-05 13:11.59 ---> 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-05 13:11.59 ---> 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-05-0806.27-F-2024-07-29-1441.34.pdiff [517 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-05-0806.27-F-2024-07-29-1441.34.pdiff [517 kB] - Fetched 779 kB in 2s (314 kB/s) - Reading package lists... - 2024-08-05 13:11.59 ---> using "60e429f741cfa5b2c6876c6bc2125784d8047ba9ce99c12c9c2fbe936bb2acdb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"tuntap.2.0.0\"\ \nopam install -vy \"tuntap.2.0.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"tuntap.2.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] tuntap.2.0.0 is not installed. Nothing to do. The following actions will be performed: === install 6 packages - install cmdliner 1.3.0 [required by tuntap] - install domain-name 0.4.0 [required by ipaddr] - install dune 3.16.0 [required by tuntap] - install ipaddr 5.6.0 [required by tuntap] - install macaddr 5.6.0 [required by tuntap] - install tuntap 2.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/17: [cmdliner.1.3.0: extract] Processing 2/17: [cmdliner.1.3.0: extract] [domain-name.0.4.0: extract] Processing 3/17: [cmdliner.1.3.0: extract] [domain-name.0.4.0: extract] [dune.3.16.0: extract] -> retrieved cmdliner.1.3.0 (cached) Processing 3/17: [domain-name.0.4.0: extract] [dune.3.16.0: extract] Processing 4/17: [domain-name.0.4.0: extract] [dune.3.16.0: extract] [ipaddr.5.6.0, macaddr.5.6.0: extract] Processing 5/17: [domain-name.0.4.0: extract] [dune.3.16.0: extract] [ipaddr.5.6.0, macaddr.5.6.0: extract] [cmdliner: make all] -> retrieved domain-name.0.4.0 (cached) Processing 5/17: [dune.3.16.0: extract] [ipaddr.5.6.0, macaddr.5.6.0: extract] [cmdliner: make all] Processing 6/17: [dune.3.16.0: extract] [ipaddr.5.6.0, macaddr.5.6.0: extract] [tuntap.2.0.0: http] [cmdliner: make all] -> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached) Processing 6/17: [dune.3.16.0: extract] [tuntap.2.0.0: http] [cmdliner: make all] Processing 6/17: [dune.3.16.0: extract] [tuntap.2.0.0: extract] [cmdliner: make all] -> retrieved tuntap.2.0.0 (https://github.com/mirage/ocaml-tuntap/releases/download/v2.0.0/tuntap-v2.0.0.tbz) Processing 6/17: [dune.3.16.0: extract] [cmdliner: make all] -> retrieved dune.3.16.0 (cached) Processing 6/17: [cmdliner: make all] Processing 7/17: [cmdliner: make all] [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "PREFIX=/home/opam/.opam/5.2" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - ocaml build.ml cma - ocaml build.ml cmxa - ocaml build.ml cmxs -> compiled cmdliner.1.3.0 Processing 7/17: [dune: ocaml 39] Processing 8/17: [dune: ocaml 39] [cmdliner: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/lib/cmdliner" - install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/5.2/lib/cmdliner" - install cmdliner.opam "/home/opam/.opam/5.2/lib/cmdliner/opam" - install _build/cmdliner.cma "/home/opam/.opam/5.2/lib/cmdliner" - install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \ - "/home/opam/.opam/5.2/lib/cmdliner" - install _build/cmdliner.cmxs "/home/opam/.opam/5.2/lib/cmdliner" Processing 8/17: [dune: ocaml 39] [cmdliner: make install-doc] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install-doc" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" - install CHANGES.md LICENSE.md README.md "/home/opam/.opam/5.2/doc/cmdliner" - install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \ - doc/tool_man.mld "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" -> installed cmdliner.1.3.0 Processing 8/17: [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "39" (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 39 - 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 8/17: [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" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 10/17: [domain-name: dune build] Processing 11/17: [domain-name: dune build] [macaddr: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "macaddr" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/macaddr.5.6.0) -> compiled macaddr.5.6.0 Processing 11/17: [domain-name: dune build] -> installed macaddr.5.6.0 Processing 12/17: [domain-name: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "domain-name" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/domain-name.0.4.0) -> compiled domain-name.0.4.0 -> installed domain-name.0.4.0 Processing 14/17: [ipaddr: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ipaddr" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ipaddr.5.6.0) -> compiled ipaddr.5.6.0 -> installed ipaddr.5.6.0 Processing 16/17: [tuntap: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tuntap" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/tuntap.2.0.0) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tuntap.objs/byte -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -no-alias-deps -o lib/.tuntap.objs/byte/tuntap.cmi -c -intf lib/tuntap.mli) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tuntap.objs/byte -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -intf-suffix .ml -no-alias-deps -o lib/.tuntap.objs/byte/tuntap.cmo -c -impl lib/tuntap.ml) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I lib/.tuntap.objs/byte -I lib/.tuntap.objs/native -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -intf-suffix .ml -no-alias-deps -o lib/.tuntap.objs/native/tuntap.cmx -c -impl lib/tuntap.ml) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I bin/.otunctl.eobjs/byte -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -I lib/.tuntap.objs/byte -no-alias-deps -o bin/.otunctl.eobjs/byte/otunctl.cmo -c -impl bin/otunctl.ml) - File "bin/otunctl.ml", line 81, characters 8-12: - 81 | Term.(pure tunctl $ optype $ dev $ mode $ user $ group $ pi), - ^^^^ - Alert deprecated: Cmdliner.Term.pure - Use Term.const instead. - - File "bin/otunctl.ml", line 82, characters 2-11: - 82 | Term.info "otunctl" ~version:"1.0.0" ~doc - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.info - Use Cmd.info instead. - - File "bin/otunctl.ml", line 84, characters 15-24: - 84 | let () = match Term.eval cmd with `Error _ -> exit 1 | _ -> exit 0 - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.eval - Use Cmd.v and one of Cmd.eval* instead. - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I bin/.otunctl.eobjs/byte -I bin/.otunctl.eobjs/native -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -I lib/.tuntap.objs/byte -I lib/.tuntap.objs/native -intf-suffix .ml -no-alias-deps -o bin/.otunctl.eobjs/native/otunctl.cmx -c -impl bin/otunctl.ml) - File "bin/otunctl.ml", line 81, characters 8-12: - 81 | Term.(pure tunctl $ optype $ dev $ mode $ user $ group $ pi), - ^^^^ - Alert deprecated: Cmdliner.Term.pure - Use Term.const instead. - - File "bin/otunctl.ml", line 82, characters 2-11: - 82 | Term.info "otunctl" ~version:"1.0.0" ~doc - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.info - Use Cmd.info instead. - - File "bin/otunctl.ml", line 84, characters 15-24: - 84 | let () = match Term.eval cmd with `Error _ -> exit 1 | _ -> exit 0 - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.eval - Use Cmd.v and one of Cmd.eval* instead. - (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/domain-name -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/macaddr -o tuntap_stubs.o -c tuntap_stubs.c) - In file included from tuntap_stubs.c:36: - tuntap_stubs.c: In function 'get_macaddr': - /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 332 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - tuntap_stubs.c:145:10: note: in expansion of macro 'String_val' - 145 | memcpy(String_val(hwaddr), ifq.ifr_addr.sa_data, 6); - | ^~~~~~~~~~ - In file included from tuntap_stubs.c:20: - /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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - tuntap_stubs.c: In function 'caml_string_of_sa': - /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 332 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - tuntap_stubs.c:368:14: note: in expansion of macro 'String_val' - 368 | memcpy(String_val(ret), &sa_in->sin_addr.s_addr, 4); - | ^~~~~~~~~~ - /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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - /home/opam/.opam/5.2/lib/ocaml/caml/mlvalues.h:332:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 332 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - tuntap_stubs.c:374:14: note: in expansion of macro 'String_val' - 374 | memcpy(String_val(ret), sa_in6->sin6_addr.s6_addr, 16); - | ^~~~~~~~~~ - /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 tuntap.2.0.0 -> installed tuntap.2.0.0 Done. # Run eval $(opam env) to update the current shell environment 2024-08-05 13:12.51 ---> saved as "356c00ca541718fcd9adcb1af4977a9fe6ad5aed47486954fc06e7e652e9626d" Job succeeded