Organisationsocaml-docodoc-parserccb39b (main)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Logs

Show full logs
2025-07-04 15:12.23: New job: test ocaml-doc/odoc-parser https://github.com/ocaml-doc/odoc-parser.git#refs/heads/main (ccb39b9c7a061ad0b86ae9427bad092bfe747966) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-doc/odoc-parser.git" -b "main" && cd "odoc-parser" && git reset --hard ccb39b9c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
# alpine-3.21-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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 odoc-parser.opam ./
RUN opam pin add -yn odoc-parser.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 jane-street-headers.v0.16.0 jst-config.v0.16.0 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_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y odoc-parser.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-07-04 15:12.23: Using cache hint "ocaml-doc/odoc-parser-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3-alpine-3.21-4.14_opam-2.3-5259d65aa344d4bbb866d77281296764"
2025-07-04 15:12.23: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
 (comment alpine-3.21-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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src odoc-parser.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn odoc-parser.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 jane-street-headers.v0.16.0 jst-config.v0.16.0 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_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.8")
 (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 odoc-parser.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-07-04 15:12.23: Waiting for resource in pool OCluster
2025-07-04 15:49.22: Waiting for worker…
2025-07-04 15:52.31: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at ccb39b9 Better errors and more permissive parser

(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
2025-07-04 15:52.31 ---> using "cae3f84721b1d1626d38afde4577807843a0da8ba3807fc3f5f4606864be9e98" from cache

/: (comment alpine-3.21-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-07-04 15:52.31 ---> using "2a1b55d524b2e4107c58bb0f26b0966461f7df889d8d2380d6f73d40780d70fd" 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-07-04 15:52.31 ---> using "ee8cb0dc9d3d805aacaba9dc7c4502800e2864636d991c4f741219dd208e85a6" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 15:52.31 ---> using "13db3bce6da9230f287f61b091a5e2118713d0477a02ba9ea85403d455daf23b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-07-04 15:52.31 ---> using "12e1496ffec8af3593a23abc2f334891938014651abc1cbaa893a5408d93075d" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   bc726805e3..ee56c84f60  master     -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.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-07-04 15:52.31 ---> using "48e172459435aa59c5fa7b8ca61514a3a1b05aeda20e4ee08cf9878c8b3d1335" from cache

/src: (copy (src odoc-parser.opam) (dst ./))
2025-07-04 15:52.31 ---> saved as "dde0d758a194865de68b45751c88ab2a82bc849228568eceb41552b7bad60fdc"

/src: (run (network host)
           (shell "opam pin add -yn odoc-parser.dev './'"))
[odoc-parser.dev] synchronised (file:///src)
odoc-parser is now pinned to file:///src (version dev)
2025-07-04 15:52.34 ---> saved as "2252672d2edd99f20b70366651bdc53759fe3aae837b65bc3192c50001ec0c9d"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 15:52.34 ---> saved as "47fb6652c0dc18869c5510256bd73828c8980cbc3c70e71930f289b163e17102"

/src: (env DEPS "astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 jane-street-headers.v0.16.0 jst-config.v0.16.0 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_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.1 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.1 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0 topkg.1.0.8")

/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 odoc-parser.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-626-g91d0df3d1c9 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-626-g91d0df3d1c9 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1543-gfac967521fa [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1544-g28f69fe8c24 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1525-g6f080829b85 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58978 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[odoc-parser.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-07-04 15:52.44 ---> saved as "38a3a2bffd7a417a513bd201442b8f3d2145b94a15fc4ebb20444b92ca1e7d8a"

/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 33 packages
  - install astring             0.8.5
  - install base                v0.16.4
  - install camlp-streams       5.0.1
  - install csexp               1.5.2
  - install dune                3.19.1
  - install dune-configurator   3.19.1
  - install jane-street-headers v0.16.0
  - install jst-config          v0.16.0
  - install ocaml-compiler-libs v0.12.4
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ppx_assert          v0.16.0
  - install ppx_base            v0.16.0
  - install ppx_cold            v0.16.0
  - install ppx_compare         v0.16.0
  - install ppx_derivers        1.2.1
  - install ppx_enumerate       v0.16.0
  - install ppx_expect          v0.16.1
  - install ppx_globalize       v0.16.0
  - install ppx_hash            v0.16.0
  - install ppx_here            v0.16.0
  - install ppx_inline_test     v0.16.1
  - install ppx_optcomp         v0.16.0
  - install ppx_sexp_conv       v0.16.0
  - install ppxlib              0.35.0
  - install re                  1.13.2
  - install result              1.5
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdio               v0.16.0
  - install stdlib-shims        0.3.0
  - install time_now            v0.16.0
  - install topkg               1.0.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved jst-config.v0.16.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_assert.v0.16.0  (cached)
-> retrieved ppx_base.v0.16.0  (cached)
-> retrieved ppx_cold.v0.16.0  (cached)
-> retrieved ppx_compare.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.16.0  (cached)
-> retrieved ppx_globalize.v0.16.0  (cached)
-> retrieved ppx_expect.v0.16.1  (cached)
-> retrieved ppx_hash.v0.16.0  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_inline_test.v0.16.1  (cached)
-> retrieved ppx_optcomp.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved time_now.v0.16.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed jane-street-headers.v0.16.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.13.2
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.19.1
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed ppxlib.0.35.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_base.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_expect.v0.16.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 15:54.00 ---> saved as "3f2cea497f0bbea3c980132260bcb4d6fbd888c26d2a6232c3a9b37192a4a69b"

/src: (copy (src .) (dst /src))
2025-07-04 15:54.01 ---> saved as "fe5bd47e5fa6ca61037e501ad3efea219859bac7ea3ccf6c93979b10a375a57f"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-04 15:54.04 ---> saved as "b9f764d59b1930b2b1d2722414314e9d17b1eb0f110f28d8258c369c8cc38c55"
Job succeeded
2025-07-04 15:54.04: Job succeeded