2024-05-10 15:51.58: New job: test samoht/mirage-solo5 https://github.com/samoht/mirage-solo5.git#refs/heads/master (9d78d93d27dea12d1c694d9b8bc0835b0ca58981) (linux-x86_64:opensuse-15.5-4.14_opam-2.1)
Base: ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/samoht/mirage-solo5.git" -b "master" && cd "mirage-solo5" && git reset --hard 9d78d93d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c
# opensuse-15.5-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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-solo5.opam ./
RUN opam pin add -yn mirage-solo5.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-libseccomp.1 conf-pkg-config.2 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 metrics.0.4.1 mirage-runtime.4.5.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-freestanding.0.6.7 ocaml-options-vanilla.1 ocaml-src.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 solo5-bindings-hvt.0.6.9 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-solo5.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 15:51.58: Using cache hint "samoht/mirage-solo5-ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c-opensuse-15.5-4.14_opam-2.1-a19359be328f1e83f078db48498e49f5"
2024-05-10 15:51.58: Using OBuilder spec:
((from ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c)
(comment opensuse-15.5-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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-solo5.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-solo5.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-libseccomp.1 conf-pkg-config.2 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 metrics.0.4.1 mirage-runtime.4.5.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-freestanding.0.6.7 ocaml-options-vanilla.1 ocaml-src.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 solo5-bindings-hvt.0.6.9 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 mirage-solo5.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 15:51.58: Waiting for resource in pool OCluster
2024-05-11 03:21.47: Waiting for worker…
2024-05-11 03:27.23: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-solo5.git-0ed470b18d23db68f4ac1eedf5e3efffbbd60ec9/.git/
HEAD is now at 9d78d93 Documentation for release 0.6.2
(from ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c)
Unable to find image 'ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c' locally
docker.io/ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c: Pulling from ocaml/opam
91311f23cac5: Pulling fs layer
91311f23cac5: Verifying Checksum
91311f23cac5: Download complete
91311f23cac5: Pull complete
Digest: sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c
Status: Downloaded newer image for ocaml/opam@sha256:2a83ef9b2716f12f3f839a6bc5d7269cb744e6086c4c5f07474c2334274f891c
2024-05-11 03:27.24 ---> using "b720e8803fb0f01eecb4a5643bdc82847ad62f86aa311c0105d4ce05c5833770" from cache
/: (comment opensuse-15.5-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-05-11 03:27.24 ---> using "6e4b0fd97d86aca4afcef4903f7f92f15c9cda304623aad11bfcb4a8a022b789" 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-05-11 03:27.24 ---> using "e643ed503279954854d0a4bc62530f496692c418d4f2a2b8b2b9ba4acdd8d387" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-11 03:27.24 ---> using "7b58bbf1bbc881bb8fbfa1e041e2dad006f5a32c042a4ccb6085011c18d51bc4" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 03:27.24 ---> using "d5560a6282bc66fc4e2e223b4260fd865f73278846a47d2f57217197cde9b797" 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
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> 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-05-11 03:27.24 ---> using "bc106b0b1c41c10e04f9a58ff4863e8f50d759c3502990fbb48328ec68a1f152" from cache
/src: (copy (src mirage-solo5.opam) (dst ./))
2024-05-11 03:27.24 ---> saved as "8c023cedb04e526dbb76d19cbb04a8c08510f0e8f299b38202a04404eb9b7258"
/src: (run (network host)
(shell "opam pin add -yn mirage-solo5.dev './'"))
[mirage-solo5.dev] synchronised (file:///src)
mirage-solo5 is now pinned to file:///src (version dev)
2024-05-11 03:27.33 ---> saved as "021288e21418185813738ffde0e1297f1d023b765afefc47a67f6cf0d38a2aea"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-libseccomp.1 conf-pkg-config.2 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 macaddr.5.5.0 metrics.0.4.1 mirage-runtime.4.5.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-freestanding.0.6.7 ocaml-options-vanilla.1 ocaml-src.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 solo5-bindings-hvt.0.6.9 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 mirage-solo5.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- ...
- .......done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.....
- ..
- .........
- .........
- ......
- ..done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- All repositories have been refreshed.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-solo5.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).
The following system packages will first need to be installed:
libseccomp-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "zypper" "--non-interactive" "install" "libseccomp-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following NEW package is going to be installed:
- libseccomp-devel
-
- 1 new package to install.
- Overall download size: 54.3 KiB. Already cached: 0 B. After the operation, additional 95.5 KiB will be used.
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libseccomp-devel-2.5.3-150400.2.4.x86_64 (Main Repository) (1/1), 54.3 KiB
- Retrieving: libseccomp-devel-2.5.3-150400.2.4.x86_64.rpm [..done]
-
- Checking for file conflicts: [..done]
- (1/1) Installing: libseccomp-devel-2.5.3-150400.2.4.x86_64 [.
- .done]
2024-05-11 03:28.30 ---> saved as "a0c5f92c0f8d0954b15930d6f8a56ec471b2f6eeeaad493d2007828daa0b7ee0"
/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 ocaml-src 4.14.2
- install conf-pkg-config 2
- install ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install dune 3.15.2
- install conf-libseccomp 1
- install topkg 1.0.7
- install base-bytes base
- install macaddr 5.5.0
- install domain-name 0.4.0
- install csexp 1.5.2
- install cppo 1.6.9
- install bheap 2.0.0
- install solo5-bindings-hvt 0.6.9
- install fmt 0.9.0
- install ipaddr 5.5.0
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install ocaml-freestanding 0.6.7
- install metrics 0.4.1
- install cstruct 6.2.0
- install lwt 5.7.0
- install logs 0.7.0
- install mirage-runtime 4.5.0
===== 25 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bheap.2.0.0 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> installed conf-pkg-config.2
-> retrieved fmt.0.9.0 (cached)
-> installed conf-libseccomp.1
-> retrieved ipaddr.5.5.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved macaddr.5.5.0 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved mirage-runtime.4.5.0 (cached)
-> retrieved ocaml-freestanding.0.6.7 (https://github.com/mirage/ocaml-solo5/archive/v0.6.7.tar.gz)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved ocaml-src.4.14.2 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.2.0
-> installed ocaml-src.4.14.2
-> retrieved solo5-bindings-hvt.0.6.9 (https://github.com/Solo5/solo5/releases/download/v0.6.9/solo5-v0.6.9.tar.gz)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed solo5-bindings-hvt.0.6.9
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.15.2
-> installed bheap.2.0.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed metrics.0.4.1
-> installed cppo.1.6.9
-> installed ipaddr.5.5.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed mirage-runtime.4.5.0
-> installed ocaml-freestanding.0.6.7
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 03:30.32 ---> saved as "14121f7e8ddc65d61b0f770c1a8be6a830622a7698b3713718d04e78984f1c4e"
/src: (copy (src .) (dst /src))
2024-05-11 03:30.32 ---> saved as "2a71b4db958e5be8d633caba62c02f7f577eef5d142618596b1f1693ed7b61a4"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib && ./cflags.sh) > _build/default/lib/cflags.sexp
[WARNING] var was deprecated in version 2.1 of the opam CLI. Use opam var instead or set OPAMCLI environment variable to 2.0.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.oS.objs/byte -I lib/.oS.objs/public_cmi -I /home/opam/.opam/4.14/lib/bheap -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-runtime -I /home/opam/.opam/4.14/lib/mirage-runtime/functoria -no-alias-deps -opaque -open OS__ -o lib/.oS.objs/byte/oS__Time.cmo -c -impl lib/time.ml)
File "lib/time.ml", line 90, characters 8-26:
90 | match SleepQueue.maximum sleep_queue with
^^^^^^^^^^^^^^^^^^
Error: Unbound value SleepQueue.maximum
Hint: Did you mean minimum?
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 03:30.33: Job failed: Failed: Build failed