Building on apache.ocamllabs.io (from ocaml/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined 2021-09-03 20:36.12 ---> 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-2.1 /usr/bin/opam")) 2021-09-03 20:36.12 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59")) 2021-09-03 20:36.12 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" 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. 2021-09-03 20:36.12 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" from cache /: (run (network host) (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89")) 2021-09-03 20:36.12 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-09-03 20:36.12 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.09.1")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.09.1"} | "ocaml-system" {= "4.09.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.09.1 (cached) -> installed ocaml-base-compiler.4.09.1 -> installed ocaml-config.1 -> installed ocaml.4.09.1 Done. # Run eval $(opam env --switch=4.09.1) to update the current shell environment 2021-09-03 20:36.12 ---> using "f7eb24fb60dbb2e2cea3f340c748d8f48715ffb8e525b45da3b56bfe3f312bcf" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB] - Fetched 8994 kB in 2s (5337 kB/s) - Reading package lists... - 2021-09-03 20:36.12 ---> using "b112a285d5a4dddaa711d9dd630015f2fb5bb6d8c5e59fca3d0bd55f51cb91fe" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"ezsqlite.0.4.2\"\ \nopam install -vy \"ezsqlite.0.4.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"ezsqlite.0.4.2\" | 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] ezsqlite.0.4.2 is not installed. Nothing to do. The following actions will be performed: - install dune 2.9.0 [required by ezsqlite] - install bigarray-compat 1.0.0 [required by hex] - install cstruct 6.0.1 [required by hex] - install hex 1.4.0 [required by ezsqlite] - install ezsqlite 0.4.2 ===== 5 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/15: Processing 2/15: Processing 3/15: -> retrieved bigarray-compat.1.0.0 (cached) Processing 4/15: -> retrieved cstruct.6.0.1 (cached) Processing 5/15: -> retrieved hex.1.4.0 (cached) -> retrieved ezsqlite.0.4.2 (cached) -> retrieved dune.2.9.0 (cached) Processing 6/15: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/dune.2.9.0) - ocamlc -custom -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 127 - Processing 6/15: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/dune.2.9.0) -> compiled dune.2.9.0 -> installed dune.2.9.0 Processing 8/15: [bigarray-compat: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/bigarray-compat.1.0.0) -> compiled bigarray-compat.1.0.0 -> installed bigarray-compat.1.0.0 Processing 10/15: [cstruct: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/cstruct.6.0.1) -> compiled cstruct.6.0.1 -> installed cstruct.6.0.1 Processing 12/15: [hex: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "hex" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/hex.1.4.0) -> compiled hex.1.4.0 -> installed hex.1.4.0 Processing 14/15: [ezsqlite: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ezsqlite" "-j" "127" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/ezsqlite.0.4.2) - gcc lib/ezsqlite_stubs.o - ezsqlite_stubs.c: In function 'sqlite3_error': - ezsqlite_stubs.c:19:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19 | value *sqlite_error = caml_named_value("sqlite error"); - | ^~~~~~~~~~~~~~~~ - ezsqlite_stubs.c: In function '_ezsqlite_db_create_function': - ezsqlite_stubs.c:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 122 | value *fn = caml_named_value (String_val(name)); - | ^~~~~~~~~~~~~~~~ - ezsqlite_stubs.c: In function 'commit_hook_callback': - ezsqlite_stubs.c:129:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 129 | value *v = caml_named_value("commit hook"); - | ^~~~~~~~~~~~~~~~ - ezsqlite_stubs.c: In function 'update_hook_callback': - ezsqlite_stubs.c:139:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 139 | value *v = caml_named_value("update hook"); - | ^~~~~~~~~~~~~~~~ - ezsqlite_stubs.c: In function 'auto_extension_callback': - ezsqlite_stubs.c:148:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 148 | value *v = caml_named_value("auto extension"); - | ^~~~~~~~~~~~~~~~ - gcc lib/sqlite3.o - sqlite3.c: In function 'sqlite3SelectNew.isra': - sqlite3.c:115936:10: warning: function may return address of local variable [-Wreturn-local-addr] - 115936 | return pNew; - | ^~~~ - sqlite3.c:115896:10: note: declared here - 115896 | Select standin; - | ^~~~~~~ -> compiled ezsqlite.0.4.2 -> installed ezsqlite.0.4.2 Done. # Run eval $(opam env) to update the current shell environment 2021-09-03 20:37.10 ---> saved as "d9387d69b6c86484c533eb94962ae05958987e1d55d2615fd95857b840012238" Job succeeded