Organisationsdinosaurehxd6c3c1f (master)ubuntu-20.04-4.14_opam-2.1

ubuntu-20.04-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:54.52: New job: test dinosaure/hxd https://github.com/dinosaure/hxd.git#refs/heads/master (6c3c1ff212f67a3d2106e18b2a0358b2dc5f56bd) (linux-x86_64:ubuntu-20.04-4.14_opam-2.1)
Base: ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/hxd.git" -b "master" && cd "hxd" && git reset --hard 6c3c1ff2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2
# ubuntu-20.04-4.14_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 hxd.opam ./
RUN opam pin add -yn hxd.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hxd.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:54.52: Using cache hint "dinosaure/hxd-ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2-ubuntu-20.04-4.14_opam-2.1-c71b2c6bc38d22dd4f84a887ed081549"
2024-04-30 08:54.52: Using OBuilder spec:
((from ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2)
 (comment ubuntu-20.04-4.14_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 hxd.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn hxd.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 hxd.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:54.52: Waiting for resource in pool OCluster
2024-04-30 20:57.03: Waiting for worker…
2024-04-30 20:59.16: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 6c3c1ff Merge pull request #13 from dinosaure/prepare-v0.3.2


(from ocaml/opam@sha256:883c733b5cd06745d394a90a9904762c9af57ad4136c5818e258502d8aa2ddb2)
2024-04-30 20:59.16 ---> using "c7bf33d94e681de1f20943d11cb0c4972a6d1fbbcc13de77fa2572b4279c2375" from cache


/: (comment ubuntu-20.04-4.14_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 20:59.17 ---> saved as "78424ae8159ee0fe24c33aee4f3fc106941db77acc7fab98d09b60aaf72a00e4"


/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 21:00.29 ---> saved as "0fc510c6563ca773bf4ea8e90d93e3c9ad6f37c27834f944b8a96973527e84e0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 21:00.29 ---> saved as "c6b64910bdbdfe15a49248edeb35ca745bc05d12c5c122d700d0f9009f3e11a2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 21:00.29 ---> saved as "f120162ae84143a294da43d8468749c7385c79683fd52e48c56376a239a1a6b3"


/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 21:01.54 ---> saved as "853b96e5d40814b801a74a1168d4542e134d5f8567c6c14a63edb66b0f37a846"


/src: (copy (src hxd.opam) (dst ./))
2024-04-30 21:01.54 ---> saved as "98e203be183c50a39698546dce1afc828529da05e1ae7b9c85de3ad1d7d5d5bb"


/src: (run (network host)
           (shell "opam pin add -yn hxd.dev './'"))
[hxd.dev] synchronised (file:///src)
hxd is now pinned to file:///src (version dev)
2024-04-30 21:01.57 ---> saved as "2393e8db26f14953df27e5f840c505a010bac8f74d3ec615c5bf8d2f174f64dd"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.1.2.0 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 hxd.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3595 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3686 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1201 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.8 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3536 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4069 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1496 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.5 kB]
- Fetched 17.9 MB in 3s (6554 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hxd.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 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).
2024-04-30 21:02.23 ---> saved as "b9c6deb5d43bc508f45096a89406f9b6af814380e2ebbeec1a1ade2c027edaab"


/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 dune              3.15.2
  - install cmdliner          1.2.0
  - install csexp             1.5.2
  - install dune-configurator 3.15.2
===== 4 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed cmdliner.1.2.0
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 21:03.21 ---> saved as "aaa4954f96eba1ace1a57bde3f0fda36be7c550c53120092b52eab2b24e9b052"


/src: (copy (src .) (dst /src))
2024-04-30 21:03.21 ---> saved as "90819ed099c354a33faaed13f4107ba156a1606685a20499a3cffc501ae03308"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-04-30 21:03.23 ---> saved as "3b482645dd330eec60312892218e6618f21643a28b044aac3cfe1d8546cae043"
Job succeeded
2024-04-30 21:03.24: Job succeeded