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


Building on c2-4.equinix.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
384752546542: Pulling fs layer
384752546542: Download complete
384752546542: Pull complete
Digest: sha256:fcf3121263c59a1f7716501e69921b634fac652b1c96757a18e40158f5625013
Status: Downloaded newer image for ocaml/opam:debian-unstable
2023-11-18 11:54.03 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-11-18 11:54.03 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 2dcd8684f95238ebe345f74fa6b964d42688f5b0"))
2023-11-18 11:54.03 ---> using "b0c8000718557b8df6d1174db7450577d3e662bdcbef702258ae014f9d274c4a" 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-11-18 11:54.03 ---> using "ffa3c56d541ad61e0ad7a929f22642bbc60b6f0af5a2de19fe22937eb35228af" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.09' '4.09.1'"))

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.09.1  (https://github.com/ocaml/ocaml/archive/4.09.1.tar.gz)
-> installed ocaml-base-compiler.4.09.1
-> installed ocaml-config.1
-> installed ocaml.4.09.1
Done.
# Run eval $(opam env --switch=4.09) to update the current shell environment
2023-11-18 11:54.03 ---> using "f178e687347fad74c20f5c4994596ffd462fdb43ecda4027de536b658ff1a722" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-11-17-1403.39-F-2023-11-17-0204.01.pdiff [30.7 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-11-17-1403.39-F-2023-11-17-0204.01.pdiff [30.7 kB]
- Fetched 292 kB in 2s (164 kB/s)
- Reading package lists...
- 
2023-11-18 11:54.03 ---> using "4f0580277f92b713a4e9224134b609d691832fc089c4d4da8ed9e933842d80f2" from cache

/: (env OCAMLPARAM warn-error=+8,_)

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

The following actions will be performed:
=== install 7 packages
  - install dune                3.11.1  [required by ppx_gen_rec]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppx_gen_rec         2.0.0
  - install ppxlib              0.31.0  [required by ppx_gen_rec]
  - install sexplib0            v0.16.0 [required by ppxlib]
  - install stdlib-shims        0.3.0   [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/21:
Processing  2/21:
Processing  3/21:
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing  4/21: [ppx_gen_rec.2.0.0: http]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing  5/21: [ppx_gen_rec.2.0.0: http]
-> retrieved ppxlib.0.31.0  (cached)
Processing  6/21: [ppx_gen_rec.2.0.0: http]
-> retrieved sexplib0.v0.16.0  (cached)
Processing  7/21: [ppx_gen_rec.2.0.0: http]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  7/21:
-> retrieved ppx_gen_rec.2.0.0  (https://github.com/flowtype/ocaml-ppx_gen_rec/releases/download/v2.0.0/ppx_gen_rec-v2.0.0.tbz)
-> retrieved dune.3.11.1  (cached)
Processing  8/21: [dune: ocaml 47]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.09/.opam-switch/build/dune.3.11.1)
- ocamlc -custom -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 47
- cd _boot && /home/opam/.opam/4.09/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads dune_util__Gc.ml
- File "src/dune_util/gc.ml", lines 78-95, characters 5-6:
- Warning 23: all the fields are explicitly listed in this record:
- the 'with' clause is useless.
- 

Processing  8/21: [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/4.09/.opam-switch/build/dune.3.11.1)
-> compiled  dune.3.11.1
-> installed dune.3.11.1
Processing 10/21: [ocaml-compiler-libs: dune build]
Processing 11/21: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
Processing 12/21: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build]
Processing 13/21: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: 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/4.09/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
Processing 13/21: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 14/21: [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_derivers" "-j" "47" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ppx_derivers.1.2.1)
-> compiled  ppx_derivers.1.2.1
Processing 14/21: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed ppx_derivers.1.2.1
Processing 15/21: [ocaml-compiler-libs: dune build] [sexplib0: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sexplib0" "-j" "47" (CWD=/home/opam/.opam/4.09/.opam-switch/build/sexplib0.v0.16.0)
-> compiled  sexplib0.v0.16.0
Processing 15/21: [ocaml-compiler-libs: dune build]
-> installed sexplib0.v0.16.0
Processing 16/21: [ocaml-compiler-libs: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-compiler-libs" "-j" "47" "@install" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ocaml-compiler-libs.v0.12.4)
-> compiled  ocaml-compiler-libs.v0.12.4
-> installed ocaml-compiler-libs.v0.12.4
Processing 18/21: [ppxlib: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppxlib" "-j" "47" "@install" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ppxlib.0.31.0)
-> compiled  ppxlib.0.31.0
-> installed ppxlib.0.31.0
Processing 20/21: [ppx_gen_rec: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_gen_rec" "-j" "47" (CWD=/home/opam/.opam/4.09/.opam-switch/build/ppx_gen_rec.2.0.0)
- (cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.ppx_gen_rec.objs/byte -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.09/lib/ocaml/compiler-libs -I /home/opam/.opam/4.09/lib/ppx_derivers -I /home/opam/.opam/4.09/lib/ppxlib -I /home/opam/.opam/4.09/lib/ppxlib/ast -I /home/opam/.opam/4.09/lib/ppxlib/astlib -I /home/opam/.opam/4.09/lib/ppxlib/print_diff -I /home/opam/.opam/4.09/lib/ppxlib/stdppx -I /home/opam/.opam/4.09/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.ppx_gen_rec.objs/byte/ppx_gen_rec.cmo -c -impl src/ppx_gen_rec.ml)
- File "src/ppx_gen_rec.ml", lines 52-82, characters 49-66:
- 52 | .................................................function
- 53 |   | Psig_value {pval_loc; _} ->
- 54 |       raise_errorf ~loc:pval_loc "ppx_gen_rec: Psig_value not supported yet"
- 55 |   | Psig_type (rec_flag, decls) ->
- 56 |       Pstr_type (rec_flag, decls)
- ...
- 79 |   | Psig_typesubst _ -> 
- 80 |       raise_errorf "ppx_gen_rec: Psig_typesubst not supported yet"
- 81 |   | Psig_modsubst _ ->
- 82 |       raise_errorf  "ppx_gen_rec: Psig_modsubst not supported yet"
- Error (warning 8): this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Psig_modtypesubst _
- (cd _build/default && /home/opam/.opam/4.09/bin/ocamlopt.opt -w -40 -g -I src/.ppx_gen_rec.objs/byte -I src/.ppx_gen_rec.objs/native -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.09/lib/ocaml/compiler-libs -I /home/opam/.opam/4.09/lib/ppx_derivers -I /home/opam/.opam/4.09/lib/ppxlib -I /home/opam/.opam/4.09/lib/ppxlib/ast -I /home/opam/.opam/4.09/lib/ppxlib/astlib -I /home/opam/.opam/4.09/lib/ppxlib/print_diff -I /home/opam/.opam/4.09/lib/ppxlib/stdppx -I /home/opam/.opam/4.09/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.ppx_gen_rec.objs/native/ppx_gen_rec.cmx -c -impl src/ppx_gen_rec.ml)
- File "src/ppx_gen_rec.ml", lines 52-82, characters 49-66:
- 52 | .................................................function
- 53 |   | Psig_value {pval_loc; _} ->
- 54 |       raise_errorf ~loc:pval_loc "ppx_gen_rec: Psig_value not supported yet"
- 55 |   | Psig_type (rec_flag, decls) ->
- 56 |       Pstr_type (rec_flag, decls)
- ...
- 79 |   | Psig_typesubst _ -> 
- 80 |       raise_errorf "ppx_gen_rec: Psig_typesubst not supported yet"
- 81 |   | Psig_modsubst _ ->
- 82 |       raise_errorf  "ppx_gen_rec: Psig_modsubst not supported yet"
- Error (warning 8): this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Psig_modtypesubst _
[ERROR] The compilation of ppx_gen_rec.2.0.0 failed at "dune build -p ppx_gen_rec -j 47".

#=== ERROR while compiling ppx_gen_rec.2.0.0 ==================================#
# context              2.2.0~alpha3 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.09/.opam-switch/build/ppx_gen_rec.2.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_gen_rec -j 47
# exit-code            1
# env-file             ~/.opam/log/ppx_gen_rec-8-07896b.env
# output-file          ~/.opam/log/ppx_gen_rec-8-07896b.out
### output ###
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.ppx_gen_rec.objs/byte -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.09/lib/ocaml/compiler-libs -I /home/opam/.opam/4.09/lib/ppx_derivers -I /home/opam/.opam/4.09/lib/ppxlib -I /home/opam/.opam/4.09/lib/ppxlib/ast -I /home/opam/.opam/4.09/lib/ppxlib/astlib -I /home/opam/.opam/4.09/lib/ppxlib/print_diff -I /home/opam/.opam/4.09/lib/ppxlib/stdppx -I /home/opam/.opam/4.09/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.ppx_gen_rec.objs/byte/ppx_gen_rec.cmo -c -impl src/ppx_gen_rec.ml)
# File "src/ppx_gen_rec.ml", lines 52-82, characters 49-66:
# 52 | .................................................function
# 53 |   | Psig_value {pval_loc; _} ->
# 54 |       raise_errorf ~loc:pval_loc "ppx_gen_rec: Psig_value not supported yet"
# 55 |   | Psig_type (rec_flag, decls) ->
# 56 |       Pstr_type (rec_flag, decls)
# ...
# 79 |   | Psig_typesubst _ -> 
# 80 |       raise_errorf "ppx_gen_rec: Psig_typesubst not supported yet"
# 81 |   | Psig_modsubst _ ->
# 82 |       raise_errorf  "ppx_gen_rec: Psig_modsubst not supported yet"
# Error (warning 8): this pattern-matching is not exhaustive.
# Here is an example of a case that is not matched:
# Psig_modtypesubst _
# (cd _build/default && /home/opam/.opam/4.09/bin/ocamlopt.opt -w -40 -g -I src/.ppx_gen_rec.objs/byte -I src/.ppx_gen_rec.objs/native -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.09/lib/ocaml/compiler-libs -I /home/opam/.opam/4.09/lib/ppx_derivers -I /home/opam/.opam/4.09/lib/ppxlib -I /home/opam/.opam/4.09/lib/ppxlib/ast -I /home/opam/.opam/4.09/lib/ppxlib/astlib -I /home/opam/.opam/4.09/lib/ppxlib/print_diff -I /home/opam/.opam/4.09/lib/ppxlib/stdppx -I /home/opam/.opam/4.09/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.ppx_gen_rec.objs/native/ppx_gen_rec.cmx -c -impl src/ppx_gen_rec.ml)
# File "src/ppx_gen_rec.ml", lines 52-82, characters 49-66:
# 52 | .................................................function
# 53 |   | Psig_value {pval_loc; _} ->
# 54 |       raise_errorf ~loc:pval_loc "ppx_gen_rec: Psig_value not supported yet"
# 55 |   | Psig_type (rec_flag, decls) ->
# 56 |       Pstr_type (rec_flag, decls)
# ...
# 79 |   | Psig_typesubst _ -> 
# 80 |       raise_errorf "ppx_gen_rec: Psig_typesubst not supported yet"
# 81 |   | Psig_modsubst _ ->
# 82 |       raise_errorf  "ppx_gen_rec: Psig_modsubst not supported yet"
# Error (warning 8): this pattern-matching is not exhaustive.
# Here is an example of a case that is not matched:
# Psig_modtypesubst _



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_gen_rec 2.0.0
+- 
+- The following changes have been performed
| - install dune                3.11.1
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers        1.2.1
| - install ppxlib              0.31.0
| - install sexplib0            v0.16.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/4.09/.opam-switch/backup/state-20231118115406.export"
'opam install -vy ppx_gen_rec.2.0.0' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "ppx_gen_rec.2.0.0"
opam install -vy "ppx_gen_rec.2.0.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "ppx_gen_rec.2.0.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