Organisationspatricoferrisjsoo-code-mirrorc895cb ()ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-05-12 11:16.57: New job: test patricoferris/jsoo-code-mirror https://github.com/patricoferris/jsoo-code-mirror.git#refs/heads/main (c895cb718b85fe3ecdcdd5031aaef3bdead3943c) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95
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 c895cb71
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95
# ubuntu-24.04-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-12 11:16.57: Using cache hint "patricoferris/jsoo-code-mirror-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95-ubuntu-24.04-4.14_opam-2.3-0198bdc286022b4e21e1fdf8e92a9a00"
2025-05-12 11:16.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95)
(comment ubuntu-24.04-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-12 11:16.57: Waiting for resource in pool OCluster
2025-05-12 11:16.57: Waiting for worker…
2025-05-12 11:16.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at c895cb7 Merge pull request #12 from art-w/ci


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95' locally
docker.io/ocaml/opam@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95: Pulling from ocaml/opam
88afc42b6f8d: Pulling fs layer
88afc42b6f8d: Verifying Checksum
88afc42b6f8d: Download complete
88afc42b6f8d: Pull complete
Digest: sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95
Status: Downloaded newer image for ocaml/opam@sha256:5040d8bc12d22d44f74ff98285246d4c3405580f77a494a442795370b43f6c95
2025-05-12 11:16.58 ---> using "47e5deb8bfdf1eec6fcf09e0a20d331a4c0f48f438c5ebde6f27683a9c2e6fc3" from cache


/: (comment ubuntu-24.04-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-12 11:16.58 ---> using "8b0eb0e956eef4f5352638363859fdb7a2ae6bb2476bc0855c8fd0bfc6a7d472" 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-05-12 11:16.58 ---> using "08100bf13be1fd02c4fd1d1423f87ea60abafed4fc87de1b54d66cde9950a726" 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-12 11:16.58 ---> using "bc973c19ab915b9df57eb8a5310ce6b9525bf2b5a9a62c7ec795a6d935792d71" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-12 11:16.58 ---> using "84c816dfe34589390654ef3fc815710cb554da6f9666a71356f019530cde97f6" 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..e79bcaab65  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-12 11:16.58 ---> using "fc2821f4f4cdb4f8b902f76ddf63c7bf5dea798d0c765c9a246a257a7e5a2398" from cache


/src: (copy (src code-mirror.opam) (dst ./))
2025-05-12 11:16.59 ---> saved as "b722cd2595d9e4510c31590c16e239905dcf7befba42db0e4c667f345491fabd"


/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-12 11:17.00 ---> saved as "2fb27cf86cf436eb5a65a8b59a8255b1b0283cde153bacaf7b536ab9d15b1601"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-12 11:17.01 ---> saved as "bbd904ff7f2062ff91bd283a0e1b5916d04cdeeb91694fdbc105d92694d4515e"


/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"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1354 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [22.1 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1033 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1380 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [26.7 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1362 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [31.8 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1318 kB]
- Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1081 kB]
- Fetched 7987 kB in 5s (1748 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-12 11:17.16 ---> saved as "6ddf791c4e5348398629a4427b2d1457ce14c322648eccbf7a3f1c1d72da6106"


/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 ppxlib.0.35.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved sedlex.3.4  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.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 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.12.4
-> installed yojson.2.2.2
-> installed ppxlib.0.35.0
-> installed menhir.20240715
-> 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-12 11:18.30 ---> saved as "9e11657129e416535855eefa58bc9edced4239a89519fb3eefec0797d2a12b48"


/src: (copy (src .) (dst /src))
2025-05-12 11:18.31 ---> saved as "e0eebd612e1daa692ff52dd62d2f6e0fb511f7bb5878161627b199e1f314aeaf"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-05-12 11:18.31 ---> saved as "72f09dc3749d80ba2f823166a88a22d7787daab179b9ee4048bef2e975b24bf6"
Job succeeded
2025-05-12 11:18.32: Job succeeded