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


Building on m1-b.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607)
Unable to find image 'ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607' locally
docker.io/ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607: Pulling from ocaml/opam
2db5444d1f5b: Already exists
955a4d4491b2: Already exists
f7fc0b2e0259: Pulling fs layer
f7fc0b2e0259: Verifying Checksum
f7fc0b2e0259: Download complete
f7fc0b2e0259: Pull complete
Digest: sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607
Status: Downloaded newer image for ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607
2022-02-04 16:35.57 ---> using "046c03104b31caca4776d0f4b3c05e8c36edfcce47e502c904753c15f5c7c145" 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-02-04 16:35.57 ---> using "174def638ec7d2637b0dbcf8d157f3db3ea5f765b545d79ffe1aaf2604b82a96" 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 1741c7614a3f64debaeee6573205d847859e8de4"))
2022-02-04 16:35.57 ---> using "7cf36d2e512b30870bc55678abf5e1cb55cb4319ee557daf9c5c759dde9da99a" 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-02-04 16:35.57 ---> using "3aa3263ea6afcd677a2f49f1557e7725598e35cb434eb2886483b43b368246e0" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.00' '5.00.0+trunk'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.00.0+trunk"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.5.00.0+trunk  (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> installed ocaml-variants.5.00.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.00.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.00) to update the current shell environment
2022-02-04 16:35.57 ---> using "6db236cc1f1725221e20e3d2b802753e98b385fa5d7a8fd438bcf87d21688267" 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-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB]
- Fetched 500 kB in 3s (188 kB/s)
- Reading package lists...
- 
2022-02-04 16:35.57 ---> using "621f94e14925313e036e9e8edb72ef7cc5414527dd9f207f32f6eb37decb7348" from cache

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

Nothing to do.
The following actions will be performed:
  - install seq              base   [required by re]
  - install dune             2.9.3  [required by opam-repository]
  - install stdlib-shims     0.3.0  [required by ocamlgraph]
  - install re               1.10.3 [required by opam-core]
  - install opam-file-format 2.1.0  [required by opam-format]
  - install cppo             1.6.8  [required by opam-core]
  - install ocamlgraph       2.0.0  [required by opam-core]
  - install opam-core        2.0.3  [required by opam-format]
  - install opam-format      2.0.3  [required by opam-repository]
  - install opam-repository  2.0.3
===== 10 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/30:
Processing  2/30:
Processing  3/30:
-> retrieved cppo.1.6.8  (cached)
Processing  4/30:
-> retrieved opam-core.2.0.3  (cached)
Processing  5/30:
-> retrieved ocamlgraph.2.0.0  (cached)
Processing  6/30:
-> retrieved opam-file-format.2.1.0  (cached)
Processing  7/30:
-> retrieved opam-format.2.0.3  (cached)
Processing  8/30:
-> retrieved opam-repository.2.0.3  (cached)
Processing  9/30:
Processing 10/30:
Processing 11/30:
-> installed seq.base
Processing 12/30:
-> retrieved dune.2.9.3  (cached)
Processing 13/30: [dune: ocaml bootstrap.ml]
-> retrieved re.1.10.3  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3)
- File "./bootstrap.ml", line 46, characters 17-27:
- 46 |               && String.sub fn 0 (String.length duneboot) = duneboot
-                       ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- File "./bootstrap.ml", line 103, characters 28-37:
- 103 |   let args = Array.to_list (Array.sub Sys.argv 1 (Array.length Sys.argv - 1)) in
-                                   ^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- ocamlc -output-complete-exe -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/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -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.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_base.ml
- File "vendor/cmdliner/src/cmdliner_base.ml", line 158, characters 14-27:
- Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function.
- cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -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.
- cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_docgen.ml
- File "vendor/cmdliner/src/cmdliner_docgen.ml", line 278, characters 23-39:
- Warning 6 [labels-omitted]: label sec was omitted in the application of this function.
- File "vendor/cmdliner/src/cmdliner_docgen.ml", line 293, characters 22-56:
- Warning 6 [labels-omitted]: label sec was omitted in the application of this function.
- File "vendor/cmdliner/src/cmdliner_docgen.ml", line 294, characters 35-51:
- Warning 6 [labels-omitted]: label sec was omitted in the application of this function.
- File "vendor/cmdliner/src/cmdliner_docgen.ml", line 295, characters 36-52:
- Warning 6 [labels-omitted]: label sec was omitted in the application of this function.
- cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_cline.ml
- File "vendor/cmdliner/src/cmdliner_cline.ml", line 128, characters 20-47:
- Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function.
- cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_arg.ml
- File "vendor/cmdliner/src/cmdliner_arg.ml", line 193, characters 24-50:
- Warning 6 [labels-omitted]: label err was omitted in the application of this function.
- File "vendor/cmdliner/src/cmdliner_arg.ml", line 243, characters 24-50:
- Warning 6 [labels-omitted]: label err was omitted in the application of this function.
- File "vendor/cmdliner/src/cmdliner_arg.ml", line 260, characters 10-36:
- Warning 6 [labels-omitted]: label pos was omitted in the application of this function.
- cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner.ml
- File "vendor/cmdliner/src/cmdliner.ml", line 195, characters 25-47:
- Warning 6 [labels-omitted]: label errs was omitted in the application of this function.
- 

Processing 13/30: [dune: ./dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3)
-> compiled  dune.2.9.3
-> installed dune.2.9.3
Processing 15/30: [cppo: dune build]
Processing 16/30: [cppo: dune build] [opam-file-format: dune build]
Processing 17/30: [cppo: dune build] [opam-file-format: dune build] [re: dune build]
Processing 18/30: [cppo: dune build] [opam-file-format: dune build] [re: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 18/30: [cppo: dune build] [opam-file-format: dune build] [re: dune build]
-> installed stdlib-shims.0.3.0
Processing 19/30: [cppo: dune build] [opam-file-format: dune build] [re: dune build]
Processing 20/30: [cppo: dune build] [ocamlgraph: dune build] [opam-file-format: dune build] [re: dune build]
-       ocamlc src/.opam_file_format.objs/byte/opamLexer.{cmo,cmt}
- File "src/opamLexer.mll", line 21, characters 2-16:
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
-     ocamlopt src/.opam_file_format.objs/native/opamLexer.{cmx,o}
- File "src/opamLexer.mll", line 21, characters 2-16:
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
-> compiled  opam-file-format.2.1.0
Processing 20/30: [cppo: dune build] [ocamlgraph: dune build] [re: dune build]
-> installed opam-file-format.2.1.0
Processing 21/30: [cppo: dune build] [ocamlgraph: dune build] [re: dune build]
-> compiled  re.1.10.3
Processing 21/30: [cppo: dune build] [ocamlgraph: dune build]
-> installed re.1.10.3
Processing 22/30: [cppo: dune build] [ocamlgraph: dune build]
-> compiled  cppo.1.6.8
Processing 22/30: [ocamlgraph: dune build]
-> installed cppo.1.6.8
Processing 23/30: [ocamlgraph: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlgraph" "-j" "47" "@install" (CWD=/home/opam/.opam/5.00/.opam-switch/build/ocamlgraph.2.0.0)
-> compiled  ocamlgraph.2.0.0
-> installed ocamlgraph.2.0.0
Processing 25/30: [opam-core: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--disable-checks" "--prefix" "/home/opam/.opam/5.00" (CWD=/home/opam/.opam/5.00/.opam-switch/build/opam-core.2.0.3)
- checking for ocamlc... ocamlc
- OCaml version is 5.00.0+dev0-2021-11-05
- OCaml library path is /home/opam/.opam/5.00/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamldep.opt... ocamldep.opt
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamldoc.opt... ocamldoc.opt
- checking for ocamlbuild... no
- checking OCaml Sys.os_type... Unix
- checking for gawk... no
- checking for mawk... mawk
- checking for compiler type... 
- cc
- checking for compiler architecture... 
- amd64
- checking for compiler system... linux
- checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables... 
- 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
- checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to accept ISO C89... none needed
- checking for ocamlobjinfo... ocamlobjinfo
- checking for ocamlfind... no
- checking for curl... curl
- checking for dune... dune
- checking for patch... patch
- checking for bunzip2... bunzip2
- 
- checking for OCaml findlib package unix... not found
- checking for OCaml findlib package bigarray... not found
- checking for OCaml findlib package extlib... not found
- checking for OCaml findlib package re... not found
- checking for OCaml findlib package re.glob... not found
- checking for OCaml findlib package cmdliner... not found
- checking for OCaml findlib package ocamlgraph... not found
- checking for OCaml findlib package cudf... not found
- checking for OCaml findlib package dose3.common... not found
- checking for OCaml findlib package dose3.algo... not found
- checking for OCaml findlib package opam-file-format... not found
- checking for OCaml findlib package mccs... not found
- checking for OCaml findlib package cppo... not found
- checking for g++... g++
- checking whether we are using the GNU C++ compiler... yes
- checking whether g++ accepts -g... yes
- 
- configure: creating ./config.status
- config.status: creating Makefile.config
- config.status: creating src/client/opamManifest.inc
- 
- Opam will be built WITH a built-in solver
- 
- Executables will be installed in /home/opam/.opam/5.00/bin
- Manual pages will be installed in /home/opam/.opam/5.00/share/man
Processing 25/30: [opam-core: make opam-core.install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opam-core.install" (CWD=/home/opam/.opam/5.00/.opam-switch/build/opam-core.2.0.3)
- dune build  -p opam-core opam-core.install
-       ocamlc src/core/.opam_core.objs/byte/opamStubsTypes.{cmi,cmo,cmt}
- File "src/core/opamStubsTypes.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-       ocamlc src/core/.opam_core.objs/byte/opamUrl.{cmo,cmt}
- File "src/core/opamUrl.ml", line 56, characters 10-20:
- 56 |     match Re.get_all (Re.exec re u) with
-                ^^^^^^^^^^
- Alert deprecated: Re.get_all
- Use Group.all
- File "src/core/opamUrl.ml", line 109, characters 12-18:
- 109 |       Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "")
-                   ^^^^^^
- Alert deprecated: Re.get
- Use Group.get
- File "src/core/opamUrl.ml", line 109, characters 37-43:
- 109 |       Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "")
-                                            ^^^^^^
- Alert deprecated: Re.get
- Use Group.get
- File "src/core/opamUrl.ml", line 219, characters 6-12:
- 219 |       Re.get (Re.exec re t.path) 1
-             ^^^^^^
- Alert deprecated: Re.get
- Use Group.get
-       ocamlc src/core/.opam_core.objs/byte/opamFilename.{cmo,cmt} (exit 2)
- (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamFilename.cmo -c -impl src/core/opamFilename.ml)
- File "src/core/opamFilename.ml", line 349, characters 11-25:
- 349 | let link ?(relative=false) ~target ~link =
-                  ^^^^^^^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/core/opamFilename.ml", line 386, characters 17-36:
- 386 |         let ch = Pervasives.open_out null in
-                        ^^^^^^^^^^^^^^^^^^^
- Error: Unbound module Pervasives
-       ocamlc src/core/.opam_core.objs/byte/opamProcess.{cmo,cmt} (exit 2)
- (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamProcess.cmo -c -impl src/core/opamProcess.ml)
- File "src/core/opamProcess.ml", line 385, characters 11-28:
- 385 |      flush Pervasives.stdout);
-                  ^^^^^^^^^^^^^^^^^
- Error: Unbound module Pervasives
-       ocamlc src/core/.opam_core.objs/byte/opamStd.{cmo,cmt} (exit 2)
- (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamStd.cmo -c -impl src/core/opamStd.ml)
- File "src/core/opamStd.ml", line 431, characters 32-46:
- 431 |       let subs = Array.to_list (Re.get_all_ofs subs) in
-                                       ^^^^^^^^^^^^^^
- Alert deprecated: Re.get_all_ofs
- Use Group.all_offset
- File "src/core/opamStd.ml", line 841, characters 4-22:
- 841 |     Pervasives.at_exit f;
-           ^^^^^^^^^^^^^^^^^^
- Error: Unbound module Pervasives
-     ocamlopt src/core/.opam_core.objs/native/opamStd.{cmx,o} (exit 2)
- (cd _build/default && /home/opam/.opam/5.00/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamStd.cmx -c -impl src/core/opamStd.ml)
- File "src/core/opamStd.ml", line 431, characters 32-46:
- 431 |       let subs = Array.to_list (Re.get_all_ofs subs) in
-                                       ^^^^^^^^^^^^^^
- Alert deprecated: Re.get_all_ofs
- Use Group.all_offset
- File "src/core/opamStd.ml", line 841, characters 4-22:
- 841 |     Pervasives.at_exit f;
-           ^^^^^^^^^^^^^^^^^^
- Error: Unbound module Pervasives
- make: *** [Makefile:104: opam-core.install] Error 1
[ERROR] The compilation of opam-core.2.0.3 failed at "make opam-core.install".

#=== ERROR while compiling opam-core.2.0.3 ====================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.00.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.00/.opam-switch/build/opam-core.2.0.3
# command              ~/.opam/opam-init/hooks/sandbox.sh build make opam-core.install
# exit-code            2
# env-file             ~/.opam/log/opam-core-10-0ae244.env
# output-file          ~/.opam/log/opam-core-10-0ae244.out
### output ###
# dune build  -p opam-core opam-core.install
#       ocamlc src/core/.opam_core.objs/byte/opamStubsTypes.{cmi,cmo,cmt}
# File "src/core/opamStubsTypes.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
#       ocamlc src/core/.opam_core.objs/byte/opamUrl.{cmo,cmt}
# File "src/core/opamUrl.ml", line 56, characters 10-20:
# 56 |     match Re.get_all (Re.exec re u) with
#                ^^^^^^^^^^
# Alert deprecated: Re.get_all
# Use Group.all
# File "src/core/opamUrl.ml", line 109, characters 12-18:
# 109 |       Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "")
#                   ^^^^^^
# Alert deprecated: Re.get
# Use Group.get
# File "src/core/opamUrl.ml", line 109, characters 37-43:
# 109 |       Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "")
#                                            ^^^^^^
# Alert deprecated: Re.get
# Use Group.get
# File "src/core/opamUrl.ml", line 219, characters 6-12:
# 219 |       Re.get (Re.exec re t.path) 1
#             ^^^^^^
# Alert deprecated: Re.get
# Use Group.get
#       ocamlc src/core/.opam_core.objs/byte/opamFilename.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamFilename.cmo -c -impl src/core/opamFilename.ml)
# File "src/core/opamFilename.ml", line 349, characters 11-25:
# 349 | let link ?(relative=false) ~target ~link =
#                  ^^^^^^^^^^^^^^
# Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
# File "src/core/opamFilename.ml", line 386, characters 17-36:
# 386 |         let ch = Pervasives.open_out null in
#                        ^^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
#       ocamlc src/core/.opam_core.objs/byte/opamProcess.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamProcess.cmo -c -impl src/core/opamProcess.ml)
# File "src/core/opamProcess.ml", line 385, characters 11-28:
# 385 |      flush Pervasives.stdout);
#                  ^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
#       ocamlc src/core/.opam_core.objs/byte/opamStd.{cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamStd.cmo -c -impl src/core/opamStd.ml)
# File "src/core/opamStd.ml", line 431, characters 32-46:
# 431 |       let subs = Array.to_list (Re.get_all_ofs subs) in
#                                       ^^^^^^^^^^^^^^
# Alert deprecated: Re.get_all_ofs
# Use Group.all_offset
# File "src/core/opamStd.ml", line 841, characters 4-22:
# 841 |     Pervasives.at_exit f;
#           ^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
#     ocamlopt src/core/.opam_core.objs/native/opamStd.{cmx,o} (exit 2)
# (cd _build/default && /home/opam/.opam/5.00/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/5.00/lib/ocamlgraph -I /home/opam/.opam/5.00/lib/re -I /home/opam/.opam/5.00/lib/seq -I /home/opam/.opam/5.00/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamStd.cmx -c -impl src/core/opamStd.ml)
# File "src/core/opamStd.ml", line 431, characters 32-46:
# 431 |       let subs = Array.to_list (Re.get_all_ofs subs) in
#                                       ^^^^^^^^^^^^^^
# Alert deprecated: Re.get_all_ofs
# Use Group.all_offset
# File "src/core/opamStd.ml", line 841, characters 4-22:
# 841 |     Pervasives.at_exit f;
#           ^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
# make: *** [Makefile:104: opam-core.install] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install opam-format     2.0.3
| - install opam-repository 2.0.3
+- 
+- The following actions failed
| - build opam-core 2.0.3
+- 
+- The following changes have been performed (the rest was aborted)
| - install cppo             1.6.8
| - install dune             2.9.3
| - install ocamlgraph       2.0.0
| - install opam-file-format 2.1.0
| - install re               1.10.3
| - install seq              base
| - 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.00/.opam-switch/backup/state-20220204163610.export"
'opam install -vy opam-repository.2.0.3' failed.
"/bin/bash" "-c"
"
opam remove -y "opam-repository.2.0.3"
opam install -vy "opam-repository.2.0.3"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "opam-repository.2.0.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