2025-05-11 10:25.14: New job: test patricoferris/jsoo-code-mirror https://github.com/patricoferris/jsoo-code-mirror.git#refs/heads/main (5f53cc70b01ad539a16060dadca11b45ab1acc9c) (linux-x86_64:ubuntu-24.10-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/patricoferris/jsoo-code-mirror.git" -b "main" && cd "jsoo-code-mirror" && git reset --hard 5f53cc70
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175
# ubuntu-24.10-4.14_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.18.2 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.4 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.2.2.2"
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-05-11 10:25.14: Using cache hint "patricoferris/jsoo-code-mirror-ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175-ubuntu-24.10-4.14_opam-2.3-0198bdc286022b4e21e1fdf8e92a9a00"
2025-05-11 10:25.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175)
(comment ubuntu-24.10-4.14_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.18.2 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.4 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.2.2.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.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-05-11 10:25.14: Waiting for resource in pool OCluster
2025-05-11 10:25.14: Waiting for worker…
2025-05-11 10:25.14: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 8430efa Update ocamlformat to 0.27.0
HEAD is now at 5f53cc7 Merge pull request #10 from art-w/ocamlformat27
(from ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-4.14@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175' locally
docker.io/ocaml/opam@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175: Pulling from ocaml/opam
15a4d7cd3af3: Pulling fs layer
15a4d7cd3af3: Verifying Checksum
15a4d7cd3af3: Download complete
15a4d7cd3af3: Pull complete
Digest: sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175
Status: Downloaded newer image for ocaml/opam@sha256:aebf9964a5bdf59c97236b0e84946926eb93cc2e093ae7942d6f133549877175
2025-05-11 10:25.15 ---> using "df5035e9f373cab7b647944908c29ef23c3e0b7c73ed8554b911086a83caab6a" from cache
/: (comment ubuntu-24.10-4.14_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-05-11 10:25.15 ---> using "bfd22775a56a1230bf2c770102e71126eb42444d0731fc937e63860ed6fc2cf1" 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.
Continue? [y/n] y
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.
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-11 10:25.15 ---> using "83f0a35ae00f3c61272d5ad8e69db6384df80349de134224fcc146bea8599c21" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-11 10:25.15 ---> using "078834a099fd8cb6c06401c0cb0fa407960a21508c46eb76c37e78414b2e2b3d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-11 10:25.15 ---> using "fa31c9afced9f0b3d7f50d81c982c316fd2fc0118109eb0238332324a80f23dd" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
34a3fc46c3..0d013e603b master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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-05-11 10:25.15 ---> using "f96daaab7ccf37c7e4e2bc781240342ca85db85ff5f779999e6098fc5f10e731" from cache
/src: (copy (src code-mirror.opam) (dst ./))
2025-05-11 10:25.15 ---> using "d4457a00176e2cccaf24335c0769dd9add07e37cec1d01754f0fb27240a95c78" 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-05-11 10:25.15 ---> using "588af0399b2157c2d792f4519cdd852ab5d716dec9602a28d793fcde5635c091" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-11 10:25.15 ---> using "71da920d8c8d55e09f26d367d7686645887d318ce0312de2ccbe7e20fe3a0a13" from cache
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.18.2 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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 sedlex.3.4 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.2.2.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.3 --depext-only -y code-mirror.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [293 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/multiverse amd64 Packages [12.8 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [317 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [520 kB]
- Get:9 http://archive.ubuntu.com/ubuntu oracular-backports/universe amd64 Packages [5423 B]
- Get:10 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [381 kB]
- Get:11 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [238 kB]
- Get:12 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [287 kB]
- Get:13 http://security.ubuntu.com/ubuntu oracular-security/multiverse amd64 Packages [11.8 kB]
- Fetched 2443 kB in 1s (2790 kB/s)
- Reading package lists...
-
<><> 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 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).
2025-05-11 10:25.15 ---> using "8cb3a19eeb41113bf7a83f5c3ac0047707e369436b7b2746b72d11a1e8e12c0f" 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 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 22 packages
- install brr 0.0.7
- install cmdliner 1.3.0
- install dune 3.18.2
- 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.12.4
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install ppxlib 0.35.0
- install sedlex 3.4
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install yojson 2.2.2
<><> 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.18.2 (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.12.4 (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 sedlex.3.4 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed dune.3.18.2
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.2.2.2
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed sedlex.3.4
-> 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-05-11 10:25.15 ---> using "bb7d425332f0f563d2b8ddfc1ce29456ce0909b652652ce4de02e720af64b85b" from cache
/src: (copy (src .) (dst /src))
2025-05-11 10:25.15 ---> using "323ceed4c0e2ce1648d711f580322ed29e043a9f2df71f2513114c1548b52e6d" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-05-11 10:25.15 ---> using "268e340c33dfa417f0d71ace70141a675c3889f6ed0d2ea2ab5aec2badf32235" from cache
Job succeeded
2025-05-11 10:25.16: Job succeeded