Building on apache.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-03 06:45.04 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" 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")) 2022-11-03 06:45.04 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" 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 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-03 06:45.04 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" 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. 2022-11-03 06:45.04 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (network host) (shell "git clone -q 'https://github.com/kit-ty-kate/opam-alpha-repository' ~/'alpha' && git -C ~/'alpha' checkout -q 076a4c8b84954fc0cb7d4b8555dd3ef526983967")) 2022-11-03 06:45.04 ---> using "d0cc4487ef08ec8933669840a0a4a09a690fc372319648cfb5be23220879fd8d" from cache /: (run (shell "opam repository add --dont-select 'alpha' ~/'alpha'")) [alpha] Initialised 2022-11-03 06:45.04 ---> using "18078122c14dbafc9fbe33091f99eb13e673e35ecfad480502cb289b424eef02" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=alpha,default '5.0+alpha-repo' '5.0.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.0.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.0.0+trunk (https://github.com/ocaml/ocaml/archive/5.0.tar.gz) -> installed ocaml-variants.5.0.0+trunk -> installed ocaml-config.3 -> installed ocaml.5.0.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.0+alpha-repo) to update the current shell environment 2022-11-03 06:45.04 ---> using "e811ccce4aef603494107dc2894ddc7dc217e1e0779c4853ea06e662027190c7" 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-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 2s (144 kB/s) - Reading package lists... 2022-11-03 06:45.04 ---> using "420d7c62d6115065e8e246a0f9ee37bb9cd8c1d65fd073932b60762f2b3eb596" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"hacl_x25519.0.2.0\"\ \nopam install -vy \"hacl_x25519.0.2.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"hacl_x25519.0.2.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] hacl_x25519.0.2.0 is not installed. Nothing to do. The following actions will be performed: === install 5 packages - install bigarray-compat 1.1.0 [required by cstruct] - install cstruct 6.0.1 [required by hacl_x25519] - install dune 3.5.0 [required by hacl_x25519] - install eqaf 0.9 [required by hacl_x25519] - install hacl_x25519 0.2.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/15: Processing 2/15: Processing 3/15: -> retrieved bigarray-compat.1.1.0 (cached) Processing 4/15: -> retrieved eqaf.0.9 (cached) Processing 5/15: -> retrieved cstruct.6.0.1 (cached) -> retrieved hacl_x25519.0.2.0 (cached) -> retrieved dune.3.5.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/5.0+alpha-repo/.opam-switch/build/dune.3.5.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 127 - cd _boot && /home/opam/.opam/5.0+alpha-repo/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads build_path_prefix_map.ml - File "vendor/build_path_prefix_map/src/build_path_prefix_map.ml", line 5, characters 17-31: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.0+alpha-repo/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLexer.ml - File "vendor/opam-file-format/src/opamLexer.mll", line 21, characters 2-16: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - Processing 6/15: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "127" (CWD=/home/opam/.opam/5.0+alpha-repo/.opam-switch/build/dune.3.5.0) -> compiled dune.3.5.0 -> installed dune.3.5.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/5.0+alpha-repo/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 -> installed bigarray-compat.1.1.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/5.0+alpha-repo/.opam-switch/build/cstruct.6.0.1) -> compiled cstruct.6.0.1 -> installed cstruct.6.0.1 Processing 12/15: [eqaf: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "eqaf" "-j" "127" (CWD=/home/opam/.opam/5.0+alpha-repo/.opam-switch/build/eqaf.0.9) -> compiled eqaf.0.9 -> installed eqaf.0.9 Processing 14/15: [hacl_x25519: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "hacl_x25519" "-j" "127" "@install" (CWD=/home/opam/.opam/5.0+alpha-repo/.opam-switch/build/hacl_x25519.0.2.0) - (cd _build/default && /home/opam/.opam/5.0+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.hacl_x25519.objs/byte -I /home/opam/.opam/5.0+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/5.0+alpha-repo/lib/cstruct -I /home/opam/.opam/5.0+alpha-repo/lib/eqaf -intf-suffix .ml -no-alias-deps -o src/.hacl_x25519.objs/byte/hacl_ed25519.cmo -c -impl src/hacl_ed25519.ml) - File "src/hacl_ed25519.ml", line 8, characters 5-16: - 8 | if Cstruct.len cs = key_length_bytes then `Checked cs - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/hacl_ed25519.ml", line 37, characters 53-64: - 37 | (checked_buffer priv) (Cstruct.to_bigarray msg) (Cstruct.len msg); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/hacl_ed25519.ml", line 42, characters 5-16: - 42 | (Cstruct.len msg) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/5.0+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.hacl_x25519.objs/byte -I /home/opam/.opam/5.0+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/5.0+alpha-repo/lib/cstruct -I /home/opam/.opam/5.0+alpha-repo/lib/eqaf -intf-suffix .ml -no-alias-deps -o src/.hacl_x25519.objs/byte/hacl_x25519.cmo -c -impl src/hacl_x25519.ml) - File "src/hacl_x25519.ml", line 18, characters 5-16: - 18 | if Cstruct.len cs = key_length_bytes then Ok (`Checked cs) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/5.0+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.hacl_x25519.objs/byte -I src/.hacl_x25519.objs/native -I /home/opam/.opam/5.0+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/5.0+alpha-repo/lib/cstruct -I /home/opam/.opam/5.0+alpha-repo/lib/eqaf -intf-suffix .ml -no-alias-deps -o src/.hacl_x25519.objs/native/hacl_ed25519.cmx -c -impl src/hacl_ed25519.ml) - File "src/hacl_ed25519.ml", line 8, characters 5-16: - 8 | if Cstruct.len cs = key_length_bytes then `Checked cs - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/hacl_ed25519.ml", line 37, characters 53-64: - 37 | (checked_buffer priv) (Cstruct.to_bigarray msg) (Cstruct.len msg); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/hacl_ed25519.ml", line 42, characters 5-16: - 42 | (Cstruct.len msg) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/5.0+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.hacl_x25519.objs/byte -I src/.hacl_x25519.objs/native -I /home/opam/.opam/5.0+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/5.0+alpha-repo/lib/cstruct -I /home/opam/.opam/5.0+alpha-repo/lib/eqaf -intf-suffix .ml -no-alias-deps -o src/.hacl_x25519.objs/native/hacl_x25519.cmx -c -impl src/hacl_x25519.ml) - File "src/hacl_x25519.ml", line 18, characters 5-16: - 18 | if Cstruct.len cs = key_length_bytes then Ok (`Checked cs) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. -> compiled hacl_x25519.0.2.0 -> installed hacl_x25519.0.2.0 Done. # Run eval $(opam env) to update the current shell environment 2022-11-03 06:45.35 ---> saved as "3a7e7b0acf2f323f880ca11c09f833f6eee23e978d93785a4dd1fa78bb187a37" Job succeeded