Building on doris.ocamllabs.io
(from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1)
Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally
docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam
88273bdcc4bc: Pulling fs layer
88273bdcc4bc: Verifying Checksum
88273bdcc4bc: Download complete
88273bdcc4bc: Pull complete
Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
2022-10-12 21:11.10 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" 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-10-12 21:11.10 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f"))
2022-10-12 21:11.10 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" 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-10-12 21:11.10 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '4.03' '4.03.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.03.0"} | "ocaml-system" {= "4.03.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.03.0 (https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz)
-> installed ocaml-base-compiler.4.03.0
-> installed ocaml-config.1
-> installed ocaml.4.03.0
Done.
# Run eval $(opam env --switch=4.03) to update the current shell environment
2022-10-12 21:11.10 ---> using "32faf0e4f6f87f7258625a06d8e41dfa24e687e08ecd46f864b5cb6e4705e404" 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-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Fetched 341 kB in 2s (152 kB/s)
- Reading package lists...
-
2022-10-12 21:11.10 ---> using "b9163092cfb041c52e3a2cc0c37dd907ba8603001ae7d4738607108382c54712" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install -y ocaml-secondary-compiler"))
The following actions will be performed:
=== install 1 package
- install ocaml-secondary-compiler 4.08.1-1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-secondary-compiler.4.08.1-1 (cached)
-> installed ocaml-secondary-compiler.4.08.1-1
Done.
# Run eval $(opam env) to update the current shell environment
2022-10-12 21:11.10 ---> using "3872546b567026204b594ccd7dccc37b1c150d29ab4c7550e056f13adb2088a9" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"ocamlwc.0.3\"\
\nopam install -vy \"ocamlwc.0.3\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"ocamlwc.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"))
Nothing to do.
[NOTE] ocamlwc.0.3 is not installed.
The following actions will be performed:
=== install 1 package
- install ocamlwc 0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3:
-> retrieved ocamlwc.0.3 (cached)
Processing 2/3: [ocamlwc: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix=/home/opam/.opam/4.03" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlwc.0.3)
- creating cache ./config.cache
- checking for ocamlc... ocamlc
- ocaml version is 4.03.0
- ocaml library path is /home/opam/.opam/4.03/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking ocamlopt version... ok
- checking for ocamlc.opt... ocamlc.opt
- checking ocamlc.opt version... ok
- checking for ocamlopt.opt... ocamlopt.opt
- checking ocamlc.opt version... ok
- checking for ocamldep... ocamldep
- checking for ocamllex... ocamllex
- checking for ocamlyacc... ocamlyacc
- updating cache ./config.cache
- creating ./config.status
- creating Makefile
Processing 2/3: [ocamlwc: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlwc.0.3)
- ocamllex ocamlwc.mll
- 222 states, 806 transitions, table size 4556 bytes
- ocamlopt.opt -o ocamlwc ocamlwc.ml
- File "ocamlwc.mll", line 228, characters 18-34:
- Warning 52: the argument of this constructor should not be matched against a
- constant pattern; the actual value of the argument could change
- in the future.
-> compiled ocamlwc.0.3
Processing 3/3: [ocamlwc: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.03/.opam-switch/build/ocamlwc.0.3)
- cp ocamlwc /home/opam/.opam/4.03/bin
-> installed ocamlwc.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2022-10-12 21:11.18 ---> saved as "a97cbc68b669e5e44bc52f3038a9b425f02562c78c61f1302e65c7abc2fe9516"
Job succeeded