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

alpine-3.21-5.3_opam-2.3

Logs

Show full logs
2025-03-11 12:26.32: 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.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
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:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
# alpine-3.21-5.3_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:26.32: Using cache hint "sqids/sqids-ocaml-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0-alpine-3.21-5.3_opam-2.3-6fa389e46d34b5880e46bdf32b7f8cdc"
2025-03-11 12:26.32: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0)
 (comment alpine-3.21-5.3_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:26.32: Waiting for resource in pool OCluster
2025-03-11 12:48.24: Waiting for worker…
2025-03-11 12:50.44: Got resource from pool OCluster
Building on doris.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:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0' locally
docker.io/ocaml/opam@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0: Pulling from ocaml/opam
ddb7f466ad9c: Pulling fs layer
ddb7f466ad9c: Verifying Checksum
ddb7f466ad9c: Download complete
ddb7f466ad9c: Pull complete
Digest: sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
Status: Downloaded newer image for ocaml/opam@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
2025-03-11 12:50.45 ---> using "dacbb842f0a2d29eaad3e832c76ea718382fa9cd05776a3fdb8016e465aa5e7b" from cache

/: (comment alpine-3.21-5.3_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 12:50.45 ---> using "4d575331d18a103bb0cc6f4a0dd61826f91da9419ba321b0b1320c4ec539b0db" 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 12:51.50 ---> saved as "6937929ef5611e557c4991cd8189eebf46058c4ee81139f68d15319429555db6"

/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.3.0
2025-03-11 12:51.50 ---> saved as "bb90a277fb48150bfb58577b4b61ca2e911fa7d8ff44939da041b865bac9afe8"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-11 12:51.50 ---> saved as "dc9101c084e576ab6dcbeea601d2b330166d0d274d8fdcaf9cff106e658a7bf6"

/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 12:52.50 ---> saved as "a402d35b3cba82140f0358c6595bb870810f8599e2c22e1e1cf9ba6e2bdc7e38"

/src: (copy (src sqids.opam) (dst ./))
2025-03-11 12:52.50 ---> saved as "0465ce20e7bff075e03ecd4373ba56da2076bc254f43cda7bcc9af5bfb98187d"

/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 12:52.52 ---> saved as "81da1fcdbb8d820cf9ded6ca148218197789da1aab4b84dcc02e8a11ed8368be"

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

/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 "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 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 12:53.08 ---> saved as "c3664ae2498fee75e76e3db26124e0e05ad75afa435f8c0c8aeafedf8747ad4d"

/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 12:53.45 ---> saved as "841d4657d0953805f3e9aeebd52f355a6a374b4174f996c4554e875e76663b57"

/src: (copy (src .) (dst /src))
2025-03-11 12:53.45 ---> saved as "20d51e1f6e450e7ce35251fe85aab7754974abdca015ca892cc595c11c838bc9"

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