2025-07-31 07:27.56: New job: test sqids/sqids-ocaml https://github.com/sqids/sqids-ocaml.git#refs/heads/main (d6a7ce6d19f8cef53f31dfc9fb6b0fd46ec4ab93) (linux-x86_64:alpine-3.21-5.3_opam-2.4)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/sqids/sqids-ocaml.git" -b "main" && cd "sqids-ocaml" && git reset --hard d6a7ce6d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4
# alpine-3.21-5.3_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 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqids.opam ./
RUN opam pin add -yn sqids.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 dune.3.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.26"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y sqids.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-31 07:27.56: Using cache hint "sqids/sqids-ocaml-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4-alpine-3.21-5.3_opam-2.4-df4438ecad59977f981811164dfc3097"
2025-07-31 07:27.56: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4)
(comment alpine-3.21-5.3_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 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqids.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqids.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 dune.3.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.26")
(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 sqids.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-31 07:27.56: Waiting for resource in pool OCluster
2025-07-31 09:08.08: Waiting for worker…
2025-07-31 09:11.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at d6a7ce6 CHANGELOG: update to `0.1.0`
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4' locally
docker.io/ocaml/opam@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4: Pulling from ocaml/opam
dd574f0c3492: Already exists
8540a499f37c: Already exists
b7863f207dd8: Already exists
a028201b8c3d: Pulling fs layer
f1404b034812: Pulling fs layer
e4a578470d64: Pulling fs layer
185fe4286ebd: Pulling fs layer
a028201b8c3d: Waiting
f1404b034812: Waiting
e4a578470d64: Waiting
f1404b034812: Download complete
e4a578470d64: Verifying Checksum
e4a578470d64: Download complete
185fe4286ebd: Verifying Checksum
185fe4286ebd: Download complete
a028201b8c3d: Verifying Checksum
a028201b8c3d: Download complete
a028201b8c3d: Pull complete
f1404b034812: Pull complete
e4a578470d64: Pull complete
185fe4286ebd: Pull complete
Digest: sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4
Status: Downloaded newer image for ocaml/opam@sha256:d6c030813e949275bc4a13bcb712613b7e39a2eaa287092f6084a6bc44d4a5c4
2025-07-31 09:11.25 ---> using "3796098fd0d126823ed854f278abbadfdc00c11994147612c943e9529c5a2921" from cache
/: (comment alpine-3.21-5.3_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-07-31 09:11.25 ---> using "eaaa5e79577a38914056e586e718250dd06d3f1958e0073827c7b1f3807787c5" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 09:11.25 ---> using "c2249f8933ae50245746ed5374725cc9093093eb3ff835b7f0716c1631cbd18f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-07-31 09:11.25 ---> using "cff78d7485641ee4d4d9eca158d2ed6d201b93d46d2b0736269d1a45c06edd88" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:11.25 ---> using "3ef68c3907f00c424b8ce3abb4153990165fa9773eaeb7b0c229472c62046fde" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 || git fetch origin master) && git reset -q --hard 97bb175d1e6ee67d1f44f322ec4b2e76d2961531 && git log --no-decorate -n1 --oneline && opam update -u"))
97bb175d1e Merge pull request #28148 from jmid/opam-publish-qcheck.0.26
<><> 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-07-31 09:12.03 ---> saved as "9700441f8f12482f5cc5693695dd6f9c2c53708f3fa4b68f0abd6d210e858907"
/src: (copy (src sqids.opam) (dst ./))
2025-07-31 09:12.03 ---> saved as "e78521431c208bbd300ee45e92c4d06b65c07925eb826c0d7248f0669e92c36c"
/src: (run (network host)
(shell "opam pin add -yn sqids.dev './'"))
[sqids.dev] synchronised (file:///src)
sqids is now pinned to file:///src (version dev)
2025-07-31 09:12.08 ---> saved as "3681890906da56b0504d8bd6dab18318c244dfe23ca27dba6a212f7649bf4fac"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:12.09 ---> saved as "9557241b2dd0d14fc829c8c906f3cd7cd15e7f061ad0b9f21e94e0932106ba9f"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.26")
/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 sqids.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.4-24-g2d13e6f2c9c [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-22-gaa6bf2dd9cc [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-3599-g383c9b1a8b9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-3606-gb77e5951003 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-3607-g3d7ab9eb467 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59233 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqids.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-07-31 09:12.35 ---> saved as "ac32adc1d5adb22f13bbae6c5f02afcf14ca281d832a4af50170e875297b5ece"
/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 2 packages
- install dune 3.19.1
- install qcheck-core 0.26
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved qcheck-core.0.26 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed dune.3.19.1
-> installed qcheck-core.0.26
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:14.17 ---> saved as "dbf3e0e6d86b0ce302c225b809b9c8b54491b40249d7d1cee4c195478227d3d2"
/src: (copy (src .) (dst /src))
2025-07-31 09:14.18 ---> saved as "2ffb2c00cd7cb619c09afecd8f139e4f121b0ea6ca2c3056703d9f630feb7a9f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-31 09:14.23 ---> saved as "884bdadbc053b5f6754aba36979cc95f6e08003b881ad0ce0bef4ce09b580590"
Job succeeded
2025-07-31 09:14.23: Job succeeded