2025-07-01 10:46.02: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/pull/8/head (7e26a196ceed2b2bd17184f050ab908ce411fb72) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" && cd "ocaml-h1" && git fetch origin "refs/pull/8/head" && git reset --hard 7e26a196
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && 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.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.4.0 cmdliner.1.0.4 conf-m4.1 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.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.12.0 stdio.v0.12.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.3 --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-07-01 10:46.02: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-d541c975c9a853c5361f272762824ff2"
2025-07-01 10:46.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && 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.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.4.0 cmdliner.1.0.4 conf-m4.1 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.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.12.0 stdio.v0.12.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.3 --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-07-01 10:46.02: Waiting for resource in pool OCluster
2025-07-01 10:46.02: Waiting for worker…
2025-07-01 10:46.03: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 7e26a19 add Websocket.Handshake to handle headers
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-07-01 10:46.04 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache
/: (comment debian-12-4.08_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-01 10:46.04 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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 development 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-07-01 10:46.32 ---> saved as "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-07-01 10:46.33 ---> saved as "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-01 10:46.33 ---> saved as "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 48010ffa790be06f04234994c933fa3f7254b6cc || git fetch origin master) && git reset -q --hard 48010ffa790be06f04234994c933fa3f7254b6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c7269f729a..70ed6dc380 master -> origin/master
48010ffa79 Restrict non-working ocaml version for dune (#28092)
<><> 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, 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-07-01 10:47.09 ---> saved as "a13f944cec1259f588b0a7cf069e01a2c636b7630cead4d68880c119c66d127a"
/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-07-01 10:47.09 ---> saved as "aee7c60275f850fd0865525fe7975b6690579e0eedc04f73c6d1abe4fe678f88"
/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-07-01 10:47.12 ---> saved as "0975dc3845f1ddf90bd979691b1ae31b27ef9325817edc9b1de4b77a49e5d035"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-01 10:47.12 ---> saved as "f87cb7cc776e730f827997ca0296f8a726f4ec5905647ca47e76b57cd2fe7386"
/src: (env DEPS "alcotest.1.5.0 angstrom.0.14.0 astring.0.8.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.4.0 cmdliner.1.0.4 conf-m4.1 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.4.2.0 mmap.1.0.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 seq.0.3 sexplib0.v0.12.0 stdio.v0.12.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.3 --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-security bookworm-security/main amd64 Packages [270 kB]
- Fetched 373 kB in 2s (218 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///src)
[h1-lwt-unix.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
- (Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-07-01 10:47.21 ---> saved as "0810fac0b523c3a9aef65e811351400bb45592126c90eaab7ef19387b2946889"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 32 packages
- install alcotest 1.5.0
- install angstrom 0.14.0
- install astring 0.8.3
- install base v0.12.2
- install base-bytes base
- install base64 1.1.0
- install bigstringaf 0.4.0
- install cmdliner 1.0.4
- install conf-m4 1
- 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 4.2.0
- install mmap 1.0.2
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install re 1.7.2
- install result 1.5
- install seq 0.3
- install sexplib0 v0.12.0
- install stdio v0.12.0
- install stdlib-shims 0.1.0
- install topkg 1.0.8
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.14.0 (cached)
-> retrieved astring.0.8.3 (https://opam.ocaml.org/cache)
-> retrieved alcotest.1.5.0 (https://opam.ocaml.org/cache)
-> retrieved base.v0.12.2 (https://opam.ocaml.org/cache)
-> retrieved base64.1.1.0 (https://opam.ocaml.org/cache)
-> retrieved bigstringaf.0.4.0 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved faraday.0.8.1 (https://opam.ocaml.org/cache)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1 (cached)
-> retrieved dune.3.5.0 (cached)
-> retrieved faraday-lwt.0.5.0 (https://opam.ocaml.org/cache)
-> retrieved faraday-lwt-unix.0.6.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.8.8 (https://opam.ocaml.org/cache)
-> retrieved httpun-types.0.1.0 (cached)
-> installed cmdliner.1.0.4
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved mmap.1.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved lwt.4.2.0 (https://opam.ocaml.org/cache)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved sexplib0.v0.12.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved stdio.v0.12.0 (https://opam.ocaml.org/cache)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed bigstringaf.0.4.0
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed base64.1.1.0
-> installed topkg.1.0.8
-> installed uutf.1.0.3
-> installed dune.3.5.0
-> installed astring.0.8.3
-> installed seq.0.3
-> installed faraday.0.8.1
-> installed result.1.5
-> installed mmap.1.0.2
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed httpun-types.0.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed angstrom.0.14.0
-> installed fmt.0.8.8
-> installed alcotest.1.5.0
-> installed dune-private-libs.2.5.1
-> installed lwt.4.2.0
-> installed faraday-lwt.0.5.0
-> installed faraday-lwt-unix.0.6.0
-> installed dune-configurator.2.5.1
-> installed base.v0.12.2
-> installed stdio.v0.12.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-07-01 10:47.52 ---> saved as "df530034f1e727c1c3bbba6762e542491da47b777b2ed2fe49b68025fe17f948"
/src: (copy (src .) (dst /src))
2025-07-01 10:47.53 ---> saved as "4b522c0ec41ab64f43a4410586af1b0a681e2d4ba410af7a72d4d8c69ae352e6"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/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.08/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.08/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.08/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.08/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.08/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.08/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.08/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.08/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.08/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.08/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.08/lib/angstrom -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bigstringaf -I /home/opam/.opam/4.08/lib/faraday -I /home/opam/.opam/4.08/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 546, characters 16-33:
546 | 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-07-01 10:47.53: Job failed: Failed: Build failed