2024-04-30 08:00.39: New job: test joelburget/monaco-ocaml https://github.com/joelburget/monaco-ocaml.git#refs/heads/main (b30eb6ff95294a8886dc9eda78ae4f8aa19b9e2d) (linux-x86_64:ubuntu-23.04-4.14_opam-2.1)
Base: ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/joelburget/monaco-ocaml.git" -b "main" && cd "monaco-ocaml" && git reset --hard b30eb6ff
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79
# ubuntu-23.04-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 require.opam monarch.opam monaco.opam ./
RUN opam pin add -yn require.dev './' && \
opam pin add -yn monarch.dev './' && \
opam pin add -yn monaco.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base brr.0.0.6 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.5.7.2 js_of_ocaml-toplevel.5.7.2 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.32.1 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 yojson.2.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y require.dev monarch.dev monaco.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-04-30 08:00.39: Using cache hint "joelburget/monaco-ocaml-ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79-ubuntu-23.04-4.14_opam-2.1-62bc10689ad690208bef0337d562c5ef"
2024-04-30 08:00.39: Using OBuilder spec:
((from ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79)
(comment ubuntu-23.04-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src require.opam monarch.opam monaco.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn require.dev './' && \
\nopam pin add -yn monarch.dev './' && \
\nopam pin add -yn monaco.dev './'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.6 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.5.7.2 js_of_ocaml-toplevel.5.7.2 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.32.1 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 yojson.2.1.2")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y require.dev monarch.dev monaco.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-04-30 08:00.39: Waiting for resource in pool OCluster
2024-04-30 08:25.03: Waiting for worker…
2024-04-30 08:30.42: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
Updating files: 100% (1182/1182), done.
HEAD is now at b30eb6f Add ISC license.
(from ocaml/opam@sha256:ea5881c0af2f847216bf78ddd09dfb723168a43b06d2c07046f1b2ca28b74f79)
2024-04-30 08:30.44 ---> using "d2a34d5ed43b07b41118cc41982b270057a8744cd610867499c0cca59e96bedb" from cache
/: (comment ubuntu-23.04-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 08:30.44 ---> using "a0db4d381cb51c701afcd9e2453f4491adb72cc218030139850149f8916521d0" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-30 08:30.44 ---> using "fb97a78e87f85ec484163b8b015493abaea7aaa61a0a650fb57454f6cbc3ab24" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 08:30.44 ---> using "577f058b1ab5dbb5b7d8cfef0c8f35e0a75d538fc7b8e4f81937e2e7d4e11f66" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-30 08:30.44 ---> using "f34d987a901a544b69c3ca0d0383b18fdffb61e058e7debe1b2d2c14e3f304c3" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e90e14059cec32db91a535e4d257f4189d19feb9 || git fetch origin master) && git reset -q --hard e90e14059cec32db91a535e4d257f4189d19feb9 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c516155a4b..e90e14059c master -> origin/master
e90e14059c Merge pull request #25773 from public-release/opam-publish-sexplib0.v0.17.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-04-30 08:30.44 ---> using "65e5ba67fd4b7a25b869da88ed226476f121ae8b836ac6002d7e6c21ee343257" from cache
/src: (copy (src require.opam monarch.opam monaco.opam) (dst ./))
2024-04-30 08:30.44 ---> saved as "2c1dfba0b30c1ec1eb7d423e4fc95f1c8a64afa3e8ca02fbd29ad3f29c47aa6a"
/src: (run (network host)
(shell "opam pin add -yn require.dev './' && \
\nopam pin add -yn monarch.dev './' && \
\nopam pin add -yn monaco.dev './'"))
Package require does not exist, create as a NEW package? [Y/n] y
[WARNING] Failed checks on require package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
[require.dev] synchronised (file:///src)
require is now pinned to file:///src (version dev)
Package monarch does not exist, create as a NEW package? [Y/n] y
[WARNING] Failed checks on monarch package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
[monarch.dev] synchronised (file:///src)
monarch is now pinned to file:///src (version dev)
Package monaco does not exist, create as a NEW package? [Y/n] y
[WARNING] Failed checks on monaco package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
[monaco.dev] synchronised (file:///src)
monaco is now pinned to file:///src (version dev)
2024-04-30 08:30.55 ---> saved as "523d2407e25b46fe8717ef3a58a46e4d43f403398a772ee93d3715e24570b825"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.6 cmdliner.1.2.0 cppo.1.6.9 dune.3.15.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.5.7.2 js_of_ocaml-toplevel.5.7.2 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.32.1 sedlex.3.2 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 yojson.2.1.2")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y require.dev monarch.dev monaco.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu lunar-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu lunar InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu lunar-backports InRelease
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[monaco.dev] synchronised (no changes)
[monarch.dev] synchronised (no changes)
[require.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-04-30 08:31.27 ---> saved as "9e9a2d9890ecc37c356e92c092779105aa40b7f27cdcb22c0167f3a6439e2939"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
- install ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install stdlib-shims 0.3.0
- install sexplib0 v0.17.0
- install ppx_derivers 1.2.1
- install ocaml-compiler-libs v0.12.4
- install menhirSdk 20231231
- install menhirLib 20231231
- install menhirCST 20231231
- install gen 1.1
- install either 1.0.0
- install cppo 1.6.9
- install ppxlib 0.32.1
- install menhir 20231231
- install yojson 2.1.2
- install sedlex 3.2
- install js_of_ocaml-compiler 5.7.2
- install js_of_ocaml-toplevel 5.7.2
- install brr 0.0.6
===== 23 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved brr.0.0.6 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved js_of_ocaml-compiler.5.7.2 (cached)
-> retrieved menhir.20231231 (cached)
-> retrieved menhirCST.20231231 (cached)
-> retrieved js_of_ocaml-toplevel.5.7.2 (cached)
-> retrieved menhirLib.20231231 (cached)
-> retrieved menhirSdk.20231231 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> installed seq.base
-> retrieved sedlex.3.2 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved yojson.2.1.2 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed dune.3.15.2
-> installed either.1.0.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20231231
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20231231
-> installed menhirLib.20231231
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed yojson.2.1.2
-> installed ppxlib.0.32.1
-> installed menhir.20231231
-> installed sedlex.3.2
-> installed js_of_ocaml-compiler.5.7.2
-> installed js_of_ocaml-toplevel.5.7.2
-> installed brr.0.0.6
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 08:34.20 ---> saved as "4d2b79c0dacce161b24be51fa800304527d246796f1c6da63799fa3764ba433f"
/src: (copy (src .) (dst /src))
2024-04-30 08:34.23 ---> saved as "abf09bed15528f89e53981755054bdb2c60d8db144eab911b525f0595d8b2c95"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-04-30 08:34.25 ---> saved as "52da57436900e5ffc9e3746db7e0b96b769fc53179da8dcccd7fa7939bad7fc0"
Job succeeded
2024-04-30 08:34.26: Job succeeded