2025-03-11 12:33.01: New job: test sqids/sqids-ocaml https://github.com/sqids/sqids-ocaml.git#refs/heads/main (d6a7ce6d19f8cef53f31dfc9fb6b0fd46ec4ab93) (linux-s390x:debian-12-5.3_s390x_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454
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:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454
# debian-12-5.3_s390x_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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && 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.17.2 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.24"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-03-11 12:33.01: Using cache hint "sqids/sqids-ocaml-ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454-debian-12-5.3_s390x_opam-2.3-6fa389e46d34b5880e46bdf32b7f8cdc"
2025-03-11 12:33.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454)
(comment debian-12-5.3_s390x_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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && 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.17.2 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.24")
(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 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-03-11 12:33.01: Waiting for resource in pool OCluster
2025-03-11 12:33.18: Waiting for worker…
2025-03-11 13:07.30: Got resource from pool OCluster
Building on s390x-worker-02.marist.ci.dev
All commits already cached
HEAD is now at d6a7ce6 CHANGELOG: update to `0.1.0`
(from ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454)
2025-03-11 13:07.30 ---> using "8a5cf988ed4e44aa69a9a92c390361dd0474bf1c7888178b24b31a1b5b8cd184" from cache
/: (comment debian-12-5.3_s390x_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-03-11 13:07.30 ---> using "8aa7fdae16e363611ed304826287f198076f11c224b45492c65931e25441c926" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-11 13:07.30 ---> using "1546b68e92ad04b4f79c84f82420d186c6abe552c32f79e815b5e0dde244a13d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-11 13:07.30 ---> using "2dbfca78776cc46b8f72593cb352c8f1c5ff567e2c32d2080f658ed9bbee6e99" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-11 13:07.30 ---> using "e245c0b33541df3a7c29f26b4c0acab0214ac26c8e9a20001d24adb14a5ff60e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u"))
77714bd587 Merge pull request #27468 from jmid/opam-publish-qcheck.0.24
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-03-11 13:09.16 ---> saved as "cff4636065c45badd9a09607616dea8b784cd13df7543322e5fb25787508d2ea"
/src: (copy (src sqids.opam) (dst ./))
2025-03-11 13:09.18 ---> saved as "dd4ae4b2c51431e17e3cbc406b0e6c7ceff73d94395bc2f0ddd14482d2b69313"
/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-03-11 13:09.27 ---> saved as "7152594a282c777ddd232dfd8aeba7eb6c51f0534241819b3ae9ecd9313e58b4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-11 13:09.29 ---> saved as "13cbcb0f9fa740b1d95f184b36a14f0bc6c4e1d2226840afbf96ba021ed5537a"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.17.2 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.24")
/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 sqids.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 1s (190 kB/s)
- Reading package lists...
-
<><> 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-03-11 13:09.53 ---> saved as "9a21a36bbd9451bdf61341095021d0836afdaf1a3446956296c6352a8fc6834f"
/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.17.2
- install qcheck-core 0.24
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved qcheck-core.0.24 (cached)
-> retrieved dune.3.17.2 (cached)
-> installed dune.3.17.2
-> installed qcheck-core.0.24
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-11 13:11.30 ---> saved as "1d4ba99ba8995142d58ccc103391b9982211a08f17f22b8be98af4e244fc30bb"
/src: (copy (src .) (dst /src))
2025-03-11 13:11.44 ---> saved as "19589dd51e8959207d74194a05d2528ba65807917a19565395ba24e4c3b38603"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-11 13:12.04 ---> saved as "3292560c3c20f7a865c9c03aa3dfc45f346e29b071fc634ab473e4fec5bb6aaa"
Job succeeded
2025-03-11 13:12.05: Job succeeded