2025-06-12 14:21.11: New job: test patricoferris/jsoo-code-mirror https://github.com/patricoferris/jsoo-code-mirror.git#refs/pull/14/head (62df76675c26369661c0ffd83a154946df4b6535) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/patricoferris/jsoo-code-mirror.git" && cd "jsoo-code-mirror" && git fetch origin "refs/pull/14/head" && git reset --hard 62df7667
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 code-mirror.opam ./
RUN opam pin add -yn code-mirror.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y code-mirror.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
2025-06-12 14:21.11: Using cache hint "patricoferris/jsoo-code-mirror-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613-alpine-3.21-5.3_opam-2.3-f3464d5965327f710fe74005e9709c81"
2025-06-12 14:21.11: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
(comment alpine-3.21-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src code-mirror.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn code-mirror.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0")
(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.3 --depext-only -y code-mirror.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"))
)
2025-06-12 14:21.11: Waiting for resource in pool OCluster
2025-06-12 19:05.22: Waiting for worker…
2025-06-12 19:07.20: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 62df766 Add compartment to customize line numbers
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613)
2025-06-12 19:07.20 ---> using "3141b9cf5ba038771635d2742247938bc41e269100016f85aeafaf7cfcddc947" from cache
/: (comment alpine-3.21-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-12 19:07.20 ---> using "80b751ed47c43451e88cd0293ed9a635ccea08011eeda4114e7ec036c06c48a3" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, 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] Initialised
2025-06-12 19:07.20 ---> using "6c30ca4e379a499434293ac7ae4ccb6757139c93d8bc5916b7557572123e5ba0" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-12 19:07.20 ---> using "a3df42546ff5706a2753d5e221aadf5e7ea87ec715342ceb488042e5402600c3" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-12 19:07.20 ---> using "17ab95ba4820eaae0552c498f14e3328c5320ed844b460f0519c8783adab646a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 19:07.20 ---> using "2f588d97adf599c68da8b5e4e08a15a5bc0bea13c16baed8e756f89965931856" from cache
/src: (copy (src code-mirror.opam) (dst ./))
2025-06-12 19:07.20 ---> using "56f90308c9834d3cf37094f5d0e56298ffe9257e42ca51996c0ac008e3d64269" from cache
/src: (run (network host)
(shell "opam pin add -yn code-mirror.dev './'"))
Package code-mirror does not exist, create as a NEW package? [y/n] y
[code-mirror.dev] synchronised (file:///src)
[WARNING] Failed checks on code-mirror package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
code-mirror is now pinned to file:///src (version dev)
2025-06-12 19:07.20 ---> using "d01f59310f58a7f9ade03785670b95dfc2f7e196a93a593d5f81e5bd36939658" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 19:07.20 ---> using "d59eb19c0f0ebbf1f1bd4acd36db11b3bcfe848e57c18ec46d77e6b430eb5dc0" from cache
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 gen.1.1 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-toplevel.6.0.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0")
/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.3 --depext-only -y code-mirror.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-603-g364e1f9788f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-602-gf01bbdd96f0 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-31-g27f3e5633d0 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58711 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[code-mirror.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-06-12 19:07.20 ---> using "ce2121c2b10fd1f9c863841860299c64498d93894bae44fcaf3769f8cf9d886f" from cache
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 22 packages
- install brr 0.0.7
- install cmdliner 1.3.0
- install dune 3.19.1
- install gen 1.1
- install js_of_ocaml 6.0.1
- install js_of_ocaml-compiler 6.0.1
- install js_of_ocaml-toplevel 6.0.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-compiler-libs v0.17.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install ppxlib 0.35.0
- install sedlex 3.6
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved brr.0.0.7 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1, js_of_ocaml-toplevel.6.0.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved sedlex.3.6 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed dune.3.19.1
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed gen.1.1
-> installed sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.0.1
-> installed js_of_ocaml-toplevel.6.0.1
-> installed brr.0.0.7
-> installed js_of_ocaml.6.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 19:07.20 ---> using "a50cb0a851cf9d51e42f2a95062ad54a5d914c8c68ed7ed8e06d548b56e50af5" from cache
/src: (copy (src .) (dst /src))
2025-06-12 19:07.20 ---> saved as "2ff7d916667d976ae729366efd2391002f046984a06a5f5fa5825f34c5db2a6b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-12 19:07.21 ---> saved as "6790d1c50c9454860215aca8a24b20065251a2cc076e254b8496ffd6063ac535"
Job succeeded
2025-06-12 19:07.21: Job succeeded