2025-08-07 08:42.40: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/heads/master (4fab21cd3ea2fa9b2f17259f1d02af5fae018cf8) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" -b "master" && cd "ocaml-h1" && git reset --hard 4fab21cd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
# debian-12-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam ./
RUN opam pin add -yn h1.dev './' && \
opam pin add -yn h1-lwt-unix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.5.0 angstrom.0.14.0 astring.0.8.5 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.1.0 bstr.0.0.1 cmdliner.1.0.4 cppo.1.6.1 dune.3.5.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.8.1 faraday-lwt.0.5.0 faraday-lwt-unix.0.6.0 fmt.0.8.8 httpun-types.0.1.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.14.0 stdio.v0.14.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y h1.dev h1-lwt-unix.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
2025-08-07 08:42.40: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc-debian-12-4.14_opam-2.4-5992826ce220d9d34c9e7b96d330ce0c"
2025-08-07 08:42.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc)
(comment debian-12-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src h1.opam h1-lwt-unix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.5.0 angstrom.0.14.0 astring.0.8.5 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.1.0 bstr.0.0.1 cmdliner.1.0.4 cppo.1.6.1 dune.3.5.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.8.1 faraday-lwt.0.5.0 faraday-lwt-unix.0.6.0 fmt.0.8.8 httpun-types.0.1.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.14.0 stdio.v0.14.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")
(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.4 --depext-only -y h1.dev h1-lwt-unix.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"))
)
2025-08-07 08:42.40: Waiting for resource in pool OCluster
2025-08-07 08:42.40: Waiting for worker…
2025-08-07 08:42.41: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 4fab21c Merge pull request #11 from swrup/bstr
(from ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc)
2025-08-07 08:43.13 ---> saved as "142100138a91f890d28d70e008b081a84bdd607cd5d8f8de3ee28b415bda950d"
/: (comment debian-12-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-07 08:43.13 ---> saved as "e7ef1ab5d72bc3878cd9cd9c8c92e02e8756dc4553455ce08375017d7fa98b99"
/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.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-07 08:43.32 ---> saved as "a00eaa7d6e20b2842d2d0a756d83e11cfa01c393bbdfe1614e5e7ef66cc31d7f"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-08-07 08:43.32 ---> saved as "5647ab45ba026b994ed399c0ca07168f94cbd24594308c3674ee719bb6818277"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-07 08:43.32 ---> saved as "7c203636209f7eeac807dc77915feba49206ddb0c0d8c07e107dda3fc65cf32c"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-07 08:43.45 ---> saved as "bb8b00bb3b1a844b3a3653491cf74782175301b7e5d491116b6dee5ef2efcb46"
/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-08-07 08:43.45 ---> saved as "ae89035ec6043796079985316967e47269b869057c85b47ac63da3200ecd60e8"
/src: (run (network host)
(shell "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
[h1.dev] synchronised (file:///src)
h1 is now pinned to file:///src (version dev)
[h1-lwt-unix.dev] synchronised (file:///src)
h1-lwt-unix is now pinned to file:///src (version dev)
2025-08-07 08:43.47 ---> saved as "2fd60cd3e3b6e3fa6cc8d6fffef23b67dd3304380e0d4922d42095673aaba320"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-07 08:43.47 ---> saved as "dbc0aacdb1b391a2cb340e3ad003a8d164e95584fc3628739d3aca1bfe17603e"
/src: (env DEPS "alcotest.1.5.0 angstrom.0.14.0 astring.0.8.5 base.v0.14.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.1.0 bstr.0.0.1 cmdliner.1.0.4 cppo.1.6.1 dune.3.5.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.8.1 faraday-lwt.0.5.0 faraday-lwt-unix.0.6.0 fmt.0.8.8 httpun-types.0.1.0 jbuilder.1.0+beta20.1 lwt.5.4.0 mmap.1.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 ocplib-endian.1.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.14.0 stdio.v0.14.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")
/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.4 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 0s (1439 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///src)
[h1-lwt-unix.dev] synchronised (file:///src)
[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).
2025-08-07 08:43.54 ---> saved as "aa1cbc667ef10e1b45c7e8e01653cce0630afc888bf56d8efb2dafebd1106e41"
/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 33 packages
- install alcotest 1.5.0
- install angstrom 0.14.0
- install astring 0.8.5
- install base v0.14.2
- install base-bytes base
- install base64 1.1.0
- install bigstringaf 0.1.0
- install bstr 0.0.1
- install cmdliner 1.0.4
- install cppo 1.6.1
- install dune 3.5.0
- install dune-configurator 2.5.1
- install dune-private-libs 2.5.1
- install faraday 0.8.1
- install faraday-lwt 0.5.0
- install faraday-lwt-unix 0.6.0
- install fmt 0.8.8
- install httpun-types 0.1.0
- install jbuilder 1.0+beta20.1 (deprecated)
- install lwt 5.4.0
- install mmap 1.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ocplib-endian 1.0
- install re 1.7.2
- install result 1.5
- install seq 0.3
- install sexplib0 v0.14.0
- install stdio v0.14.0
- install stdlib-shims 0.1.0
- install topkg 1.0.8
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.5.0 (cached)
-> retrieved angstrom.0.14.0 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.14.2 (cached)
-> retrieved base64.1.1.0 (cached)
-> retrieved bigstringaf.0.1.0 (cached)
-> retrieved bstr.0.0.1 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.6.1 (cached)
-> retrieved faraday.0.8.1 (cached)
-> retrieved faraday-lwt.0.5.0 (cached)
-> retrieved faraday-lwt-unix.0.6.0 (cached)
-> retrieved fmt.0.8.8 (cached)
-> retrieved httpun-types.0.1.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.3.5.0 (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1 (cached)
-> retrieved lwt.5.4.0 (cached)
-> retrieved mmap.1.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> installed cmdliner.1.0.4
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved stdio.v0.14.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed bigstringaf.0.1.0
-> installed re.1.7.2
-> installed cppo.1.6.1
-> installed base64.1.1.0
-> installed dune.3.5.0
-> installed topkg.1.0.8
-> installed bstr.0.0.1
-> installed faraday.0.8.1
-> installed result.1.5
-> installed mmap.1.1.0
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.14.0
-> installed httpun-types.0.1.0
-> installed ocplib-endian.1.0
-> installed angstrom.0.14.0
-> installed astring.0.8.5
-> installed fmt.0.8.8
-> installed ocaml-syntax-shims.1.0.0
-> installed uutf.1.0.3
-> installed dune-private-libs.2.5.1
-> installed alcotest.1.5.0
-> installed dune-configurator.2.5.1
-> installed lwt.5.4.0
-> installed faraday-lwt.0.5.0
-> installed faraday-lwt-unix.0.6.0
-> installed base.v0.14.2
-> installed stdio.v0.14.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-08-07 08:44.23 ---> saved as "0a58eed08d64743c99831b7f01680d3d20731abd959326961ba0eef622ec86d9"
/src: (copy (src .) (dst /src))
2025-08-07 08:44.24 ---> saved as "c7b3822a31fd63db6f10fe463c45faa34e5931769874de20e231bc3fd97a682c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.14/lib/faraday-lwt-unix/faraday-lwt-unix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/bigstringaf/bigstringaf.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/faraday-lwt/faraday-lwt.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/re.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/emacs/re.emacs.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/glob/re.glob.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/pcre/re.pcre.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/perl/re.perl.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/posix/re.posix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.14/lib/re/str/re.str.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
(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 -safe-string -g -bin-annot -I lib/.h1.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/bstr -I /home/opam/.opam/4.14/lib/faraday -I /home/opam/.opam/4.14/lib/httpun-types -no-alias-deps -opaque -open H1__ -o lib/.h1.objs/byte/h1__Websocket.cmo -c -impl lib/websocket.ml)
File "lib/websocket.ml", line 575, characters 16-33:
575 | let nonce = Base64.encode_exn nonce in
^^^^^^^^^^^^^^^^^
Error: Unbound value Base64.encode_exn
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-08-07 08:44.24: Job failed: Failed: Build failed