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


Building on c2-4.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093)
Unable to find image 'ocaml/opam:debian-unstable@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093' locally
docker.io/ocaml/opam@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093: Pulling from ocaml/opam
e8210966e922: Pulling fs layer
e8210966e922: Verifying Checksum
e8210966e922: Download complete
e8210966e922: Pull complete
Digest: sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093
Status: Downloaded newer image for ocaml/opam@sha256:9598e1a832358a38228838d23edf434353093175284d5ed5bc533a6f53485093
2023-01-02 05:01.34 ---> using "5d5e87cadfec7e7a6401d2d54a8a47d3afe330b6b820d94db1727311dcdec05c" 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-01-02 05:01.34 ---> using "86042612f669534a818a296d6f90d3dc51e57d4ebd633dfa7989b39af8377107" 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 4d71c85721434d76da9b416c2f1a082c22d45769"))
2023-01-02 05:01.34 ---> using "90895767b00e1346da46b38f4308fa97ba1a26e268eba7a075ef0d09efec3e97" 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-01-02 05:01.34 ---> using "3050b9cd72d96212fd6181d1c3b1f2881a3f2eaaa639640851ef8d83a4071d7b" 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'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.0.0"} | "ocaml-system" {= "5.0.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.0.0  (https://github.com/ocaml/ocaml/archive/5.0.0.tar.gz)
-> installed ocaml-base-compiler.5.0.0
-> 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) to update the current shell environment
2023-01-02 05:01.34 ---> using "f6b29abfe1396ef029926dbc9aa74e292e25941f4767a60be9ce6d43a344dcdb" 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-2023-01-01-0208.51-F-2022-12-31-0203.27.pdiff [79.7 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-01-01-0208.51-F-2022-12-31-0203.27.pdiff [79.7 kB]
- Fetched 304 kB in 2s (178 kB/s)
- Reading package lists...
- 
2023-01-02 05:01.34 ---> using "6f076f0b7a0e4f6b499d251042934e270692173ddf2c9814a6e3bbfca654f3c6" from cache

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

The following actions will be performed:
=== install 8 packages
  - install dune         3.6.1       [required by rfsm]
  - install lascar       0.6-alpha   [required by rfsm]
  - install menhir       20211012    [required by rfsm]
  - install menhirLib    20211012    [required by menhir]
  - install menhirSdk    20211012    [required by menhir]
  - install ocamlgraph   2.0.0       [required by rfsm]
  - install rfsm         1.6-alpha-3
  - install stdlib-shims 0.3.0       [required by ocamlgraph]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/22:
Processing  2/22:
Processing  3/22:
-> retrieved menhir.20211012, menhirLib.20211012, menhirSdk.20211012  (cached)
Processing  4/22:
-> retrieved lascar.0.6-alpha  (cached)
Processing  5/22:
-> retrieved dune.3.6.1  (cached)
Processing  6/22:
Processing  7/22: [dune: ocaml 47]
-> retrieved ocamlgraph.2.0.0  (cached)
-> retrieved rfsm.1.6-alpha-3  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.6.1)
- 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 47
- cd _boot && /home/opam/.opam/5.0/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/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  7/22: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.6.1)
-> compiled  dune.3.6.1
-> installed dune.3.6.1
Processing  9/22: [lascar: dune build]
Processing 10/22: [lascar: dune build] [menhirLib: dune build]
Processing 11/22: [lascar: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 12/22: [lascar: dune build] [menhirLib: dune build] [menhirSdk: dune build] [stdlib-shims: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
Processing 12/22: [lascar: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> installed stdlib-shims.0.3.0
Processing 13/22: [lascar: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 14/22: [lascar: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocamlgraph: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lascar" "-j" "47" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/lascar.0.6-alpha)
- (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/utils/.utils.objs/byte -no-alias-deps -open Utils -o src/utils/.utils.objs/byte/utils__ListExt.cmi -c -intf src/utils/listExt.mli)
- File "src/utils/listExt.mli", line 113, characters 35-43:
- 113 | val parse: string -> (Genlex.token Stream.t -> 'a) -> Genlex.token Stream.t -> 'a list
-                                          ^^^^^^^^
- Error: Unbound module Stream
[ERROR] The compilation of lascar.0.6-alpha failed at "dune build -p lascar -j 47 @install".
Processing 14/22: [menhirLib: dune build] [menhirSdk: dune build] [ocamlgraph: dune build]
Processing 15/22: [menhirLib: dune build] [menhirSdk: dune build] [ocamlgraph: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirSdk" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/menhirSdk.20211012)
-> compiled  menhirSdk.20211012
Processing 15/22: [menhirLib: dune build] [ocamlgraph: dune build]
-> installed menhirSdk.20211012
Processing 16/22: [menhirLib: dune build] [ocamlgraph: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirLib" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/menhirLib.20211012)
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
-> compiled  menhirLib.20211012
Processing 16/22: [ocamlgraph: dune build]
-> installed menhirLib.20211012
Processing 17/22: [ocamlgraph: dune build]
Processing 18/22: [menhir: dune build] [ocamlgraph: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlgraph" "-j" "47" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlgraph.2.0.0)
-> compiled  ocamlgraph.2.0.0
Processing 18/22: [menhir: dune build]
-> installed ocamlgraph.2.0.0
Processing 19/22: [menhir: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhir" "-j" "47" (CWD=/home/opam/.opam/5.0/.opam-switch/build/menhir.20211012)
- (cd _build/default/src/stage2 && .bin/menhir --no-pager --table --fixed-exception --require-aliases --strict parser.mly --compare-errors parserMessages.auto.messages --compare-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.check
- Read 101 sample input sentences and 101 error messages.
- Read 101 sample input sentences and 48 error messages.
- (cd _build/default && src/stage2/.bin/menhir --no-pager --table --fixed-exception --require-aliases --strict --strict -lg 1 -la 1 -lc 1 -v src/stage2/parser.mly --base src/stage2/parser --infer-read-reply src/stage2/parser__mock.mli.inferred)
- Grammar has 56 nonterminal symbols, among which 1 start symbols.
- Grammar has 37 terminal symbols.
- Grammar has 129 productions.
- Built an LR(0) automaton with 194 states.
- The grammar is not SLR(1) -- 5 states have a conflict.
- The construction mode is no-pager.
- Built an LR(1) automaton with 298 states.
- One shift/reduce conflict was silently solved.
- Extra reductions on error were added in 40 states.
- Priority played a role in 0 of these states.
- 152 out of 298 states have a default reduction.
- 102 out of 298 states are represented.
- 44 out of 96 symbols keep track of their start position.
- 48 out of 96 symbols keep track of their end position.
- The action table is 11324 entries; 1610 non-zero; 1359 compressed.
- The action table occupies roughly 2816 bytes.
- The goto table is 16986 entries; 329 non-zero; 636 compressed.
- The goto table occupies roughly 1368 bytes.
- The error table occupies roughly 1448 bytes.
- The default_reduction table occupies roughly 336 bytes.
- The lhs table occupies roughly 168 bytes.
- The trace table occupies roughly 8 bytes.
- (cd _build/default/src/stage2 && .bin/menhir --no-pager --table --fixed-exception --require-aliases --strict parser.mly --compile-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.ml
- Read 101 sample input sentences and 48 error messages.
-> compiled  menhir.20211012
-> installed menhir.20211012

#=== ERROR while compiling lascar.0.6-alpha ===================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/lascar.0.6-alpha
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lascar -j 47 @install
# exit-code            1
# env-file             ~/.opam/log/lascar-8-40e9dc.env
# output-file          ~/.opam/log/lascar-8-40e9dc.out
### output ###
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/utils/.utils.objs/byte -no-alias-deps -open Utils -o src/utils/.utils.objs/byte/utils__ListExt.cmi -c -intf src/utils/listExt.mli)
# File "src/utils/listExt.mli", line 113, characters 35-43:
# 113 | val parse: string -> (Genlex.token Stream.t -> 'a) -> Genlex.token Stream.t -> 'a list
#                                          ^^^^^^^^
# Error: Unbound module Stream



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install rfsm 1.6-alpha-3
+- 
+- The following actions failed
| - build lascar 0.6-alpha
+- 
+- The following changes have been performed (the rest was aborted)
| - install dune         3.6.1
| - install menhir       20211012
| - install menhirLib    20211012
| - install menhirSdk    20211012
| - install ocamlgraph   2.0.0
| - install stdlib-shims 0.3.0
+- 
# 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-20230102050138.export"
'opam install -vy rfsm.1.6-alpha-3' failed.
"/bin/bash" "-c"
"
opam remove -y "rfsm.1.6-alpha-3"
opam install -vy "rfsm.1.6-alpha-3"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "rfsm.1.6-alpha-3" | 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