Build:
  1. 0
2024-10-14 08:45.30: New job: docker build {
                                             "commit": "0be1fd870c7e545f4fe36f67ec753d3c3cffd21d",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": null,
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg", "TARGET=xen",
                                               "--build-arg",
                                               "EXTRA_FLAGS=--tls=true"
                                             ],
                                             "path": null
                                           }
2024-10-14 08:45.30: Checking out commit 0be1fd87. To reproduce:
                       git clone --recursive "https://github.com/mirage/mirage-www.git" -b "master" && cd "mirage-www" && git reset --hard 0be1fd87
2024-10-14 08:45.30: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" 
                           "/tmp/git-checkout6b4f6cb"
2024-10-14 08:45.30: Exec: "git" "-C" "/tmp/git-checkout6b4f6cb" "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'
2024-10-14 08:45.30: Exec: "git" "-C" "/tmp/git-checkout6b4f6cb" "reset" 
                           "--hard" "-q" "0be1fd870c7e545f4fe36f67ec753d3c3cffd21d"
2024-10-14 08:45.30: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout6b4f6cb" "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'
2024-10-14 08:45.30: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=xen" 
                           "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" 
                           "/tmp/git-checkout6b4f6cb/Dockerfile" "--iidfile" 
                           "/tmp/git-checkout6b4f6cb/docker-iid" "--" 
                           "/tmp/git-checkout6b4f6cb"
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 949B done
#1 DONE 0.1s

#2 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14
#2 DONE 0.6s

#3 [internal] load .dockerignore
#3 transferring context: 64B done
#3 DONE 0.0s

#4 [ 1/16] FROM docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:d356ea67522b5919c43962b089e5f5756bde0e8352fc4d60cc330097ba0ea326
#4 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 25.28MB 0.3s done
#5 DONE 0.3s

#6 [10/16] COPY --chown=opam:root mirageio.opam /home/opam/www/
#6 CACHED

#7 [11/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true
#7 CACHED

#8 [ 3/16] RUN mkdir -p /home/opam/www/mirage
#8 CACHED

#9 [ 4/16] WORKDIR /home/opam/www
#9 CACHED

#10 [ 5/16] RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
#10 CACHED

#11 [ 7/16] RUN opam update
#11 CACHED

#12 [ 2/16] RUN sudo apt-get update && sudo apt-get install autoconf automake -y --no-install-recommends
#12 CACHED

#13 [ 6/16] RUN cd ~/opam-repository && git pull origin master && git reset --hard 6e53e4603d4bb696e4fa1cdbde61b156a3f8e01e
#13 CACHED

#14 [ 8/16] RUN opam install 'mirage>=4.5.0'
#14 CACHED

#15 [ 9/16] COPY --chown=opam:root mirage/config.ml /home/opam/www/mirage/
#15 CACHED

#16 [12/16] RUN opam exec -- make depend
#16 CACHED

#17 [13/16] COPY --chown=opam:root . /home/opam/www
#17 DONE 1.0s

#18 [14/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true
#18 DONE 1.0s

#19 [15/16] RUN opam exec -- dune build mirage/ --profile release
#19 6.493 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
#19 6.493 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
#19 6.493 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
#19 6.493 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
#19 6.493 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
#19 6.493 ar r libmirage-xen_bindings.a bmap.o clock_stubs.o evtchn.o gnttab.o main.o
#19 6.493 ar: creating libmirage-xen_bindings.a
#19 16.48 /usr/bin/ld: warning: amd64.o: missing .note.GNU-stack section implies executable stack
#19 16.48 /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
#19 47.32 emitter.c: In function 'yaml_emitter_write_plain_scalar':
#19 47.32 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#19 47.32    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#19 47.32       |      ^~
#19 47.32 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#19 47.32    56 |          (PUT_BREAK(emitter),                                                   \
#19 47.32       |           ^~~~~~~~~
#19 47.32 emitter.c:1962:18: note: in expansion of macro 'WRITE_BREAK'
#19 47.32  1962 |             if (!WRITE_BREAK(emitter, string)) return 0;
#19 47.32       |                  ^~~~~~~~~~~
#19 47.32 emitter.c: In function 'yaml_emitter_write_single_quoted_scalar':
#19 47.32 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#19 47.32    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#19 47.32       |      ^~
#19 47.32 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#19 47.32    56 |          (PUT_BREAK(emitter),                                                   \
#19 47.32       |           ^~~~~~~~~
#19 47.32 emitter.c:2019:18: note: in expansion of macro 'WRITE_BREAK'
#19 47.32  2019 |             if (!WRITE_BREAK(emitter, string)) return 0;
#19 47.32       |                  ^~~~~~~~~~~
#19 47.32 emitter.c: In function 'yaml_emitter_write_literal_scalar':
#19 47.32 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#19 47.32    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#19 47.32       |      ^~
#19 47.32 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#19 47.32    56 |          (PUT_BREAK(emitter),                                                   \
#19 47.32       |           ^~~~~~~~~
#19 47.32 emitter.c:2285:18: note: in expansion of macro 'WRITE_BREAK'
#19 47.32  2285 |             if (!WRITE_BREAK(emitter, string)) return 0;
#19 47.32       |                  ^~~~~~~~~~~
#19 47.32 emitter.c: In function 'yaml_emitter_write_folded_scalar':
#19 47.32 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#19 47.32    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#19 47.32       |      ^~
#19 47.32 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#19 47.32    56 |          (PUT_BREAK(emitter),                                                   \
#19 47.32       |           ^~~~~~~~~
#19 47.32 emitter.c:2334:18: note: in expansion of macro 'WRITE_BREAK'
#19 47.32  2334 |             if (!WRITE_BREAK(emitter, string)) return 0;
#19 47.32       |                  ^~~~~~~~~~~
#19 85.81 yaml_stubs.c: In function 'yaml_stub_1_yaml_get_version_string':
#19 85.81 yaml_stubs.c:11:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#19 85.81    11 |    char* x2 = yaml_get_version_string();
#19 85.81       |               ^~~~~~~~~~~~~~~~~~~~~~~
#19 118.7 configure: WARNING: using cross tools not prefixed with host triplet
#19 118.7 configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok
#19 118.8 binary ocaml: found in /home/opam/.opam/4.14/bin
#19 118.8 binary ocamlc: found in /home/opam/.opam/4.14/bin
#19 118.8 binary ocamldep: found in /home/opam/.opam/4.14/bin
#19 118.8 binary ocamlmklib: found in /home/opam/.opam/4.14/bin
#19 118.8 binary ocamldoc: found in /home/opam/.opam/4.14/bin
#19 118.8 binary x86_64-solo5-none-static-cc: found in /home/opam/.opam/4.14/bin
#19 118.8 binary ocamlopt: found in /home/opam/.opam/4.14/bin
#19 118.8 checking compilation with  -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/: working
#19 118.8 include caml/mlvalues.h: found
#19 118.8 library dynlink.cmxa: found
#19 118.8 binary ocamlfind: found in /home/opam/.opam/4.14/bin
#19 118.8 OCaml's word size is 64
#19 118.8 package gmp: found
#19 118.8 OCaml supports -bin-annot to produce documentation
#19 118.8 
#19 118.8 detected configuration:
#19 118.8 
#19 118.8   native-code:          yes
#19 118.8   dynamic linking:      yes
#19 118.8   defines:              -DHAS_GMP 
#19 118.8   includes:             -I/home/opam/.opam/4.14/solo5-sysroot/lib/ocaml -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/ 
#19 118.8   libraries:             -lgmp 
#19 118.8   linker options:       -L/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
#19 118.8   C options:            -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
#19 118.8   installation path:    /home/opam/.opam/4.14/lib
#19 118.8   installation method   findlib
#19 118.8 
#19 118.8 configuration successful!
#19 118.8 now type "make" to build
#19 118.8 then type "make install" or "sudo make install" to install
#19 126.6 /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)
#19 DONE 127.2s

#20 [16/16] RUN if [ xen = hvt ]; then sudo cp mirage/dist/www.xen /unikernel.xen; fi
#20 DONE 0.3s

#21 exporting to image
#21 exporting layers
#21 exporting layers 2.8s done
#21 writing image sha256:70d9235c53e6c4826f8ac89f2e62a2fff384cb0617f5939f8eb8e86a7b414e60 done
#21 DONE 2.9s
2024-10-14 08:47.44: Job succeeded