2025-12-14 10:13.04: New job: test mirage/mirage-skeleton https://github.com/mirage/mirage-skeleton.git#refs/pull/418/head (8382633e9753bcc0d7bccf55fe10a1844a3aa93f) (linux-x86_64:(lint-fmt)) Base: ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44 ocamlformat version: version 0.27.0 (from opam) To reproduce locally: git clone --recursive "https://github.com/mirage/mirage-skeleton.git" && cd "mirage-skeleton" && git fetch origin "refs/pull/418/head" && git reset --hard 8382633e cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44 USER 1000:1000 RUN cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u RUN opam depext -i dune WORKDIR /src RUN opam depext -i ocamlformat=0.27.0 COPY --chown=1000:1000 . /src/ RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2) END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-12-14 10:13.04: Using cache hint "mirage/mirage-skeleton-ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44-debian-13-4.08_opam-2.4-ocamlformat-991c7a1514e7da747afe448ae9a046af3bc2497e" 2025-12-14 10:13.04: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44) (user (uid 1000) (gid 1000)) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext -i dune")) (workdir /src) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext -i ocamlformat=0.27.0")) (copy (src .) (dst /src/)) (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)")) ) 2025-12-14 10:13.04: Waiting for resource in pool OCluster 2025-12-14 10:22.17: Waiting for worker… 2025-12-14 10:23.43: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached HEAD is now at 8382633 Pass dhcp to resolver_dns (from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44) Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44' locally docker.io/ocaml/opam@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44: Pulling from ocaml/opam 2981f7e8980b: Pulling fs layer 9c63e1c4ba84: Pulling fs layer 02578b9c9f1b: Pulling fs layer 3801cb7ba5e6: Pulling fs layer 1c4cdedd39f1: Pulling fs layer 40f6006c5f5a: Pulling fs layer c451a17216ec: Pulling fs layer e4104b8f72ee: Pulling fs layer 7c7dbc5e7919: Pulling fs layer 1c4cdedd39f1: Waiting aa82be714e7c: Pulling fs layer 40f6006c5f5a: Waiting 922520f12384: Pulling fs layer c451a17216ec: Waiting 9bfea042cef8: Pulling fs layer e4104b8f72ee: Waiting 1244979f7c21: Pulling fs layer 7583a0e34f94: Pulling fs layer 7c7dbc5e7919: Waiting aa82be714e7c: Waiting 14bef3f2665a: Pulling fs layer 9bfea042cef8: Waiting 3a4b42ce6cb5: Pulling fs layer 922520f12384: Waiting 3801cb7ba5e6: Waiting b0a08a900877: Pulling fs layer 7583a0e34f94: Waiting 1244979f7c21: Waiting 14bef3f2665a: Waiting 16ac87e68d60: Pulling fs layer 3a4b42ce6cb5: Waiting 74ac6e8c9b82: Pulling fs layer b41290a57dc5: Pulling fs layer 592e5bcb7159: Pulling fs layer 16ac87e68d60: Waiting 4f4fb700ef54: Pulling fs layer b41290a57dc5: Waiting 1db0705661a3: Pulling fs layer 592e5bcb7159: Waiting 76bb8e35b9cc: Pulling fs layer 4f4fb700ef54: Waiting 1db0705661a3: Waiting 3bc9d98c3b49: Pulling fs layer 7096ef42e6c0: Pulling fs layer 3bc9d98c3b49: Waiting cd0e70de8125: Pulling fs layer 7096ef42e6c0: Waiting 23ffab57f98e: Pulling fs layer cd0e70de8125: Waiting b974353d8023: Pulling fs layer c74fba566723: Pulling fs layer 5ad399846f45: Pulling fs layer c74fba566723: Waiting b974353d8023: Waiting 3e7203fa3980: Pulling fs layer 0b8915d2a92b: Pulling fs layer e68c7a56c438: Pulling fs layer 3e7203fa3980: Waiting 9024d680a167: Pulling fs layer 3c7c73421b6e: Pulling fs layer 7134fa9b4278: Pulling fs layer 9d94fb523099: Pulling fs layer 20d06dbdae7e: Pulling fs layer 3c7c73421b6e: Waiting 7134fa9b4278: Waiting b9a45e537661: Pulling fs layer 20d06dbdae7e: Waiting d013a1d2f205: Pulling fs layer b9e11c34eba5: Pulling fs layer b9a45e537661: Waiting e0af6a95398b: Pulling fs layer d013a1d2f205: Waiting b559598791bf: Pulling fs layer e0af6a95398b: Waiting 02578b9c9f1b: Download complete 9c63e1c4ba84: Download complete 1c4cdedd39f1: Download complete 3801cb7ba5e6: Verifying Checksum 3801cb7ba5e6: Download complete 2981f7e8980b: Download complete c451a17216ec: Verifying Checksum c451a17216ec: Download complete e4104b8f72ee: Verifying Checksum e4104b8f72ee: Download complete 7c7dbc5e7919: Verifying Checksum 7c7dbc5e7919: Download complete 922520f12384: Download complete 9bfea042cef8: Download complete aa82be714e7c: Verifying Checksum aa82be714e7c: Download complete 7583a0e34f94: Verifying Checksum 7583a0e34f94: Download complete 14bef3f2665a: Verifying Checksum 14bef3f2665a: Download complete 1244979f7c21: Verifying Checksum 1244979f7c21: Download complete 3a4b42ce6cb5: Verifying Checksum 3a4b42ce6cb5: Download complete b0a08a900877: Verifying Checksum b0a08a900877: Download complete 40f6006c5f5a: Verifying Checksum 40f6006c5f5a: Download complete 16ac87e68d60: Verifying Checksum 16ac87e68d60: Download complete 2981f7e8980b: Pull complete 74ac6e8c9b82: Verifying Checksum 74ac6e8c9b82: Download complete 9c63e1c4ba84: Pull complete 02578b9c9f1b: Pull complete b41290a57dc5: Verifying Checksum b41290a57dc5: Download complete 592e5bcb7159: Verifying Checksum 592e5bcb7159: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 1db0705661a3: Verifying Checksum 1db0705661a3: Download complete 76bb8e35b9cc: Verifying Checksum 76bb8e35b9cc: Download complete 3bc9d98c3b49: Download complete 7096ef42e6c0: Download complete cd0e70de8125: Verifying Checksum cd0e70de8125: Download complete 23ffab57f98e: Verifying Checksum 23ffab57f98e: Download complete b974353d8023: Verifying Checksum b974353d8023: Download complete c74fba566723: Download complete 3801cb7ba5e6: Pull complete 5ad399846f45: Download complete 1c4cdedd39f1: Pull complete 3e7203fa3980: Download complete 0b8915d2a92b: Download complete e68c7a56c438: Verifying Checksum e68c7a56c438: Download complete 3c7c73421b6e: Verifying Checksum 3c7c73421b6e: Download complete 9d94fb523099: Verifying Checksum 9d94fb523099: Download complete 20d06dbdae7e: Verifying Checksum 20d06dbdae7e: Download complete b9a45e537661: Download complete 9024d680a167: Verifying Checksum 9024d680a167: Download complete b9e11c34eba5: Verifying Checksum b9e11c34eba5: Download complete 7134fa9b4278: Verifying Checksum 7134fa9b4278: Download complete e0af6a95398b: Verifying Checksum e0af6a95398b: Download complete d013a1d2f205: Verifying Checksum d013a1d2f205: Download complete b559598791bf: Download complete 40f6006c5f5a: Pull complete c451a17216ec: Pull complete e4104b8f72ee: Pull complete 7c7dbc5e7919: Pull complete aa82be714e7c: Pull complete 922520f12384: Pull complete 9bfea042cef8: Pull complete 1244979f7c21: Pull complete 7583a0e34f94: Pull complete 14bef3f2665a: Pull complete 3a4b42ce6cb5: Pull complete b0a08a900877: Pull complete 16ac87e68d60: Pull complete 74ac6e8c9b82: Pull complete b41290a57dc5: Pull complete 592e5bcb7159: Pull complete 4f4fb700ef54: Pull complete 1db0705661a3: Pull complete 76bb8e35b9cc: Pull complete 3bc9d98c3b49: Pull complete 7096ef42e6c0: Pull complete cd0e70de8125: Pull complete 23ffab57f98e: Pull complete b974353d8023: Pull complete c74fba566723: Pull complete 5ad399846f45: Pull complete 3e7203fa3980: Pull complete 0b8915d2a92b: Pull complete e68c7a56c438: Pull complete 9024d680a167: Pull complete 3c7c73421b6e: Pull complete 7134fa9b4278: Pull complete 9d94fb523099: Pull complete 20d06dbdae7e: Pull complete b9a45e537661: Pull complete d013a1d2f205: Pull complete b9e11c34eba5: Pull complete e0af6a95398b: Pull complete b559598791bf: Pull complete Digest: sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44 Status: Downloaded newer image for ocaml/opam@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44 2025-12-14 10:23.44 ---> using "c557567380599a9d74e9cba757661af503505628fe0a86c2e1639761275a17b1" from cache /: (user (uid 1000) (gid 1000)) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u")) 991c7a1514 Merge pull request #28718 from ocaml/mseri-patch-1 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised default (at git+file:///home/opam/opam-repository): [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 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 2025-12-14 10:23.44 ---> using "48334a0274a4cda6e745afa064f35b53a7edab2808d8c06488698439abe9b851" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext -i dune")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. # Now letting opam install the packages The following actions will be performed: - install dune 3.20.2 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [dune.3.20.2] found in cache <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed dune.3.20.2 Done. # Run eval $(opam env) to update the current shell environment 2025-12-14 10:23.44 ---> using "fcdaf03ddf3ca48837f128e47a2e53ac4a1c0800def4e13084ece1bb4817789b" from cache /: (workdir /src) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext -i ocamlformat=0.27.0")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. # Now letting opam install the packages The following actions will be performed: - install sexplib0 v0.14.0 [required by base] - install ocamlbuild 0.16.1 [required by fpath, astring, uuseg] - install cmdliner 1.3.0 [required by ocamlformat] - install either 1.0.0 [required by ocamlformat-lib] - install menhirLib 20250912 [required by ocamlformat-lib] - install csexp 1.5.2 [required by ocamlformat] - install camlp-streams 5.0.1 [required by ocamlformat-lib] - install seq base [required by re] - install menhirSdk 20250912 [required by ocamlformat-lib] - install fix 20250919 [required by ocamlformat-lib] - install menhirCST 20250912 [required by menhir] - install ocamlfind 1.9.8 [required by ocp-indent, astring, fpath, uuseg] - install dune-build-info 3.20.2 [required by ocamlformat-lib] - install ocaml-version 4.0.3 [required by ocamlformat-lib] - install dune-configurator 3.20.2 [required by base] - install re 1.11.0 [required by ocamlformat] - install menhir 20250912 [required by ocamlformat-lib] - install topkg 1.1.1 [required by fpath, astring, uuseg] - install ocp-indent 1.9.0 [required by ocamlformat-lib] - install base v0.14.3 [required by ocamlformat-lib] - install uutf 1.0.4 [required by ocamlformat-lib] - install astring 0.8.5 [required by ocamlformat-lib] - install stdio v0.14.0 [required by ocamlformat-lib] - install uucp 15.0.0 [required by uuseg] - install fpath 0.7.3 [required by ocamlformat-lib] - install uuseg 15.0.0 [required by ocamlformat-lib] - install ocamlformat-lib 0.27.0 [required by ocamlformat] - install ocamlformat 0.27.0 ===== 28 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [astring.0.8.5] found in cache [base.v0.14.3] found in cache [camlp-streams.5.0.1] found in cache [cmdliner.1.3.0] found in cache [csexp.1.5.2] found in cache [dune-build-info.3.20.2] found in cache [dune-configurator.3.20.2] found in cache [either.1.0.0] found in cache [fix.20250919] found in cache [fpath.0.7.3] found in cache [menhir.20250912] found in cache [menhirCST.20250912] found in cache [menhirLib.20250912] found in cache [menhirSdk.20250912] found in cache [ocaml-version.4.0.3] found in cache [ocamlbuild.0.16.1] found in cache [ocamlfind.1.9.8] found in cache [ocamlformat.0.27.0] found in cache [ocamlformat-lib.0.27.0] found in cache [ocp-indent.1.9.0] found in cache [re.1.11.0] found in cache [sexplib0.v0.14.0] found in cache [stdio.v0.14.0] found in cache [topkg.1.1.1] found in cache [uucp.15.0.0] found in cache [uuseg.15.0.0] found in cache [uutf.1.0.4] found in cache <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed seq.base -> installed camlp-streams.5.0.1 -> installed csexp.1.5.2 -> installed either.1.0.0 -> installed fix.20250919 -> installed menhirCST.20250912 -> installed menhirLib.20250912 -> installed menhirSdk.20250912 -> installed cmdliner.1.3.0 -> installed ocaml-version.4.0.3 -> installed re.1.11.0 -> installed sexplib0.v0.14.0 -> installed dune-build-info.3.20.2 -> installed dune-configurator.3.20.2 -> installed ocamlfind.1.9.8 -> installed ocp-indent.1.9.0 -> installed ocamlbuild.0.16.1 -> installed base.v0.14.3 -> installed topkg.1.1.1 -> installed stdio.v0.14.0 -> installed uutf.1.0.4 -> installed astring.0.8.5 -> installed fpath.0.7.3 -> installed menhir.20250912 -> installed uucp.15.0.0 -> installed uuseg.15.0.0 -> installed ocamlformat-lib.0.27.0 -> installed ocamlformat.0.27.0 Done. <><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><> => This package requires additional configuration for use in editors. Install package 'user-setup', or manually: * for Emacs, add these lines to ~/.emacs: (add-to-list 'load-path "/home/opam/.opam/4.08/share/emacs/site-lisp") (require 'ocp-indent) * for Vim, add this line to ~/.vimrc: set rtp^="/home/opam/.opam/4.08/share/ocp-indent/vim" # Run eval $(opam env) to update the current shell environment 2025-12-14 10:23.44 ---> using "d439aa2d1da4e665e89310af11cba4359b69baa4dda1cd4e50fd245f4d775276" from cache /src: (copy (src .) (dst /src/)) 2025-12-14 10:23.46 ---> saved as "0e6dc9c0ac84aa804ee8107e3ccc7251772d9475b13db51822dd5b9ad717aad7" /src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)")) File "applications/git/config.ml", line 1, characters 0-0: diff --git a/_build/default/applications/git/config.ml b/_build/default/applications/git/.formatted/config.ml index f121205..34ac8af 100644 --- a/_build/default/applications/git/config.ml +++ b/_build/default/applications/git/.formatted/config.ml @@ -53,9 +53,15 @@ let mimic stackv4v6 happy_eyeballs dns_client = merge_git_clients mhttp (merge_git_clients mtcp mssh) let dhcp_requests = make_dhcp_requests () -let stackv4v6, lease = generic_stackv4v6_with_lease ~dhcp_requests default_network + +let stackv4v6, lease = + generic_stackv4v6_with_lease ~dhcp_requests default_network + let happy_eyeballs = generic_happy_eyeballs stackv4v6 -let dns_client = generic_dns_client ~dhcp:(dhcp_requests, lease) stackv4v6 happy_eyeballs + +let dns_client = + generic_dns_client ~dhcp:(dhcp_requests, lease) stackv4v6 happy_eyeballs + let git = git_impl None $ sha1 let mimic = mimic stackv4v6 happy_eyeballs dns_client let () = register "minigit" [ minigit $ git $ mimic ] File "applications/dns/config.ml", line 1, characters 0-0: diff --git a/_build/default/applications/dns/config.ml b/_build/default/applications/dns/.formatted/config.ml index 022e0a5..af7a6f0 100644 --- a/_build/default/applications/dns/config.ml +++ b/_build/default/applications/dns/.formatted/config.ml @@ -3,8 +3,15 @@ open Mirage let unikernel = main "Unikernel.Make" (dns_client @-> job) let dhcp_requests = make_dhcp_requests () -let stackv4v6, lease = generic_stackv4v6_with_lease ~dhcp_requests default_network + +let stackv4v6, lease = + generic_stackv4v6_with_lease ~dhcp_requests default_network + let happy_eyeballs = generic_happy_eyeballs stackv4v6 let () = - register "resolve" [ unikernel $ generic_dns_client ~dhcp:(dhcp_requests, lease) stackv4v6 happy_eyeballs ] + register "resolve" + [ + unikernel + $ generic_dns_client ~dhcp:(dhcp_requests, lease) stackv4v6 happy_eyeballs; + ] File "applications/http/config.ml", line 1, characters 0-0: diff --git a/_build/default/applications/http/config.ml b/_build/default/applications/http/.formatted/config.ml index c5ea531..31312b4 100644 --- a/_build/default/applications/http/config.ml +++ b/_build/default/applications/http/.formatted/config.ml @@ -27,7 +27,10 @@ let conn = impl ~connect "Connect.Make" (tcpv4v6 @-> mimic @-> conn) let dhcp_requests = make_dhcp_requests () -let stackv4v6, lease = generic_stackv4v6_with_lease ~dhcp_requests default_network + +let stackv4v6, lease = + generic_stackv4v6_with_lease ~dhcp_requests default_network + let tcpv4v6 = tcpv4v6_of_stackv4v6 stackv4v6 let he = generic_happy_eyeballs stackv4v6 let dns = generic_dns_client ~dhcp:(dhcp_requests, lease) stackv4v6 he File "applications/dhcp/unikernel.ml", line 1, characters 0-0: diff --git a/_build/default/applications/dhcp/unikernel.ml b/_build/default/applications/dhcp/.formatted/unikernel.ml index 04a4f50..97562ce 100644 --- a/_build/default/applications/dhcp/unikernel.ml +++ b/_build/default/applications/dhcp/.formatted/unikernel.ml @@ -11,7 +11,7 @@ module Main (N : Mirage_net.S) = struct let input_dhcp net config leases buf = match Dhcp_wire.pkt_of_buf buf (Cstruct.length buf) with | Error `Not_dhcp -> Lwt.return leases - | Error `Msg e -> + | Error (`Msg e) -> Logs.err (fun m -> m "Can't parse packet: %s" e); Lwt.return leases | Ok pkt -> ( File "device-usage/http-fetch/config.ml", line 1, characters 0-0: diff --git a/_build/default/device-usage/http-fetch/config.ml b/_build/default/device-usage/http-fetch/.formatted/config.ml index d19f484..fca05a6 100644 --- a/_build/default/device-usage/http-fetch/config.ml +++ b/_build/default/device-usage/http-fetch/.formatted/config.ml @@ -7,7 +7,9 @@ let client = let () = let dhcp_requests = make_dhcp_requests () in - let stack, lease = generic_stackv4v6_with_lease ~dhcp_requests default_network in + let stack, lease = + generic_stackv4v6_with_lease ~dhcp_requests default_network + in let res_dns = resolver_dns ~dhcp:(dhcp_requests, lease) stack in let conduit = conduit_direct ~tls:true stack in let job = [ client $ cohttp_client res_dns conduit ] in File "device-usage/littlefs/config.ml", line 1, characters 0-0: diff --git a/_build/default/device-usage/littlefs/config.ml b/_build/default/device-usage/littlefs/.formatted/config.ml index 34eb062..dd535ef 100644 --- a/_build/default/device-usage/littlefs/config.ml +++ b/_build/default/device-usage/littlefs/.formatted/config.ml @@ -7,7 +7,9 @@ let unikernel = (kv_rw @-> job) let block = block_of_file "littlefs" + let program_block_size = Runtime_arg.create ~pos:__POS__ "Unikernel.program_block_size" + let fs = chamelon ~program_block_size block let () = register "elittlefs" [ unikernel $ fs ] dune build @fmt failed "/usr/bin/env" "bash" "-c" "opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)" failed with exit status 2 2025-12-14 10:23.48: Job failed: Failed: Build failed