Organisationssqidssqids-ocamld6a7ce (main)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Logs

Show full logs
2025-03-11 12:28.21: New job: test sqids/sqids-ocaml https://github.com/sqids/sqids-ocaml.git#refs/heads/main (d6a7ce6d19f8cef53f31dfc9fb6b0fd46ec4ab93) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
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-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
# 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 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-threads.base base-unix.base dune.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:28.21: Using cache hint "sqids/sqids-ocaml-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec-alpine-3.21-4.14_opam-2.3-77a466a4e94c1c0ba8e5496a0124ce45"
2025-03-11 12:28.21: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
 (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 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-threads.base base-unix.base dune.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:28.21: Waiting for resource in pool OCluster
2025-03-11 13:50.39: Waiting for worker…
2025-03-11 13:53.31: Got resource from pool OCluster
Building on asteria.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-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
2025-03-11 13:53.31 ---> using "1365d3d062370cdb3e23e0410421a094d8879b8f0dd4d3093d64147b4bfe4ff9" 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-03-11 13:53.31 ---> using "5be1ab3ea9e48bd2199383c0f25d4669eec253aa64c46238de9e36ed6f7e50cb" 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:54.30 ---> saved as "ca0f9b6308acc60ffbea931949e0e9fb7680afa32d2003099d5a7f217fa5486d"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-11 13:54.30 ---> saved as "8e127786c3870968fda1dfe20835536dac15f3a82c303577d90f01ea7cc40e6d"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-11 13:54.30 ---> saved as "1106de8ba8163af5066c46218ad21da7ed722fff392921ab78c2a9189d06c86d"

/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:55.26 ---> saved as "8fd26372bdb7d4c837262bff6a48041b93b81c9eac23bd0be265be73b70ad137"

/src: (copy (src sqids.opam) (dst ./))
2025-03-11 13:55.26 ---> saved as "83b344698d02da2abffb00f889314c40f6145c2d3a927ecd5868e5333880b505"

/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:55.28 ---> saved as "9c8c730d177add9d607818af2beda7a01cfa6f3c7eb92940dc4617ece8427189"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-11 13:55.28 ---> saved as "a3ae3c36768d20a861a8b7993d04900c2eb102ab87996341f1f6dbd572bebf17"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 "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-144-gc9b177afb6a [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-145-g6805afd33c8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-3619-gbede705552a [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-3626-gd22c226e8ff [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-3625-g0b46e3d2e9c [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57006 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 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-03-11 13:55.43 ---> saved as "99e6b7da4987c8bd7b977f9394a8681fb6a472445422883408df62f2fb5f663e"

/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 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:56.18 ---> saved as "94716058cfb700536f1e53c35e748ab8ff9a0186f6da6943c8833ca2cc04ed3d"

/src: (copy (src .) (dst /src))
2025-03-11 13:56.18 ---> saved as "934c7b82ab8fe9122076f6f46d1d20bcbfcb1b433d7c27f3b10cebe2b84ed182"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-11 13:56.19 ---> saved as "df31b6fc94a0cf1cb9c47735197c49a2518939ccf9fb226c7ef1c009439258d7"
Job succeeded
2025-03-11 13:56.20: Job succeeded