2025-05-14 21:30.54: New job: test mirage/awa-ssh https://github.com/mirage/awa-ssh.git#refs/heads/close (1a3fb3ca0ac84a8039a6540936962570835e4356) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/awa-ssh.git" -b "close" && cd "awa-ssh" && git reset --hard 1a3fb3ca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 awa.opam awa-mirage.opam /home/opam/src/./
RUN opam pin add -yn awa.dev '/home/opam/src/./' && \
opam pin add -yn awa-mirage.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.18.2 dune-configurator.3.18.2 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y awa.dev awa-mirage.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-05-14 21:30.54: Using cache hint "mirage/awa-ssh-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-8b71e1ee0965d7c0e86953e28efa6ca9"
2025-05-14 21:30.54: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src awa.opam awa-mirage.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn awa.dev '/home/opam/src/./' && \
\nopam pin add -yn awa-mirage.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.18.2 dune-configurator.3.18.2 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14")
(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 awa.dev awa-mirage.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-05-14 21:30.54: Waiting for resource in pool OCluster
2025-05-14 21:30.54: Waiting for worker…
2025-05-14 21:32.37: Got resource from pool OCluster
Building on oregano
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/awa-ssh.git-837ecf772a32ea17d458ac479573676355931ef8/.git/
HEAD is now at 1a3fb3c Add Server.close, fix close message semantics
(from openbsd-76-amd64-ocaml-5.3)
2025-05-14 21:32.38 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache
/: (comment openbsd-76-amd64-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-14 21:32.38 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache
/: (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] synchronised from file:///home/opam/opam-repository
2025-05-14 21:32.38 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-14 21:32.38 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..0d013e603b master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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.
# To update the current shell environment, run: eval $(opam env)
2025-05-14 21:32.38 ---> using "08850ffc06efc35ba3198d3fd084207b0f44cdf35c1c9b6f02df8c49dd1ecd1e" from cache
/: (copy (src awa.opam awa-mirage.opam) (dst /home/opam/src/./))
2025-05-14 21:33.37 ---> saved as "54cd7ad04a70a1c9571f082e815f0d434356d28ca2afc3b08d98af57fe786594"
/: (run (network host)
(shell "opam pin add -yn awa.dev '/home/opam/src/./' && \
\nopam pin add -yn awa-mirage.dev '/home/opam/src/./'"))
[awa.dev] synchronised (file:///home/opam/src)
awa is now pinned to file:///home/opam/src (version dev)
[awa-mirage.dev] synchronised (file:///home/opam/src)
awa-mirage is now pinned to file:///home/opam/src (version dev)
2025-05-14 21:34.33 ---> saved as "a9d11706bba32002ecc9453db5ffaa3e11c260e54cf429a5b45fe69605a947cd"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-05-14 21:35.30 ---> saved as "79caf49e7e13e60719f0e3353987abd66d9b856e450b8e9d9b2cd7e8fb65d73e"
/: (env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.18.2 dune-configurator.3.18.2 duration.0.2.1 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 topkg.1.0.8 x509.1.0.6 zarith.1.14")
/: (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 awa.dev awa-mirage.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[awa-mirage.dev] synchronised (file:///home/opam/src)
[awa.dev] synchronised (file:///home/opam/src)
[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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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:
gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/doas "pkg_add" "-I" "gmp"
- quirks-7.50 signed on 2025-04-20T09:56:12Z
2025-05-14 21:36.38 ---> saved as "3594c884927b9e8244e9f941ac480a7b2080fe80beca0bf1c5a781228dc3ebf3"
/: (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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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 40 packages
- install asn1-combinators 0.3.2
- install base-bytes base
- install base64 3.5.1
- install cmdliner 1.3.0
- install conf-gmp 5
- install conf-gmp-powm-sec 4
- install conf-pkg-config 4
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-unix 6.2.0
- install digestif 1.3.0
- install domain-name 0.4.1
- install dune 3.18.2
- install dune-configurator 3.18.2
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.10.0
- install gmap 0.3.0
- install ipaddr 5.6.0
- install kdf 1.0.0
- install logs 0.8.0
- install lwt 5.9.1
- install macaddr 5.6.0
- install mirage-crypto 2.0.0
- install mirage-crypto-ec 2.0.0
- install mirage-crypto-pk 2.0.0
- install mirage-crypto-rng 2.0.0
- install mirage-flow 5.0.0
- install mirage-mtime 5.0.0
- install mirage-sleep 4.0.0
- install mtime 2.1.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ohex 0.2.0
- install ptime 1.2.0
- install topkg 1.0.8
- install x509 1.0.6
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-unix.6.2.0 (cached)
-> installed conf-gmp.5
-> retrieved domain-name.0.4.1 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-ec.2.0.0, mirage-crypto-pk.2.0.0, mirage-crypto-rng.2.0.0 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved dune.3.18.2, dune-configurator.3.18.2 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved x509.1.0.6 (cached)
-> installed cmdliner.1.3.0
-> installed conf-gmp-powm-sec.4
-> installed conf-pkg-config.4
-> installed dune.3.18.2
-> installed ocamlbuild.0.16.1
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed dune-configurator.3.18.2
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed digestif.1.3.0
-> installed macaddr.5.6.0
-> installed mirage-crypto.2.0.0
-> installed ipaddr.5.6.0
-> installed kdf.1.0.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ohex.0.2.0
-> installed topkg.1.0.8
-> installed ocplib-endian.1.2
-> installed fmt.0.10.0
-> installed lwt.5.9.1
-> installed cstruct.6.2.0
-> installed logs.0.8.0
-> installed cstruct-unix.6.2.0
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-flow.5.0.0
-> installed mirage-crypto-ec.2.0.0
-> installed mirage-sleep.4.0.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed mirage-mtime.5.0.0
-> installed asn1-combinators.0.3.2
-> installed zarith.1.14
-> installed mirage-crypto-pk.2.0.0
-> installed x509.1.0.6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-14 21:48.21 ---> saved as "127968f64f36dfe304fb7228b89ff928e91f733415d10d68572eeea552bf6baf"
/: (copy (src .) (dst /home/opam/src))
2025-05-14 21:49.18 ---> saved as "9e9f630197c7bad13d43ed7a463fafb4975e5c252ae345a24a8b5cc80baf8667"
/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3.0/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 -bin-annot-occurrences -I lib/.awa.objs/byte -I /home/opam/.opam/5.3.0/lib/asn1-combinators -I /home/opam/.opam/5.3.0/lib/base64 -I /home/opam/.opam/5.3.0/lib/cstruct -I /home/opam/.opam/5.3.0/lib/digestif -I /home/opam/.opam/5.3.0/lib/domain-name -I /home/opam/.opam/5.3.0/lib/eqaf -I /home/opam/.opam/5.3.0/lib/fmt -I /home/opam/.opam/5.3.0/lib/gmap -I /home/opam/.opam/5.3.0/lib/ipaddr -I /home/opam/.opam/5.3.0/lib/kdf/pbkdf -I /home/opam/.opam/5.3.0/lib/logs -I /home/opam/.opam/5.3.0/lib/macaddr -I /home/opam/.opam/5.3.0/lib/mirage-crypto -I /home/opam/.opam/5.3.0/lib/mirage-crypto-ec -I /home/opam/.opam/5.3.0/lib/mirage-crypto-pk -I /home/opam/.opam/5.3.0/lib/mirage-crypto-rng -I /home/opam/.opam/5.3.0/lib/mtime -I /home/opam/.opam/5.3.0/lib/ohex -I /home/opam/.opam/5.3.0/lib/ptime -I /home/opam/.opam/5.3.0/lib/x509 -I /home/opam/.opam/5.3.0/lib/zarith -no-alias-deps -opaque -open Awa -o lib/.awa.objs/byte/awa__Server.cmo -c -impl lib/server.ml)
File "lib/server.ml", line 612, characters 17-33:
612 | let t, msg = output_msg t msg in
^^^^^^^^^^^^^^^^
Error: This expression has type (t * Cstruct.t, string) result
but an expression was expected of type 'a * 'b
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-14 21:50.15: Job failed: Failed: Build failed