Building on x86-bm-c14.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam d17903a8b5bb: Pulling fs layer d17903a8b5bb: Download complete d17903a8b5bb: Pull complete Digest: sha256:fc4a1db9bca3b44e988887700974d69f848529f31aed5bce3d9808f8cf771239 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-06-05 11:40.10 ---> 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-06-05 11:40.10 ---> 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 0b9453aa6048fe22dfdf9af320fe1dd40296d350")) 2024-06-05 11:40.10 ---> using "e3560806fa0f854f1d1ba2f13f52af9b505adc32c9c8ac6b9a3d232a44e83c7a" 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-06-05 11:40.10 ---> using "a6cb48a09672e1fb12e82349ff98389c4f1321dfe5b94739b915db27204615f0" 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 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-06-05 11:40.10 ---> using "648c001a2ffb01e424d89dc39fced2e06f8a11bf74fe6c62ea038b55cabdae2f" 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-06-05-0804.11-F-2024-06-04-0804.54.pdiff [83.2 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-06-05-0804.11-F-2024-06-04-0804.54.pdiff [83.2 kB] - Fetched 345 kB in 5s (76.3 kB/s) - Reading package lists... - 2024-06-05 11:40.10 ---> using "1907da6bc4243c03145805b1cfd278da55852124b3b8ee5c95096e4f6a15dcfd" 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")) Nothing to do. [NOTE] tuntap.2.0.0 is not installed. 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.15.3 [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: Processing 2/17: Processing 3/17: -> retrieved cmdliner.1.3.0 (cached) Processing 4/17: Processing 5/17: [cmdliner: make all] -> retrieved domain-name.0.4.0 (cached) Processing 6/17: [cmdliner: make all] -> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached) -> retrieved tuntap.2.0.0 (cached) -> retrieved dune.3.15.3 (cached) 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.15.3) - 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 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads fiber.mli - File "vendor/fiber/src/fiber.mli", line 117, characters 3-9: - Warning 53 [misplaced-attribute]: the "inline" attribute cannot appear in this context - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads memo.mli - File "src/memo/memo.mli", line 104, characters 3-9: - Warning 53 [misplaced-attribute]: the "inline" attribute cannot appear in this context - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLocal.ml - File "vendor/opam/src/repository/opamLocal.ml", lines 109-114, characters 46-34: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamLocal.ml", lines 170-189, characters 44-56: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamLocal.ml", lines 209-231, characters 8-44: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamVCS.ml - File "vendor/opam/src/repository/opamVCS.ml", lines 179-182, characters 11-40: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamDownload.ml - File "vendor/opam/src/repository/opamDownload.ml", lines 323-361, characters 42-41: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamRepository.ml - File "vendor/opam/src/repository/opamRepository.ml", lines 88-90, characters 45-77: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamRepository.ml", lines 277-280, characters 39-59: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamRepository.ml", lines 423-427, characters 12-42: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (_, Checksum_mismatch _) - 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.15.3) -> compiled dune.3.15.3 -> installed dune.3.15.3 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 -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 -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/ocamlc.opt -w -40 -g -bin-annot -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 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/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-06-05 11:40.58 ---> saved as "0593d90489c2ccd2f56f6a2747d439473031ac588a0c1a6324d016b14057d7c0" Job succeeded