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


Building on apache.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41)
2022-05-01 09:22.53 ---> using "e16578957f674ca141475612bdd8fe456bdeb3cf55dca9de0669bf5f721951e7" 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-05-01 09:22.53 ---> using "09ae07f34eca5d84e953ea4b87a3c466448be28706a95338ba19feb13b3b66fd" 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 4ce6f847a29936b1d875b70940837be093fec84e"))
2022-05-01 09:22.53 ---> using "8a62ed72fc23e1663b0f130dbecbe2a8d6a9d36667f58fd75e99df9fc9855900" 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-05-01 09:22.53 ---> using "1da6a21744e622352d23ddb067012a46b76c5e5a957ab9cd9733a836f9d86396" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.0' '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/trunk.tar.gz)
-> installed ocaml-variants.5.0.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.0) to update the current shell environment
2022-05-01 09:22.53 ---> using "7213b84c80a4bf31f0d4fcdee6ce5f8f0b70014cb7c920a76c7e444a9822af4c" 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]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB]
- Fetched 430 kB in 2s (207 kB/s)
- Reading package lists...
2022-05-01 09:22.53 ---> using "7a4cec3ec590f29dfd14f2060272885358f9584d35f5bb4e5282661a6ed121cf" from cache

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

Nothing to do.
The following actions will be performed:
=== install 6 packages
  - install avro-compiler 0.1
  - install biniou        1.2.1 [required by yojson]
  - install cppo          1.6.8 [required by yojson]
  - install dune          3.1.1 [required by avro-compiler]
  - install easy-format   1.3.3 [required by yojson]
  - install yojson        1.7.0 [required by avro-compiler]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/18:
Processing  2/18:
Processing  3/18:
-> retrieved avro-compiler.0.1  (cached)
Processing  4/18:
-> retrieved biniou.1.2.1  (cached)
Processing  5/18:
-> retrieved cppo.1.6.8  (cached)
Processing  6/18:
-> retrieved easy-format.1.3.3  (cached)
-> retrieved yojson.1.7.0  (cached)
-> retrieved dune.3.1.1  (cached)
Processing  7/18: [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.1.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 127
- cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -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/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -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  7/18: [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/.opam-switch/build/dune.3.1.1)
-> compiled  dune.3.1.1
-> installed dune.3.1.1
Processing  9/18: [cppo: dune build]
Processing 10/18: [cppo: dune build] [easy-format: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "easy-format" "-j" "127" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/easy-format.1.3.3)
Processing 10/18: [cppo: dune build] [easy-format: dune install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "easy-format" "--create-install-files" "easy-format" (CWD=/home/opam/.opam/5.0/.opam-switch/build/easy-format.1.3.3)
- Copying to _destdir/home/opam/.opam/5.0/lib/easy-format/META
- Copying to _destdir/home/opam/.opam/5.0/lib/easy-format/dune-package
-> compiled  easy-format.1.3.3
Processing 10/18: [cppo: dune build]
-> installed easy-format.1.3.3
Processing 11/18: [cppo: dune build]
Processing 12/18: [biniou: dune build] [cppo: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "biniou" "-j" "127" (CWD=/home/opam/.opam/5.0/.opam-switch/build/biniou.1.2.1)
- (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -safe-string -g -bin-annot -I src/.biniou.objs/byte -I /home/opam/.opam/5.0/lib/easy-format -no-alias-deps -o src/.biniou.objs/byte/bi_stream.cmi -c -intf src/bi_stream.mli)
- File "src/bi_stream.mli", line 20, characters 59-67:
- 20 | val read_stream : (string -> 'a array) -> in_channel -> 'a Stream.t
-                                                                 ^^^^^^^^
- Error: Unbound module Stream
[ERROR] The compilation of biniou.1.2.1 failed at "dune build -p biniou -j 127".
Processing 12/18: [cppo: dune build]
Processing 13/18: [cppo: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "127" (CWD=/home/opam/.opam/5.0/.opam-switch/build/cppo.1.6.8)
-> compiled  cppo.1.6.8
-> installed cppo.1.6.8

#=== ERROR while compiling biniou.1.2.1 =======================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/biniou.1.2.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p biniou -j 127
# exit-code            1
# env-file             ~/.opam/log/biniou-10-a4ab83.env
# output-file          ~/.opam/log/biniou-10-a4ab83.out
### output ###
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -safe-string -g -bin-annot -I src/.biniou.objs/byte -I /home/opam/.opam/5.0/lib/easy-format -no-alias-deps -o src/.biniou.objs/byte/bi_stream.cmi -c -intf src/bi_stream.mli)
# File "src/bi_stream.mli", line 20, characters 59-67:
# 20 | val read_stream : (string -> 'a array) -> in_channel -> 'a Stream.t
#                                                                 ^^^^^^^^
# Error: Unbound module Stream



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install avro-compiler 0.1
| - install yojson        1.7.0
+- 
+- The following actions failed
| - build biniou 1.2.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install cppo        1.6.8
| - install dune        3.1.1
| - install easy-format 1.3.3
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20220501092255.export"
'opam install -vy avro-compiler.0.1' failed.
"/bin/bash" "-c"
"
opam remove -y "avro-compiler.0.1"
opam install -vy "avro-compiler.0.1"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "avro-compiler.0.1" | 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