2024-05-10 09:54.20: New job: test mirage/ocaml-hex https://github.com/mirage/ocaml-hex.git#refs/heads/main (85fe242997b61dc2f07ca1b62600b4d01ac0da94) (freebsd-x86_64:freebsd-5.1_opam-2.1)
Base: freebsd-ocaml-5.1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-hex.git" -b "main" && cd "ocaml-hex" && git reset --hard 85fe2429
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
# freebsd-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 hex.opam ./
RUN opam pin add -yn hex.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.15.2 fmt.0.9.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hex.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-05-10 09:54.20: Using cache hint "mirage/ocaml-hex-freebsd-freebsd-ocaml-5.1-freebsd-5.1_opam-2.1-216262568748684111751b5afda74bf0"
2024-05-10 09:54.20: Using OBuilder spec:
((from freebsd-ocaml-5.1)
(comment freebsd-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/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src hex.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn hex.dev './'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.15.2 fmt.0.9.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 topkg.1.0.7")
(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 hex.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-05-10 09:54.20: Waiting for resource in pool OCluster
2024-05-10 18:23.35: Waiting for worker…
2024-05-10 19:29.38: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at 85fe242 remove .merlin (now that we use dune)
(from freebsd-ocaml-5.1)
2024-05-10 19:23.17 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache
/: (comment freebsd-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/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-05-10 19:23.17 ---> using "65a9b62d2493057013f99a47d1d57b6072f5b00406fb4bfea785e58388f6b852" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-05-10 19:23.18 ---> using "e99a94697afa70d27199359988cb3c099e37a5c06ee07760e5a5921308c3119e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 19:23.18 ---> using "ec35bf54fa4c1a8f744eebe8956e2d9e1f1f6379cf858b75ddefbabb954554fc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-10 19:23.19 ---> using "e452d16e32919148b58c7e1d1c9db9a6c0854da706cd5eb72487da563b728a13" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ac9a846c00..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 19:23.19 ---> using "58d3ef29e7d8e112ec0533b0e9ff899b4f2ad47e9de0ab0016f9eddf180c5974" from cache
/src: (copy (src hex.opam) (dst ./))
2024-05-10 19:23.23 ---> saved as "6f1db86903994eded1f440631d4e9500ca12ca357fc808fa9e9d9ae543266cce"
/src: (run (network host)
(shell "opam pin add -yn hex.dev './'"))
[hex.dev] synchronised (file:///src)
hex is now pinned to file:///src (version dev)
2024-05-10 19:23.33 ---> saved as "023e8e7a05ce46d4a23f0e9598b441b797b81cb536b808204e86fa2e7cb4773d"
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.15.2 fmt.0.9.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 topkg.1.0.7")
/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 hex.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hex.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-05-10 19:24.11 ---> saved as "659faaf613c651096e9d29a6e635f3dfa931e3f93547ebded91d1df3bb3e4806"
/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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
∗ install dune 3.15.2
∗ install ocamlbuild 0.14.3
∗ install ocamlfind 1.9.6
∗ install topkg 1.0.7
∗ install fmt 0.9.0
∗ install cstruct 6.2.0
===== ∗ 6 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cstruct.6.2.0 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved ocamlbuild.0.14.3 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved dune.3.15.2 (cached)
∗ installed ocamlfind.1.9.6
∗ installed ocamlbuild.0.14.3
∗ installed topkg.1.0.7
∗ installed fmt.0.9.0
∗ installed dune.3.15.2
∗ installed cstruct.6.2.0
Done.
2024-05-10 19:26.19 ---> saved as "80b8bd9be3821a836973903475ac3e202796b0302161385b56d2005d19e1e232"
/src: (copy (src .) (dst /src))
2024-05-10 19:26.20 ---> saved as "fbd5a41c0fdaab72e84c2975b47124e50c6f3e6f32e46affcb42d0eb22fb2223"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe)
SUCCESS! (208/208 tests pass)
2024-05-10 19:26.23 ---> saved as "a0095340f5ea1b1bc79a3ca58c62788a74aeccd348edc8b0b9a3032b10513f3b"
Job succeeded
2024-05-10 19:32.45: Job succeeded