Building on c2-3.equinix.ci.dev (from ocaml/opam:debian-unstable@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb) Unable to find image 'ocaml/opam:debian-unstable@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb' locally docker.io/ocaml/opam@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb: Pulling from ocaml/opam 1ae3b60c1a35: Pulling fs layer 1ae3b60c1a35: Verifying Checksum 1ae3b60c1a35: Download complete 1ae3b60c1a35: Pull complete Digest: sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb Status: Downloaded newer image for ocaml/opam@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb 2023-07-02 05:55.37 ---> using "c1e06f8014f4e4402e9743f32f9c406d2ceb2e9cafdf160fa25c5b4c5ddee1d0" 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-07-02 05:55.37 ---> using "8710ae7221b0b40c4c31b8ab0b81a9e7702135c592da6045a57796358f5f39d3" 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 86961ac6d7505a361cd605968329990033691c57")) 2023-07-02 05:55.37 ---> using "0d0411dee08b7b9bbde0ce3d72beb85e2380abb682bfd207e6e830d1a2f6147b" 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-07-02 05:55.37 ---> using "4fd6f3e60fac8833ee35ce0f3db21cc7397ae6010de50b9444f037226216ee99" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1' '5.1.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.1.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.1.0+trunk (https://github.com/ocaml/ocaml/archive/5.1.tar.gz) -> installed ocaml-variants.5.1.0+trunk -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1) to update the current shell environment 2023-07-02 05:55.37 ---> using "df2a8606e8577975a9d53716563184142ae2ffed54e43f7df15a592329551920" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [199 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-07-01-0813.52-F-2023-06-29-2041.00.pdiff [102 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-07-01-0813.52-F-2023-06-29-2041.00.pdiff [102 kB] - Fetched 365 kB in 2s (198 kB/s) - Reading package lists... - 2023-07-02 05:55.37 ---> using "a8be0fb8b09f04d544db323f4a5b4b37da2c4ee6311ef09591e54dc266d1b17a" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"ocaml-twt.0.93.2\"\ \nopam install -vy \"ocaml-twt.0.93.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"ocaml-twt.0.93.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] ocaml-twt.0.93.2 is not installed. Nothing to do. The following actions will be performed: === install 1 package - install ocaml-twt 0.93.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: -> retrieved ocaml-twt.0.93.2 (cached) Processing 3/3: [ocaml-twt: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "PREFIX=/home/opam/.opam/5.1" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ocaml-twt.0.93.2) [ERROR] The installation of ocaml-twt failed at "make install PREFIX=/home/opam/.opam/5.1". - ocamlc -o ocaml+twt str.cma unix.cma ocaml+twt.ml - File "ocaml+twt.ml", line 1: - Warning 24 [bad-module-name]: bad source file name: "Ocaml+twt" is not a valid module name. - - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The str subdirectory has been - automatically added to the search path, but you should add -I +str to the - command-line to silence this alert (e.g. by adding str to the list of - libraries in your dune file, or adding use_str to your _tags file for - ocamlbuild, or using -package str for ocamlfind). - - File "ocaml+twt.ml", line 342, characters 15-29: - 342 | let stream = Stream.of_list lines in - ^^^^^^^^^^^^^^ - Error: Unbound module Stream - make: *** [Makefile:7: ocaml+twt] Error 2 Processing 3/3: [ocaml-twt: make uninstall] + /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "make" "uninstall" "PREFIX=/home/opam/.opam/5.1" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ocaml-twt.0.93.2) #=== ERROR while installing ocaml-twt.0.93.2 ==================================# # context 2.2.0~alpha | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/ocaml-twt.0.93.2 # command ~/.opam/opam-init/hooks/sandbox.sh install make install PREFIX=/home/opam/.opam/5.1 # exit-code 2 # env-file ~/.opam/log/ocaml-twt-7-197b72.env # output-file ~/.opam/log/ocaml-twt-7-197b72.out ### output ### # ocamlc -o ocaml+twt str.cma unix.cma ocaml+twt.ml # File "ocaml+twt.ml", line 1: # Warning 24 [bad-module-name]: bad source file name: "Ocaml+twt" is not a valid module name. # # File "_none_", line 1: # Alert ocaml_deprecated_auto_include: # OCaml's lib directory layout changed in 5.0. The str subdirectory has been # automatically added to the search path, but you should add -I +str to the # command-line to silence this alert (e.g. by adding str to the list of # libraries in your dune file, or adding use_str to your _tags file for # ocamlbuild, or using -package str for ocamlfind). # # File "ocaml+twt.ml", line 342, characters 15-29: # 342 | let stream = Stream.of_list lines in # ^^^^^^^^^^^^^^ # Error: Unbound module Stream # make: *** [Makefile:7: ocaml+twt] Error 2 'opam install -vy ocaml-twt.0.93.2' failed. - rm -f /home/opam/.opam/5.1/bin/ocaml+twt /home/opam/.opam/5.1/bin/ppcompose <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - install ocaml-twt 0.93.2 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment "/bin/bash" "-c" " opam remove -y "ocaml-twt.0.93.2" opam install -vy "ocaml-twt.0.93.2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "ocaml-twt.0.93.2" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed