Organisationsmirageeither043eba (main)ubuntu-20.04-5.1_opam-2.1

ubuntu-20.04-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:ubuntu-20.04-5.1_opam-2.1)
Base: ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0
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:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0
# ubuntu-20.04-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:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0-ubuntu-20.04-5.1_opam-2.1-4e5d1f77f0765d7a76394304b29f1830"
2024-04-30 08:30.51: Using OBuilder spec:
((from ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0)
 (comment ubuntu-20.04-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:14.35: Waiting for worker…
2024-04-30 19:18.01: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at 043eba7 Merge pull request #1 from CraigFe/release-1.0.0


(from ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0)
2024-04-30 19:18.01 ---> using "911d2d9297f6c9f6b25884baaec73046a4a9b711167186aa231a98f2f833ce27" from cache


/: (comment ubuntu-20.04-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.01 ---> using "2c22ae36944a9fee4defce528a5b9837593a4888b8246f5b189937d477f5fb8b" 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.01 ---> using "d0891d4cc6f31aa9343d5c0e627606a0a590a8dbd634d1dcd97952902b68c6ab" 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.01 ---> using "04e98429aea1368e8a463c0fb7be49a53eca440c417ad231a37e155b8e06a7a7" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 19:18.01 ---> using "5fc0bc0fe7c559e2bad662037fa00f8f1ecd09bcc08e46211496364919fcf1f8" 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.01 ---> using "dcf65bbf99aa374922a6bf3583dc812233ac84deb1e48d363381d60291546489" from cache


/src: (copy (src either.opam) (dst ./))
2024-04-30 19:18.01 ---> saved as "12cbf86041ca095180d127b1f17265be71b244a3acb4701cf03044a4613c9ede"


/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.03 ---> saved as "2677d6bea46cd35a8c575e80908fc0a8560cdf037968e7c5481a371e95e36c1d"


/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 "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.5 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4069 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1496 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3686 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3595 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3536 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.8 kB]
- Get:12 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1201 kB]
- Fetched 17.9 MB in 2s (10.9 MB/s)
- Reading package lists...
- 


<><> 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.27 ---> saved as "7c433ed88c648513cb3acb7477e3b081f98cd378fb8c9440be40adbed8cdeee8"


/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.32 ---> saved as "0ec2370c37e1b0b53d61e0b5dcb35186c919102e363ad3052e1c89ac96d816ea"


/src: (copy (src .) (dst /src))
2024-04-30 19:19.32 ---> saved as "3075c40bee47e287659b5fcc387d280270f351c76d16d858eaf9b7a599f2a8bc"


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