Organisationsmirageeither043eba (main)alpine-3.19-5.1_opam-2.1

alpine-3.19-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:30.51: New job: test mirage/either https://github.com/mirage/either.git#refs/heads/main (043eba77c144b26790c2fd478bd9e607293099d6) (linux-x86_64:alpine-3.19-5.1_opam-2.1)
Base: ocaml/opam@sha256:4b4ab6fd8d855ed9925ce6a8f4382d5944e17169eca34ac441cf96781412e037
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/either.git" -b "main" && cd "either" && git reset --hard 043eba77
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:4b4ab6fd8d855ed9925ce6a8f4382d5944e17169eca34ac441cf96781412e037
# alpine-3.19-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 either.opam ./
RUN opam pin add -yn either.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y either.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


2024-04-30 08:30.51: Using cache hint "mirage/either-ocaml/opam@sha256:4b4ab6fd8d855ed9925ce6a8f4382d5944e17169eca34ac441cf96781412e037-alpine-3.19-5.1_opam-2.1-4e5d1f77f0765d7a76394304b29f1830"
2024-04-30 08:30.51: Using OBuilder spec:
((from ocaml/opam@sha256:4b4ab6fd8d855ed9925ce6a8f4382d5944e17169eca34ac441cf96781412e037)
 (comment alpine-3.19-5.1_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src either.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn either.dev './'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")
 (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.1 --depext-only -y either.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"))
)


2024-04-30 08:30.51: Waiting for resource in pool OCluster
2024-04-30 19:15.14: Waiting for worker…
2024-04-30 19:18.27: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 043eba7 Merge pull request #1 from CraigFe/release-1.0.0


(from ocaml/opam@sha256:4b4ab6fd8d855ed9925ce6a8f4382d5944e17169eca34ac441cf96781412e037)
2024-04-30 19:18.27 ---> using "3f19e9b9d1b1f06a8ca1f3057a9f472cc74aed4d47a44f6671b5ec1ca0b507f4" from cache


/: (comment alpine-3.19-5.1_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 19:18.27 ---> using "490904df7bd2375c7274cfa2c60bfd67678888efd7e9f9407037f1a02039319d" 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.1, 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] synchronised from file:///home/opam/opam-repository
2024-04-30 19:18.27 ---> using "fb388c26659e95066bb5f2bcf3ada44e365027e2aefae4e50134ca2f790cc9ae" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-30 19:18.27 ---> using "f76e27f2a906c2f4b89da771fe7fc64e9a5df6c5689748141a559d4d1e46d0c3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 19:18.27 ---> using "32f75b92a49fafbabbcc772c2c03aa4acb62ee26590615b9f8cfffe05f54f910" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c516155a4b..bafea8d973  master     -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-04-30 19:18.27 ---> using "a5c86fadc307bad98eec73382141f88b7fd7cfba743c33b93486ac8703c2785c" from cache


/src: (copy (src either.opam) (dst ./))
2024-04-30 19:18.27 ---> saved as "13c71d984f482c3fbc2c4dfe0494c6b8461ded11bceaeffc54443cf0bb40a390"


/src: (run (network host)
           (shell "opam pin add -yn either.dev './'"))
[either.dev] synchronised (file:///src)
either is now pinned to file:///src (version dev)
2024-04-30 19:18.29 ---> saved as "ad4981415f92052e000401a075f1e3a59e7371046aefeedace546b331ba26828"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1")


/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.1 --depext-only -y either.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/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.19.1-476-g0fc5112363c [https://dl-cdn.alpinelinux.org/alpine/v3.19/main]
- v3.19.1-478-g9c03b9c8a03 [https://dl-cdn.alpinelinux.org/alpine/v3.19/community]
- v20240329-2859-gfee7a754416 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240329-2901-gb470cf07801 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240329-2901-gb470cf07801 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 52796 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[either.dev] synchronised (no changes)


[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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-04-30 19:18.42 ---> saved as "6f2f9b433087507a32b8ec63826b9a8c26cd72e6bbc23ea7f8e1a4083cb51480"


/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-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 dune 3.15.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.2  (cached)
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 19:19.18 ---> saved as "8c66bff5dee7eaf0da473fa04f877d9b42389e1b8cd4d3f4d8215cec6bc934ba"


/src: (copy (src .) (dst /src))
2024-04-30 19:19.18 ---> saved as "10d28fba269250905b132c058efd1582269a952bfb157e119c7d3b35f99b6f35"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-04-30 19:19.19 ---> saved as "75104265cb24d2656454e3eae487f67a753d8e3bd405076cfdd6c0ba27218ffe"
Job succeeded
2024-04-30 19:19.19: Job succeeded