Organisationsmirageawa-ssh1a3fb3 ()openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

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-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
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-4.14
# openbsd-76-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-4.14-openbsd-76-amd64-4.14_opam-2.3-288fea49426ab61517d129f96d03e6ab"
2025-05-14 21:30.54: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.54: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 1a3fb3c Add Server.close, fix close message semantics


(from openbsd-76-amd64-ocaml-4.14)
2025-05-14 21:32.54 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache


/: (comment openbsd-76-amd64-4.14_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.54 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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.54 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-05-14 21:32.54 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" 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
727427c1e7..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.54 ---> using "588c8d1d9816bdab00470ed016f95752730ae0ce3c044678abc6f04abb12b4c9" from cache


/: (copy (src awa.opam awa-mirage.opam) (dst /home/opam/src/./))
2025-05-14 21:33.51 ---> saved as "a2d1d799d5b3b866ebecd6051e63dff1695ce7cbeff0d2fd90d8c6698c8a85b5"


/: (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.47 ---> saved as "6fb109ec3a6d1f32fa10b1a2381a84691f77a609b49c08cefdc621d4f299522c"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-05-14 21:35.30 ---> saved as "4ef8716b620cead66e6f4b22ff920fc740f0aa84d2db6418965bd4102bfef179"


/: (env DEPS "asn1-combinators.0.3.2 base-bigarray.base base-bytes.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 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:
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.30 ---> saved as "476fa47fdb13fd73cea4040dab25e4ba6ebd0532749ca5ccd6d57e09e51d7a9b"


/: (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 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 cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.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 ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved gmap.0.3.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-mtime.5.0.0  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mtime.2.1.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 ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (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 x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved ptime.1.2.0  (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:47.03 ---> saved as "fc58629cece5ff4bbfd71edbdb12898ddede4e9ae59bdb6bdc5d8674d578a15f"


/: (copy (src .) (dst /home/opam/src))
2025-05-14 21:48.00 ---> saved as "db2b658feb9405a348ff47f39bbac3c0bf797304ecb5af6429e9f280a7449e3d"


/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14.2/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/.awa.objs/byte -I /home/opam/.opam/4.14.2/lib/asn1-combinators -I /home/opam/.opam/4.14.2/lib/base64 -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/digestif -I /home/opam/.opam/4.14.2/lib/domain-name -I /home/opam/.opam/4.14.2/lib/eqaf -I /home/opam/.opam/4.14.2/lib/fmt -I /home/opam/.opam/4.14.2/lib/gmap -I /home/opam/.opam/4.14.2/lib/ipaddr -I /home/opam/.opam/4.14.2/lib/kdf/pbkdf -I /home/opam/.opam/4.14.2/lib/logs -I /home/opam/.opam/4.14.2/lib/macaddr -I /home/opam/.opam/4.14.2/lib/mirage-crypto -I /home/opam/.opam/4.14.2/lib/mirage-crypto-ec -I /home/opam/.opam/4.14.2/lib/mirage-crypto-pk -I /home/opam/.opam/4.14.2/lib/mirage-crypto-rng -I /home/opam/.opam/4.14.2/lib/mtime -I /home/opam/.opam/4.14.2/lib/ohex -I /home/opam/.opam/4.14.2/lib/ptime -I /home/opam/.opam/4.14.2/lib/x509 -I /home/opam/.opam/4.14.2/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:48.58: Job failed: Failed: Build failed