2024-05-16 08:23.01: New job: test ocaml-multicore/lwt_eio https://github.com/ocaml-multicore/lwt_eio.git#refs/heads/master (e3679c5296dd0aacac825735dab45ded26d55821) (linux-x86_64:alpine-3.19-5.1_opam-2.1)
Base: ocaml/opam@sha256:21536be1aff8b659cf55164de6001c799ae5ef82083b4aa8284e01278a377d21
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/lwt_eio.git" -b "master" && cd "lwt_eio" && git reset --hard e3679c52
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:21536be1aff8b659cf55164de6001c799ae5ef82083b4aa8284e01278a377d21
# 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 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_eio.opam ./
RUN opam pin add -yn lwt_eio.dev './'
ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 fmt.0.9.0 hmap.0.8.1 iomux.0.3 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 uring.0.9"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y lwt_eio.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-16 08:23.01: Using cache hint "ocaml-multicore/lwt_eio-ocaml/opam@sha256:21536be1aff8b659cf55164de6001c799ae5ef82083b4aa8284e01278a377d21-alpine-3.19-5.1_opam-2.1-dc598fb71c10e391530e38207608d92a"
2024-05-16 08:23.01: Using OBuilder spec:
((from ocaml/opam@sha256:21536be1aff8b659cf55164de6001c799ae5ef82083b4aa8284e01278a377d21)
(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 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_eio.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn lwt_eio.dev './'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 fmt.0.9.0 hmap.0.8.1 iomux.0.3 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 uring.0.9")
(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 lwt_eio.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-16 08:23.01: Waiting for resource in pool OCluster
2024-05-16 08:23.01: Waiting for worker…
2024-05-16 08:23.02: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
HEAD is now at e3679c5 Merge pull request #30 from talex5/examples
(from ocaml/opam@sha256:21536be1aff8b659cf55164de6001c799ae5ef82083b4aa8284e01278a377d21)
2024-05-16 08:23.59 ---> saved as "e928612e2e23f17159896fb9a5c3a009961708e2acb765b029947b594e00f7a9"
/: (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-05-16 08:23.59 ---> saved as "1a8a4ec675bc8923dfca670e9ae6678864654b564dea22d06ae2188299a10aa0"
/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-16 08:25.18 ---> saved as "c38ebb2d303ba8d6fc711e30279f056e12fc9807477eedf2a47c6cbc6d678d1a"
/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-05-16 08:25.18 ---> saved as "53ba21a71b46e5b0d3375fb973838a255c48cce61731c7dfd6e715d1a755fc10"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-16 08:25.18 ---> saved as "7d1dbe4fc4de7a08dac5589d8243f6bbbd2e307cf2244460bfdde1da37d8b620"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4e29837bedc03b2e5a3771c15479e71c8faee17a || git fetch origin master) && git reset -q --hard 4e29837bedc03b2e5a3771c15479e71c8faee17a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..3be63245f1 master -> origin/master
4e29837bed [new release] uring (0.9)
<><> 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-16 08:26.35 ---> saved as "916e427c2af1b20d3aabcfbb36bee97a108d7e076a347def0af69152ec0b74e5"
/src: (copy (src lwt_eio.opam) (dst ./))
2024-05-16 08:26.35 ---> saved as "b38a786429efbb397167c25cb207b4fdf098347a8797a9753971cb9ca785b922"
/src: (run (network host)
(shell "opam pin add -yn lwt_eio.dev './'"))
[lwt_eio.dev] synchronised (file:///src)
lwt_eio is now pinned to file:///src (version dev)
2024-05-16 08:26.37 ---> saved as "2d4ec573cc3e1b5eee67de50ea9cbdeaeb6edd8e55737c546935b4c3a658a81f"
/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.9.1 camlp-streams.5.0.1 cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 dune.3.15.2 dune-configurator.3.15.2 eio.1.0 eio_linux.1.0 eio_main.1.0 eio_posix.1.0 fmt.0.9.0 hmap.0.8.1 iomux.0.3 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 mdx.2.4.1 mtime.2.0.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.6.7 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 optint.0.3.0 psq.0.2.1 re.1.11.0 result.1.5 seq.base thread-table.1.0.0 topkg.1.0.7 uring.0.9")
/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 lwt_eio.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-537-gf9dddd80747 [https://dl-cdn.alpinelinux.org/alpine/v3.19/main]
- v3.19.1-538-g0bea10115e4 [https://dl-cdn.alpinelinux.org/alpine/v3.19/community]
- v20240329-4044-g80023217524 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20240329-3989-g4735dec39fc [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20240329-3986-g1e94d22a65c [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 52957 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt_eio.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).
The following system packages will first need to be installed:
linux-headers
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "linux-headers"
- (1/1) Installing linux-headers (6.5-r0)
- OK: 302 MiB in 102 packages
2024-05-16 08:26.55 ---> saved as "17a401d6b54ac9f215b16f26ab895f34d35342682876217105cd7ce8e5202017"
/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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install base-bytes base
- install thread-table 1.0.0
- install result 1.5
- install re 1.11.0
- install psq 0.2.1
- install optint 0.3.0
- install ocaml-version 3.6.7
- install lwt-dllist 1.0.1
- install csexp 1.5.2
- install cppo 1.6.9
- install camlp-streams 5.0.1
- install mtime 2.0.0
- install hmap 0.8.1
- install fmt 0.9.0
- install astring 0.8.5
- install domain-local-await 1.0.1
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install cstruct 6.2.0
- install iomux 0.3
- install bigstringaf 0.9.1
- install lwt 5.7.0
- install uring 0.9
- install eio 1.0
- install logs 0.7.0
- install eio_posix 1.0
- install eio_linux 1.0
- install mdx 2.4.1
- install eio_main 1.0
===== 35 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.9.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved camlp-streams.5.0.1 (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-local-await.1.0.1 (cached)
-> retrieved eio.1.0 (cached)
-> retrieved eio_linux.1.0 (cached)
-> retrieved eio_main.1.0 (cached)
-> retrieved eio_posix.1.0 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved iomux.0.3 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved mdx.2.4.1 (cached)
-> retrieved mtime.2.0.0 (cached)
-> retrieved ocaml-version.3.6.7 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved thread-table.1.0.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uring.0.9 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed hmap.0.8.1
-> installed mtime.2.0.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.15.2
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cstruct.6.2.0
-> installed ocaml-version.3.6.7
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed thread-table.1.0.0
-> installed domain-local-await.1.0.1
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed bigstringaf.0.9.1
-> installed iomux.0.3
-> installed eio.1.0
-> installed uring.0.9
-> installed lwt.5.7.0
-> installed eio_linux.1.0
-> installed eio_posix.1.0
-> installed eio_main.1.0
-> installed logs.0.7.0
-> installed mdx.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-16 08:28.06 ---> saved as "c9bcf7410d1b364f7ea2097dfe9e4f61d4cbb8219750e502d6c1f211a4754d6d"
/src: (copy (src .) (dst /src))
2024-05-16 08:28.06 ---> saved as "3b3d2fe66c6b9ab3f03dd0d75dbe65148092ec8bc698a3493afe55391826b2fb"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-05-16 08:28.08 ---> saved as "dddec83595881bab9f88c11f54ba6a9d66c2f7ed78b1983cb23a9ecfe50cf1fa"
Job succeeded
2024-05-16 08:28.09: Job succeeded