Organisationspatricoferrisjsoo-code-mirrorc895cb ()freebsd-14.2-5.3_opam-2.3

freebsd-14.2-5.3_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) (freebsd-x86_64:freebsd-14.2-5.3_opam-2.3)
Base: freebsd-14.2-ocaml-5.3
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 freebsd-14.2-ocaml-5.3
# freebsd-14.2-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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-domains.base base-effects.base base-nnp.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.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.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-freebsd-14.2-ocaml-5.3-freebsd-14.2-5.3_opam-2.3-69ba49fc0cef4e5f7179ef4a457b5720"
2025-05-12 11:16.57: Using OBuilder spec:
((from freebsd-14.2-ocaml-5.3)
(comment freebsd-14.2-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/local/bin/opam-2.3 /usr/local/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-domains.base base-effects.base base-nnp.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.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.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 rosemary
HEAD is now at 62df766 Add compartment to customize line numbers
HEAD is now at c895cb7 Merge pull request #12 from art-w/ci


(from freebsd-14.2-ocaml-5.3)
2025-05-12 11:16.58 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache


/: (comment freebsd-14.2-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/local/bin/opam-2.3 /usr/local/bin/opam"))
2025-05-12 11:16.58 ---> using "6c919feff42b8acbece064f547886f17e62a0f8c652c95803d5cc1a0edc05bf0" from cache


/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-05-12 11:16.58 ---> using "ef1aecc2d79e0d6d7a69975e03fbee48aae321cc5ded967c4b85817abcd33408" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-12 11:16.58 ---> using "b81c61e28dd398a2621aef3fc778c808fda4399fe66dbfb28a40b55bd44ce32a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-12 11:16.58 ---> using "46859cd3f1ed5f6081f98d282b27cc9fcab2b0b04b4be45ac52d723eb6d8a59e" 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"))
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).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-compiler.5.4
 ocaml-base-compiler.5.3.0 is installed and requires ocaml-compiler = 5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-05-12 11:16.58 ---> using "ed83e18309f19cd8f5056b6b0ea4d9f4abe4b4b5940c53029385f326c0d414f5" from cache


/src: (copy (src code-mirror.opam) (dst ./))
2025-05-12 11:16.58 ---> using "f1919248b5f05f073ea40feaf08edaa2810c585bebe4d56088d65f2eb2c074a1" 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-12 11:16.58 ---> using "347b8b0e73c84f6b9cdcc67bec81c69c9fe1e0adc6bcf88abc01c074406b4079" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-12 11:16.58 ---> using "93b9a5e27ef7ca046357fcd1bd32e098ce17b88b6e38fbbd3a194584a434fdc8" 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.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.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.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"))
[WARNING] Unknown update command for bsd, skipping system update


<><> 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-05-12 11:16.58 ---> using "ceebd5c4e0b6f29213102cdfb5339e9a59ec5b3f9687d3b9b8ab6329845b4d01" 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
 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-compiler-libs  v0.17.0
 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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved cmdliner.1.3.0  (cached)
 retrieved gen.1.1  (https://github.com/c-cube/gen/archive/v1.1.tar.gz)
 retrieved dune.3.18.2  (cached)
 retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (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)
 installed cmdliner.1.3.0
 retrieved ppxlib.0.35.0  (cached)
 retrieved sedlex.3.4  (https://github.com/ocaml-community/sedlex/archive/refs/tags/v3.4.tar.gz)
 retrieved seq.base  (cached)
 installed seq.base
 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)
 retrieved brr.0.0.7  (https://erratique.ch/software/brr/releases/brr-0.0.7.tbz)
 installed ocamlfind.1.9.8
 installed ocamlbuild.0.16.1
 retrieved js_of_ocaml.6.0.1, js_of_ocaml-compiler.6.0.1, js_of_ocaml-toplevel.6.0.1  (https://github.com/ocsigen/js_of_ocaml/releases/download/6.0.1/js_of_ocaml-6.0.1.tbz)
 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 gen.1.1
 installed sexplib0.v0.17.0
 installed menhirLib.20240715
 installed ocaml-compiler-libs.v0.17.0
 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.
2025-05-12 11:16.59 ---> using "13cdf09b1f1c93bc1cb7de2d7e495e3ecde14ee5c9b5e745bad11394e154f5f5" from cache


/src: (copy (src .) (dst /src))
2025-05-12 11:16.59 ---> using "a5273bb067f0b6f3b6ad8c59ffcf421b097f7e0ae9a6bbdb1a661e510e391a02" from cache


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-05-12 11:16.59 ---> using "1b008d625f9155a4ad811432e808fbb7d0a156a640be30f0b6a3752602027a0e" from cache
Job succeeded
2025-05-12 11:16.59: Job succeeded