Build:
- 0
2025-05-21 09:10.31: New job: docker build { "commit": "44ca049870bbce1de0d666e48a6e91cd49e3b8d1", "dockerfile": { "file": "Dockerfile" }, "docker_context": null, "squash": false, "buildx": false, "build_args": [ "--build-arg", "TARGET=xen", "--build-arg", "EXTRA_FLAGS=--tls=true" ], "path": null } 2025-05-21 09:10.31: Checking out commit 44ca0498. To reproduce: git clone --recursive "https://github.com/mirage/mirage-www.git" && cd "mirage-www" && git fetch origin "refs/pull/852/head" && git reset --hard 44ca0498 2025-05-21 09:10.31: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" "/tmp/git-checkout2d70edb5" 2025-05-21 09:10.31: Exec: "git" "-C" "/tmp/git-checkout2d70edb5" "submodule" "deinit" "--force" "--all" could not create empty submodule directory data/wiki/files/mirage-skeletonSubmodule 'data/wiki/files/mirage-skeleton' (https://github.com/mirage/mirage-skeleton) unregistered for path 'data/wiki/files/mirage-skeleton' 2025-05-21 09:10.31: Exec: "git" "-C" "/tmp/git-checkout2d70edb5" "reset" "--hard" "-q" "44ca049870bbce1de0d666e48a6e91cd49e3b8d1" 2025-05-21 09:10.31: Exec: "git" "-c" "protocol.file.allow=always" "-C" "/tmp/git-checkout2d70edb5" "submodule" "update" "--recursive" "--init" "--no-fetch" Submodule 'data/wiki/files/mirage-skeleton' (https://github.com/mirage/mirage-skeleton) registered for path 'data/wiki/files/mirage-skeleton' Submodule path 'data/wiki/files/mirage-skeleton': checked out 'ff5febb147ec708ef56d74e9fed9e99743965edd' 2025-05-21 09:10.31: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=xen" "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" "/tmp/git-checkout2d70edb5/Dockerfile" "--iidfile" "/tmp/git-checkout2d70edb5/docker-iid" "--" "/tmp/git-checkout2d70edb5" #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 949B done #1 DONE 0.0s #2 [auth] ocaml/opam:pull token for registry-1.docker.io #2 DONE 0.0s #3 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14 #3 DONE 0.6s #4 [internal] load .dockerignore #4 transferring context: 64B done #4 DONE 0.0s #5 [ 1/16] FROM docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:2284c7688553482511fe2678b6363ce7d0912a68a6a5756a54eaebff0065bdf6 #5 DONE 0.0s #6 [internal] load build context #6 transferring context: 25.46MB 0.3s done #6 DONE 0.3s #7 [ 2/16] RUN sudo apt-get update && sudo apt-get install autoconf automake -y --no-install-recommends #7 CACHED #8 [ 5/16] RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam #8 CACHED #9 [ 6/16] RUN cd ~/opam-repository && git pull origin master && git reset --hard cf409d95af00ff822422bd76b657ed213b661401 #9 CACHED #10 [ 7/16] RUN opam update #10 CACHED #11 [ 3/16] RUN mkdir -p /home/opam/www/mirage #11 CACHED #12 [ 4/16] WORKDIR /home/opam/www #12 CACHED #13 [ 8/16] RUN opam install 'mirage>=4.5.0' #13 CACHED #14 [ 9/16] COPY --chown=opam:root mirage/config.ml /home/opam/www/mirage/ #14 CACHED #15 [10/16] COPY --chown=opam:root mirageio.opam /home/opam/www/ #15 DONE 0.5s #16 [11/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true #16 0.850 Successfully configured the unikernel. Now run 'make' (or more fine-grained steps: 'make all', 'make depends', or 'make lock'). #16 DONE 0.9s #17 [12/16] RUN opam exec -- make depend #17 0.725 using overlay repository mirage: [opam-overlays, mirage-overlays] #17 1.470 [opam-overlays] Initialised #17 1.981 [NOTE] Repository opam-overlays has been added to the selections of switch 4.14 only. #17 1.981 Run `opam repository add opam-overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively. #17 1.981 #17 2.583 [mirage-overlays] Initialised #17 2.895 [NOTE] Repository mirage-overlays has been added to the selections of switch 4.14 only. #17 2.895 Run `opam repository add mirage-overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively. #17 2.895 #17 2.902 ↳ generate lockfile for monorepo dependencies #17 2.915 ==> Using 1 locally scanned package as the target. #17 47.13 ==> Found 178 opam dependencies for the target package. #17 47.13 ==> Querying opam database for their metadata and Dune compatibility. #17 51.96 ==> Calculating exact pins for each of them. #17 52.29 ==> Wrote lockfile with 115 entries to mirage/mirage/www-xen.opam.locked. You can now run opam monorepo pull to fetch their sources. #17 52.36 removing overlay repository [opam-overlays, mirage-overlays] #17 52.39 Repositories removed from the selections of switch 4.14. Use '--all' to forget about them altogether. #17 52.41 Repositories removed from the selections of switch 4.14. Use '--all' to forget about them altogether. #17 52.41 The lock file has been generated. Run 'make pull' to retrieve the sources, or 'make install-switch' to install the host dependencies. #17 52.41 ↳ opam install switch dependencies #17 58.86 The following actions will be performed: #17 58.86 - install conf-libseccomp 1 #17 58.86 - install ocaml-src 4.14.2 #17 58.86 - install conf-which 1 #17 58.86 - install solo5 0.9.1 #17 58.86 - install ocaml-solo5 0.8.5 #17 58.86 ===== 5 to install ===== #17 58.86 #17 58.86 The following system packages will first need to be installed: #17 58.86 libseccomp-dev #17 58.86 #17 58.86 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> #17 58.86 Let opam run your package manager to install the required system packages? #17 58.86 (answer 'n' for other options) [Y/n] y #17 58.86 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libseccomp-dev" #17 59.86 - debconf: delaying package configuration, since apt-utils is not installed #17 59.86 - Selecting previously unselected package libseccomp-dev:amd64. #17 59.86 - (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 ... 19102 files and directories currently installed.) #17 59.86 - Preparing to unpack .../libseccomp-dev_2.5.4-1+deb12u1_amd64.deb ... #17 59.86 - Unpacking libseccomp-dev:amd64 (2.5.4-1+deb12u1) ... #17 60.01 - Setting up libseccomp-dev:amd64 (2.5.4-1+deb12u1) ... #17 60.01 #17 60.01 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> #17 62.22 -> retrieved ocaml-src.4.14.2 (cached) #17 62.39 -> installed conf-libseccomp.1 #17 62.40 -> installed conf-which.1 #17 62.43 -> retrieved ocaml-solo5.0.8.5 (https://github.com/mirage/ocaml-solo5/archive/refs/tags/v0.8.5.tar.gz) #17 63.84 -> retrieved solo5.0.9.1 (https://github.com/Solo5/solo5/releases/download/v0.9.1/solo5-v0.9.1.tar.gz) #17 64.05 -> installed ocaml-src.4.14.2 #17 77.37 -> installed solo5.0.9.1 #17 164.8 -> installed ocaml-solo5.0.8.5 #17 165.0 Done. #17 166.4 ↳ install external dependencies for monorepo #17 166.4 ==> Using lockfile mirage/mirage/www-xen.opam.locked #17 166.9 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libev-dev" "libgmp-dev" "libonig-dev" "libssl-dev" #17 167.9 - debconf: delaying package configuration, since apt-utils is not installed #17 167.9 - Selecting previously unselected package libev4:amd64. #17 167.9 - (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 ... 19144 files and directories currently installed.) #17 167.9 - Preparing to unpack .../0-libev4_1%3a4.33-1_amd64.deb ... #17 168.9 - Unpacking libev4:amd64 (1:4.33-1) ... #17 168.9 - Selecting previously unselected package libev-dev:amd64. #17 168.9 - Preparing to unpack .../1-libev-dev_1%3a4.33-1_amd64.deb ... #17 168.9 - Unpacking libev-dev:amd64 (1:4.33-1) ... #17 168.9 - Selecting previously unselected package libgmpxx4ldbl:amd64. #17 168.9 - Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ... #17 168.9 - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... #17 168.9 - Selecting previously unselected package libgmp-dev:amd64. #17 168.9 - Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ... #17 168.9 - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... #17 168.9 - Selecting previously unselected package libonig5:amd64. #17 168.9 - Preparing to unpack .../4-libonig5_6.9.8-1_amd64.deb ... #17 168.9 - Unpacking libonig5:amd64 (6.9.8-1) ... #17 168.9 - Selecting previously unselected package libonig-dev. #17 168.9 - Preparing to unpack .../5-libonig-dev_6.9.8-1_amd64.deb ... #17 168.9 - Unpacking libonig-dev (6.9.8-1) ... #17 168.9 - Selecting previously unselected package libssl-dev:amd64. #17 168.9 - Preparing to unpack .../6-libssl-dev_3.0.16-1~deb12u1_amd64.deb ... #17 168.9 - Unpacking libssl-dev:amd64 (3.0.16-1~deb12u1) ... #17 169.5 - Setting up libev4:amd64 (1:4.33-1) ... #17 169.5 - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... #17 169.5 - Setting up libssl-dev:amd64 (3.0.16-1~deb12u1) ... #17 169.5 - Setting up libev-dev:amd64 (1:4.33-1) ... #17 169.5 - Setting up libonig5:amd64 (6.9.8-1) ... #17 169.5 - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... #17 169.5 - Setting up libonig-dev (6.9.8-1) ... #17 169.5 - Processing triggers for libc-bin (2.36-9+deb12u10) ... #17 169.5 The dependencies have been installed. Run 'make build' to build the unikernel. #17 169.5 ↳ fetch monorepo dependencies in the duniverse folder #17 169.5 ==> Using lockfile mirage/mirage/www-xen.opam.locked #17 189.3 Successfully pulled 115/115 repositories #17 189.3 The sources have been pulled to the duniverse folder. Run 'make build' to build the unikernel. #17 DONE 195.7s #18 [13/16] COPY --chown=opam:root . /home/opam/www #18 DONE 0.9s #19 [14/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true #19 1.073 Successfully configured the unikernel. Now run 'make' (or more fine-grained steps: 'make all', 'make depends', or 'make lock'). #19 DONE 1.3s #20 [15/16] RUN opam exec -- dune build mirage/ --profile release #20 4.686 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o bmap.o bmap.c #20 4.686 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o clock_stubs.o clock_stubs.c #20 4.686 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o evtchn.o evtchn.c #20 4.686 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o gnttab.o gnttab.c #20 4.686 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o main.o main.c #20 4.686 ar r libmirage-xen_bindings.a bmap.o clock_stubs.o evtchn.o gnttab.o main.o #20 4.686 ar: creating libmirage-xen_bindings.a #20 14.38 Browserslist: caniuse-lite is outdated. Please run: #20 14.38 npx update-browserslist-db@latest #20 14.38 Why you should do it regularly: https://github.com/browserslist/update-db#readme #20 14.38 #20 14.38 Rebuilding... #20 14.38 #20 14.38 Done in 1857ms. #20 17.33 /usr/bin/ld: warning: amd64.o: missing .note.GNU-stack section implies executable stack #20 17.33 /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker #20 48.24 emitter.c: In function 'yaml_emitter_write_plain_scalar': #20 48.24 emitter.c:28:6: warning: value computed is not used [-Wunused-value] #20 48.24 28 | && ((emitter->line_break == YAML_CR_BREAK ? \ #20 48.24 | ^~ #20 48.24 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK' #20 48.24 56 | (PUT_BREAK(emitter), \ #20 48.24 | ^~~~~~~~~ #20 48.24 emitter.c:1962:18: note: in expansion of macro 'WRITE_BREAK' #20 48.24 1962 | if (!WRITE_BREAK(emitter, string)) return 0; #20 48.24 | ^~~~~~~~~~~ #20 48.24 emitter.c: In function 'yaml_emitter_write_single_quoted_scalar': #20 48.24 emitter.c:28:6: warning: value computed is not used [-Wunused-value] #20 48.24 28 | && ((emitter->line_break == YAML_CR_BREAK ? \ #20 48.24 | ^~ #20 48.24 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK' #20 48.24 56 | (PUT_BREAK(emitter), \ #20 48.24 | ^~~~~~~~~ #20 48.24 emitter.c:2019:18: note: in expansion of macro 'WRITE_BREAK' #20 48.24 2019 | if (!WRITE_BREAK(emitter, string)) return 0; #20 48.24 | ^~~~~~~~~~~ #20 48.24 emitter.c: In function 'yaml_emitter_write_literal_scalar': #20 48.24 emitter.c:28:6: warning: value computed is not used [-Wunused-value] #20 48.24 28 | && ((emitter->line_break == YAML_CR_BREAK ? \ #20 48.24 | ^~ #20 48.24 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK' #20 48.24 56 | (PUT_BREAK(emitter), \ #20 48.24 | ^~~~~~~~~ #20 48.24 emitter.c:2285:18: note: in expansion of macro 'WRITE_BREAK' #20 48.24 2285 | if (!WRITE_BREAK(emitter, string)) return 0; #20 48.24 | ^~~~~~~~~~~ #20 48.24 emitter.c: In function 'yaml_emitter_write_folded_scalar': #20 48.24 emitter.c:28:6: warning: value computed is not used [-Wunused-value] #20 48.24 28 | && ((emitter->line_break == YAML_CR_BREAK ? \ #20 48.24 | ^~ #20 48.24 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK' #20 48.24 56 | (PUT_BREAK(emitter), \ #20 48.24 | ^~~~~~~~~ #20 48.24 emitter.c:2334:18: note: in expansion of macro 'WRITE_BREAK' #20 48.24 2334 | if (!WRITE_BREAK(emitter, string)) return 0; #20 48.24 | ^~~~~~~~~~~ #20 109.1 configure: WARNING: using cross tools not prefixed with host triplet #20 109.1 configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok #20 109.3 binary ocaml: found in /home/opam/.opam/4.14/bin #20 109.3 binary ocamlc: found in /home/opam/.opam/4.14/bin #20 109.3 binary ocamldep: found in /home/opam/.opam/4.14/bin #20 109.3 binary ocamlmklib: found in /home/opam/.opam/4.14/bin #20 109.3 binary ocamldoc: found in /home/opam/.opam/4.14/bin #20 109.3 binary x86_64-solo5-none-static-cc: found in /home/opam/.opam/4.14/bin #20 109.3 binary ocamlopt: found in /home/opam/.opam/4.14/bin #20 109.3 checking compilation with -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/: working #20 109.3 include caml/mlvalues.h: found #20 109.3 library dynlink.cmxa: found #20 109.3 binary ocamlfind: found in /home/opam/.opam/4.14/bin #20 109.3 OCaml's word size is 64 #20 109.3 package gmp: found #20 109.3 OCaml supports -bin-annot to produce documentation #20 109.3 #20 109.3 detected configuration: #20 109.3 #20 109.3 native-code: yes #20 109.3 dynamic linking: yes #20 109.3 defines: -DHAS_GMP #20 109.3 includes: -I/home/opam/.opam/4.14/solo5-sysroot/lib/ocaml -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/ #20 109.3 libraries: -lgmp #20 109.3 linker options: -L/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/ #20 109.3 C options: -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/ #20 109.3 installation path: /home/opam/.opam/4.14/lib #20 109.3 installation method findlib #20 109.3 #20 109.3 configuration successful! #20 109.3 now type "make" to build #20 109.3 then type "make install" or "sudo make install" to install #20 121.1 /usr/bin/ld: warning: /home/opam/.opam/4.14/bin/../lib/x86_64-solo5-none-static/solo5_xen.o: requires executable stack (because the .note.GNU-stack section is executable) #20 DONE 123.1s #21 [16/16] RUN if [ xen = hvt ]; then sudo cp mirage/dist/www.xen /unikernel.xen; fi #21 DONE 0.9s #22 exporting to image #22 exporting layers #22 exporting layers 6.2s done #22 writing image sha256:02256c5a032b8ea078ce73e6ab01f0e884ce72d7ffb5e87781a1b3d605aa8e29 0.0s done #22 DONE 6.3s 2025-05-21 09:16.03: Job succeeded