OCamllabs icon Home|Differences with the last checks|Previous runs


Building on x86-bm-c2.sw.ocaml.org

(from ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6)
Unable to find image 'ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6' locally
docker.io/ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6: Pulling from ocaml/opam
624365a1732e: Pulling fs layer
624365a1732e: Verifying Checksum
624365a1732e: Download complete
624365a1732e: Pull complete
Digest: sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6
Status: Downloaded newer image for ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6
2023-06-17 06:52.54 ---> using "7d60bd9cf13de83a2fc915bd8660b84a000026ca2eadd109efbf3b57cd5af04f" 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-06-17 06:52.54 ---> using "62379d35ed668426d9d8110913c125fa3183b296a68efdc9da0c91b6897e4bf2" 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 6ed4e23f2cefb96b2e2fce1c99e5cd85d7c4ee04"))
2023-06-17 06:52.54 ---> using "d67783525c2f7c1fb3010c0e770129217b499fe94429b3e3f0772c072398792a" 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-06-17 06:52.54 ---> using "394a25570d264bb6df13e493742820ac5dab3969c617aac9165a8108bc036a57" 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-06-17 06:52.54 ---> using "b49f927472fad51b348c3e17c573d5cdd40d4c6cd16cc17508ab6a17111d9c65" 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-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB]
- Fetched 382 kB in 6s (65.9 kB/s)
- Reading package lists...
- 
2023-06-17 06:52.54 ---> using "6ce2251c75bfff0d407ea6759fbe2a1637e17267056e58d1f4e3734fd5fce4fb" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"ocaml-twt.0.94.0\"\
               \nopam install -vy \"ocaml-twt.0.94.0\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"ocaml-twt.0.94.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] ocaml-twt.0.94.0 is not installed.

The following actions will be performed:
=== install 1 package
  - install ocaml-twt 0.94.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved ocaml-twt.0.94.0  (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.94.0)
[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 390, characters 15-29:
- 390 |   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.94.0)

#=== ERROR while installing ocaml-twt.0.94.0 ==================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/ocaml-twt.0.94.0
# 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-8-de69e2.env
# output-file          ~/.opam/log/ocaml-twt-8-de69e2.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 390, characters 15-29:
# 390 |   let stream = Stream.of_list lines in
#                      ^^^^^^^^^^^^^^
# Error: Unbound module Stream
# make: *** [Makefile:7: ocaml+twt] Error 2

'opam install -vy ocaml-twt.0.94.0' 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.94.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
"/bin/bash" "-c" "
opam remove -y "ocaml-twt.0.94.0"
opam install -vy "ocaml-twt.0.94.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "ocaml-twt.0.94.0" | 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