Organisationstaridesmongoc-ocaml042080 (main)alpine-3.22-4.14_opam-2.4

alpine-3.22-4.14_opam-2.4

Logs

Show full logs
2025-10-15 18:31.48: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:alpine-3.22-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard 042080ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
# alpine-3.22-4.14_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam ./
RUN opam pin add -yn mongoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.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-10-15 18:31.48: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e-alpine-3.22-4.14_opam-2.4-f22de459b7c810908da724c62da4805a"
2025-10-15 18:31.48: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
 (comment alpine-3.22-4.14_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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mongoc.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mongoc.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
 (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 mongoc.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-10-15 18:31.48: Waiting for resource in pool OCluster
2025-10-15 18:32.32: Waiting for worker…
2025-10-15 18:33.30: Got resource from pool OCluster
Building on doris.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mongoc-ocaml.git-89dd79164929fa72e2d4cd3d662074271da71c43/.git/
HEAD is now at 042080a Merge pull request #2 from tarides/ci

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e' locally
docker.io/ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e: Pulling from ocaml/opam
2d35ebdb57d9: Pulling fs layer
4eef589852a3: Pulling fs layer
9bcbf19aa70e: Pulling fs layer
c27157cc8c0d: Pulling fs layer
8eb40fc9ec7b: Pulling fs layer
cf28fbda269d: Pulling fs layer
2d35ebdb57d9: Waiting
9bcbf19aa70e: Waiting
c27157cc8c0d: Waiting
4eef589852a3: Waiting
8eb40fc9ec7b: Waiting
bdb05ad1bb03: Pulling fs layer
14b089059d7b: Pulling fs layer
bdb05ad1bb03: Waiting
8fba92877dbb: Pulling fs layer
b46b8c2b2e76: Pulling fs layer
c5fe84151a2d: Pulling fs layer
d69ebb2cea14: Pulling fs layer
8fba92877dbb: Waiting
c5fe84151a2d: Waiting
8987930d7936: Pulling fs layer
07e0ebe0bb32: Pulling fs layer
d69ebb2cea14: Waiting
a8a8cd8bbc43: Pulling fs layer
0eee052a54e0: Pulling fs layer
9d0f02e69e08: Pulling fs layer
4f4fb700ef54: Pulling fs layer
8987930d7936: Waiting
a90897db75ef: Pulling fs layer
678b7f997d9a: Pulling fs layer
0eee052a54e0: Waiting
9d0f02e69e08: Waiting
55a17ca9d235: Pulling fs layer
b0fc237f6c26: Pulling fs layer
4a9f9668ab4a: Pulling fs layer
f4048786242d: Pulling fs layer
a90897db75ef: Waiting
a8a8cd8bbc43: Waiting
322480b4b1d3: Pulling fs layer
07e0ebe0bb32: Waiting
eda2d7da1b04: Pulling fs layer
322480b4b1d3: Waiting
83325a5b2b26: Pulling fs layer
09b67e1d956f: Pulling fs layer
83325a5b2b26: Waiting
2adafa4b73e4: Pulling fs layer
8e04b3ec100b: Pulling fs layer
7eac41d73ac6: Pulling fs layer
55a17ca9d235: Waiting
477769be07d7: Pulling fs layer
2adafa4b73e4: Waiting
8e04b3ec100b: Waiting
1121e0452bac: Pulling fs layer
a7433c286e2f: Pulling fs layer
477769be07d7: Waiting
d11ef3af080f: Pulling fs layer
595e38b8edfd: Pulling fs layer
3b6068bfc654: Pulling fs layer
e91a772be517: Pulling fs layer
09b67e1d956f: Waiting
595e38b8edfd: Waiting
3b6068bfc654: Waiting
7ab96ec90fc2: Pulling fs layer
9da6f0039b9b: Pulling fs layer
7ab96ec90fc2: Waiting
d11ef3af080f: Waiting
eda2d7da1b04: Waiting
2d35ebdb57d9: Verifying Checksum
2d35ebdb57d9: Download complete
2d35ebdb57d9: Pull complete
4eef589852a3: Verifying Checksum
4eef589852a3: Download complete
4eef589852a3: Pull complete
9bcbf19aa70e: Verifying Checksum
9bcbf19aa70e: Download complete
9bcbf19aa70e: Pull complete
c27157cc8c0d: Verifying Checksum
c27157cc8c0d: Download complete
8eb40fc9ec7b: Verifying Checksum
8eb40fc9ec7b: Download complete
cf28fbda269d: Verifying Checksum
cf28fbda269d: Download complete
bdb05ad1bb03: Verifying Checksum
bdb05ad1bb03: Download complete
14b089059d7b: Verifying Checksum
14b089059d7b: Download complete
8fba92877dbb: Verifying Checksum
8fba92877dbb: Download complete
b46b8c2b2e76: Verifying Checksum
b46b8c2b2e76: Download complete
c5fe84151a2d: Verifying Checksum
c5fe84151a2d: Download complete
d69ebb2cea14: Verifying Checksum
d69ebb2cea14: Download complete
c27157cc8c0d: Pull complete
8987930d7936: Verifying Checksum
8987930d7936: Download complete
8eb40fc9ec7b: Pull complete
cf28fbda269d: Pull complete
07e0ebe0bb32: Download complete
bdb05ad1bb03: Pull complete
14b089059d7b: Pull complete
8fba92877dbb: Pull complete
a8a8cd8bbc43: Verifying Checksum
a8a8cd8bbc43: Download complete
b46b8c2b2e76: Pull complete
0eee052a54e0: Verifying Checksum
0eee052a54e0: Download complete
c5fe84151a2d: Pull complete
d69ebb2cea14: Pull complete
9d0f02e69e08: Download complete
8987930d7936: Pull complete
07e0ebe0bb32: Pull complete
a8a8cd8bbc43: Pull complete
4f4fb700ef54: Download complete
0eee052a54e0: Pull complete
9d0f02e69e08: Pull complete
4f4fb700ef54: Pull complete
a90897db75ef: Verifying Checksum
a90897db75ef: Download complete
a90897db75ef: Pull complete
678b7f997d9a: Verifying Checksum
678b7f997d9a: Download complete
678b7f997d9a: Pull complete
55a17ca9d235: Verifying Checksum
55a17ca9d235: Download complete
55a17ca9d235: Pull complete
b0fc237f6c26: Verifying Checksum
b0fc237f6c26: Download complete
b0fc237f6c26: Pull complete
4a9f9668ab4a: Download complete
4a9f9668ab4a: Pull complete
f4048786242d: Download complete
f4048786242d: Pull complete
322480b4b1d3: Pull complete
eda2d7da1b04: Verifying Checksum
eda2d7da1b04: Download complete
eda2d7da1b04: Pull complete
83325a5b2b26: Download complete
83325a5b2b26: Pull complete
09b67e1d956f: Download complete
09b67e1d956f: Pull complete
2adafa4b73e4: Download complete
2adafa4b73e4: Pull complete
8e04b3ec100b: Verifying Checksum
8e04b3ec100b: Download complete
8e04b3ec100b: Pull complete
477769be07d7: Download complete
1121e0452bac: Verifying Checksum
1121e0452bac: Download complete
a7433c286e2f: Verifying Checksum
a7433c286e2f: Download complete
d11ef3af080f: Verifying Checksum
d11ef3af080f: Download complete
595e38b8edfd: Verifying Checksum
595e38b8edfd: Download complete
7eac41d73ac6: Verifying Checksum
7eac41d73ac6: Download complete
e91a772be517: Download complete
7ab96ec90fc2: Verifying Checksum
7ab96ec90fc2: Download complete
9da6f0039b9b: Verifying Checksum
9da6f0039b9b: Download complete
3b6068bfc654: Verifying Checksum
3b6068bfc654: Download complete
7eac41d73ac6: Pull complete
477769be07d7: Pull complete
1121e0452bac: Pull complete
a7433c286e2f: Pull complete
d11ef3af080f: Pull complete
595e38b8edfd: Pull complete
3b6068bfc654: Pull complete
e91a772be517: Pull complete
7ab96ec90fc2: Pull complete
9da6f0039b9b: Pull complete
Digest: sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
Status: Downloaded newer image for ocaml/opam@sha256:7061e4d210c551f55328c75cfe57a1297de774a191b5ef915d0cd2547319e29e
2025-10-15 18:33.31 ---> using "764276640f5b3f4ce6b610321003cb55f6545c42846dc0b360f6be7a346afe65" from cache

/: (comment alpine-3.22-4.14_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-10-15 18:33.31 ---> using "8d3a3f91c34bcb4a3c2c41af677916db1b1aeb69f4124523420d860741206e81" 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-10-15 18:33.31 ---> using "80cc2d73a3cce579a5d41018a065c4344586f5bbd715aef5b9c0e18667e50085" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-15 18:33.31 ---> using "6bcb34e5b8215558e18e4bcc0f747b6abee4482cbfcaa14a458779d5d7d78fd1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-15 18:33.31 ---> using "81df4a8c79746f89d234d628dd1ccfdec8212bedc95c89d950498203e2c8b140" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0

<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-10-15 18:33.31 ---> using "b46e1a6df96a56abf337f477756a970ac8e78c980d5fc472393e2c036cc8f8bc" from cache

/src: (copy (src mongoc.opam) (dst ./))
2025-10-15 18:33.32 ---> saved as "d79b78ac1a02eadb77fe059fd8f94d09598d18add42357d9c3d6e9a37a108b26"

/src: (run (network host)
           (shell "opam pin add -yn mongoc.dev './'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-10-15 18:33.37 ---> saved as "85f1d8ac6298de24fce4e0c4cae93aae11ab1c193a989fd06adf87f68c53d757"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 18:33.37 ---> saved as "950a85ec4ec402fcf2f6e128da5436cfbd65dc4d633a49b29f48f6411887d6c4"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")

/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 mongoc.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-33-g117b503544a [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-38-g69132b0c9b4 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0_alpha20250612-8269-gfe44dcd9829 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-8294-g0b869b460ac [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-8295-g1cafec2f0fe [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59568 distinct packages available

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mongoc.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).

The following system packages will first need to be installed:
    mongo-c-driver-dev

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

+ /usr/bin/sudo "apk" "add" "mongo-c-driver-dev"
- (1/5) Installing libbson (1.27.1-r0)
- (2/5) Installing libbson-dev (1.27.1-r0)
- (3/5) Installing snappy (1.2.2-r0)
- (4/5) Installing mongo-c-driver (1.27.1-r0)
- (5/5) Installing mongo-c-driver-dev (1.27.1-r0)
- Executing busybox-1.37.0-r19.trigger
- OK: 309 MiB in 107 packages
2025-10-15 18:34.05 ---> saved as "a7501ac1c24e71f9df73f34abe6d2e2132c3b930a9bed42617f3c608bd202f4b"

/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 9 packages
  - install bigarray-compat   1.1.0
  - install cmdliner          2.0.0
  - install conf-pkg-config   4
  - install csexp             1.5.2
  - install ctypes            0.23.0
  - install dune              3.20.2
  - install dune-configurator 3.20.2
  - install integers          0.7.0
  - install stdlib-shims      0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 18:35.09 ---> saved as "4c401d90dfe8bb04b0cfd94baa04dcc64afea3da7207347632a7af3a3e11449a"

/src: (copy (src .) (dst /src))
2025-10-15 18:35.09 ---> saved as "2bad6f106fe2576a28f8642175663b4bd94286c0e1c913868cb2f7c61e5996d0"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-15 18:35.11 ---> saved as "3c0ab48b276569ed5f59d8ebf8c4fe7e5e95f590280e5c7e644d5d29d2f88c2e"
Job succeeded
2025-10-15 18:35.11: Job succeeded