Organisationstaridesruntime_events_toolsd976c8 ()alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Logs

Show full logs
2025-12-17 13:51.39: New job: test tarides/runtime_events_tools https://github.com/tarides/runtime_events_tools.git#refs/pull/61/head (d976c82a31af593781c284d33f0e7623c71db0f1) (linux-x86_64:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/tarides/runtime_events_tools.git" && cd "runtime_events_tools" && git fetch origin "refs/pull/61/head" && git reset --hard d976c82a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66
# alpine-3.22-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 runtime_events_tools_bare.opam runtime_events_tools.opam ./
RUN opam pin add -yn runtime_events_tools_bare.dev './' && \
    opam pin add -yn runtime_events_tools.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y runtime_events_tools_bare.dev runtime_events_tools.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-12-17 13:51.39: Using cache hint "tarides/runtime_events_tools-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66-alpine-3.22-5.4_opam-2.4-ac9c65903cf161739acc7e17dc307892"
2025-12-17 13:51.39: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66)
 (comment alpine-3.22-5.4_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src runtime_events_tools_bare.opam runtime_events_tools.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn runtime_events_tools_bare.dev './' && \
             \nopam pin add -yn runtime_events_tools.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4")
 (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.4 --depext-only -y runtime_events_tools_bare.dev runtime_events_tools.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-12-17 13:51.39: Waiting for resource in pool OCluster
2025-12-17 17:16.21: Waiting for worker…
2025-12-17 17:20.48: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at d976c82 Add lower bound on cmdliner

(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:b93dce0f7db9356ff4a704587c4d5ecd58b5ad8e3ca5418afcad75bc8f439f66)
2025-12-17 17:20.48 ---> using "d0327f940a3c6a061e0c402e9328a78119d7dfd715a32de8de339388ce4c3eef" from cache

/: (comment alpine-3.22-5.4_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-17 17:20.48 ---> using "5dee9b950486dfb3089cc431b3d79d731cac566432611d92e2af71d796efa3f6" 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 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-12-17 17:20.49 ---> using "2201c82fbbea424d8922cfff96a8636118d76b7d777b2668dd0c8a0002190b0e" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-17 17:20.49 ---> using "0a4c323c7414f4e6678e49268fcc6862031004115b008dfc46899f1c4fb8b11a" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-17 17:20.49 ---> using "157d49f864f4b916c270d9ecb2d620b36de25c8cc3e7177a0dc6f45bc76f3840" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee48e882f0..c199949faa  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-17 17:20.49 ---> using "4d7cb0a6422c357918900d555b6f16ab8249d0099a9d58bc7c8055393cbc21a8" from cache

/src: (copy (src runtime_events_tools_bare.opam runtime_events_tools.opam)
            (dst ./))
2025-12-17 17:20.49 ---> saved as "28cf5383a9380b5651f1168451b75386f1a472bb0f4c86c7298a4ace18694787"

/src: (run (network host)
           (shell  "opam pin add -yn runtime_events_tools_bare.dev './' && \
                  \nopam pin add -yn runtime_events_tools.dev './'"))
[runtime_events_tools_bare.dev] synchronised (file:///src)
runtime_events_tools_bare is now pinned to file:///src (version dev)
[runtime_events_tools.dev] synchronised (file:///src)
runtime_events_tools is now pinned to file:///src (version dev)
2025-12-17 17:20.53 ---> saved as "23b1f97fe713a8f314a9c92977147d19667729f7f4ed027f432feeb38211b456"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-17 17:20.53 ---> saved as "dde2573c539e0973c7120f6dbb8510b1fd7ec9fc3172408fe3e12e14caf16ed4"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-cmake.1 conf-libffi.2.0.0 conf-pkg-config.4 conf-zlib.1 csexp.1.5.2 ctypes.0.24.0 ctypes-foreign.0.24.0 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 hdr_histogram.0.0.4 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 thread-local-storage.0.2 topkg.1.1.1 trace.0.10 trace-fuchsia.0.10 uutf.1.0.4")

/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.4 --depext-only -y runtime_events_tools_bare.dev runtime_events_tools.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.2-308-gfeaeb3000e3 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-307-g4886c13aeed [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0-1125-g8f98e20b3b5 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0-1130-g2c1ab938b27 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0-1124-g7ee8a5be022 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60372 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[runtime_events_tools.dev] synchronised (file:///src)
[runtime_events_tools_bare.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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 system packages will first need to be installed:
    cmake libffi-dev zlib-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apk" "add" "cmake" "libffi-dev" "zlib-dev"
- (1/7) Installing libarchive (3.8.3-r0)
- (2/7) Installing rhash-libs (1.4.5-r0)
- (3/7) Installing libuv (1.51.0-r0)
- (4/7) Installing cmake (3.31.7-r1)
- (5/7) Installing linux-headers (6.14.2-r0)
- (6/7) Installing libffi-dev (3.4.8-r0)
- (7/7) Installing zlib-dev (1.3.1-r2)
- Executing busybox-1.37.0-r20.trigger
- OK: 366 MiB in 110 packages
2025-12-17 17:21.05 ---> saved as "b9b84ac5b6595047bfa33d8abaf0616b64c03e5871dceb46014dba62b7ea750c"

/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 30 packages
  - install alcotest             1.9.1
  - install astring              0.8.5
  - install cmdliner             2.1.0
  - install conf-cmake           1
  - install conf-libffi          2.0.0
  - install conf-pkg-config      4
  - install conf-zlib            1
  - install csexp                1.5.2
  - install ctypes               0.24.0
  - install ctypes-foreign       0.24.0
  - install dune                 3.20.2
  - install dune-configurator    3.20.2
  - install fmt                  0.11.0
  - install hdr_histogram        0.0.4
  - install integers             0.7.0
  - install menhir               20250912
  - install menhirCST            20250912
  - install menhirLib            20250912
  - install menhirSdk            20250912
  - install mtime                2.1.0
  - install ocaml-syntax-shims   1.0.0
  - install ocamlbuild           0.16.1
  - install ocamlfind            1.9.8
  - install re                   1.14.0
  - install stdlib-shims         0.3.0
  - install thread-local-storage 0.2
  - install topkg                1.1.1
  - install trace                0.10
  - install trace-fuchsia        0.10
  - install uutf                 1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cmake.1
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-zlib.1
-> retrieved integers.0.7.0  (cached)
-> retrieved hdr_histogram.0.0.4  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved thread-local-storage.0.2  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.1.0
-> retrieved trace.0.10, trace-fuchsia.0.10  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed thread-local-storage.0.2
-> installed trace.0.10
-> installed trace-fuchsia.0.10
-> installed integers.0.7.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed menhir.20250912
-> installed hdr_histogram.0.0.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-17 17:21.57 ---> saved as "1d458e2bccf848bc98327fe3508ec8fb29f94996f20237c7d0cb6da694855651"

/src: (copy (src .) (dst /src))
2025-12-17 17:21.57 ---> saved as "38862efe7d401bb4dcac9af2577c322c17c12ec22fb7de614eb063f074e2e3b7"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/olly_common/.olly_common.objs/byte -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/ocaml/runtime_events -I /home/opam/.opam/5.4/lib/ocaml/unix -no-alias-deps -opaque -open Olly_common -o lib/olly_common/.olly_common.objs/byte/olly_common__Cli.cmo -c -impl lib/olly_common/cli.ml)
File "lib/olly_common/cli.ml", line 23, characters 20-77:
23 |       let conv, _ = Cmdliner.Arg.enum (List.rev_map (fun s -> (s, s)) topics) in
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type string Arg.conv
       but an expression was expected of type 'a * 'b
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-12-17 17:21.58: Job failed: Failed: Build failed