Build:
  1. 0
2022-05-30 10:00.38: New job: docker build {
                                             "commit":
                                               "ca1401982b3a60437d801139724c2580f7ecfa7b",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": null,
                                             "squash": false,
                                             "build_args": [
                                               "--build-arg", "TARGET=xen",
                                               "--build-arg",
                                               "EXTRA_FLAGS=--tls=true"
                                             ]
                                           }
2022-05-30 10:00.38: Checking out commit ca140198. To reproduce:
                       git clone --recursive "https://github.com/mirage/mirage-www.git" -b "TheLortex-patch-1" && cd "mirage-www" && git reset --hard ca140198
2022-05-30 10:00.38: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" 
                           "/tmp/git-checkout19aa2d43"
2022-05-30 10:00.38: Exec: "git" "-C" "/tmp/git-checkout19aa2d43" "reset" 
                           "--hard" "-q" "ca1401982b3a60437d801139724c2580f7ecfa7b"
2022-05-30 10:00.38: Exec: "git" "-C" "/tmp/git-checkout19aa2d43" "submodule" 
                           "update" "--init" "--recursive"
2022-05-30 10:00.38: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=xen" 
                           "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" 
                           "/tmp/git-checkout19aa2d43/Dockerfile" "--iidfile" 
                           "/tmp/git-checkout19aa2d43/docker-iid" "--" 
                           "/tmp/git-checkout19aa2d43"
Sending build context to Docker daemon  29.04MB

Step 1/18 : FROM ocaml/opam:debian-11-ocaml-4.13
debian-11-ocaml-4.13: Pulling from ocaml/opam
Digest: sha256:6908920ff39e03ac098b70d672333deace6069dadd66d77ed6cb8c4c88ed5faa
Status: Image is up to date for ocaml/opam:debian-11-ocaml-4.13
 ---> 4aa3adffe097
Step 2/18 : RUN mkdir -p /home/opam/www/mirage
 ---> Using cache
 ---> 3de86126a679
Step 3/18 : WORKDIR /home/opam/www
 ---> Using cache
 ---> 173b3a051606
Step 4/18 : RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && cd ~/opam-repository && git pull origin master && git reset --hard 1bcdfde9fb967edf419a456704134f0256641ad6 && opam update
 ---> Using cache
 ---> a08bc16c08be
Step 5/18 : RUN opam pin git+https://github.com/tmattio/opam-tailwindcss#fb0f82edd09999f7be033ab1785ba5f6b60ed8f6
 ---> Using cache
 ---> fcdbd1f3348b
Step 6/18 : RUN opam pin add git+https://github.com/mirage/mirage#8ab03cff7c811828d3e2e4473cbc0e55204652ec --with-version 4.0.0
 ---> Using cache
 ---> a9a48ef88588
Step 7/18 : RUN opam repo add mirage-dev git+https://github.com/mirage/mirage-dev.git#842c55556ffd0950d21141d6ab99e52a8d88a50f
 ---> Using cache
 ---> 9165beba044c
Step 8/18 : RUN opam install mirage
 ---> Using cache
 ---> 144845c565cf
Step 9/18 : COPY --chown=opam:root mirage/config.ml /home/opam/www/mirage/
 ---> Using cache
 ---> 37a8fb3b26da
Step 10/18 : COPY --chown=opam:root mirageio.opam /home/opam/www/
 ---> Using cache
 ---> 20264af413d3
Step 11/18 : ARG TARGET=unix
 ---> Using cache
 ---> 61d0c1a73fd6
Step 12/18 : ARG EXTRA_FLAGS=
 ---> Using cache
 ---> 7a94adb3ff86
Step 13/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS
 ---> Using cache
 ---> 170f39310a21
Step 14/18 : RUN opam exec -- make depend
 ---> Running in bcc715d8cd34
-e using overlay repository mirage: [opam-overlays, mirage-overlays] 
[opam-overlays] Initialised
[NOTE] Repository opam-overlays has been added to the selections of switch 4.13 only.
       Run `opam repository add opam-overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

[mirage-overlays] Initialised
[NOTE] Repository mirage-overlays has been added to the selections of switch 4.13 only.
       Run `opam repository add mirage-overlays --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

 ↳ generate lockfile for monorepo dependencies
==> Using 1 locally scanned package as the target.
==> Found 156 opam dependencies for the target package.
==> Querying opam database for their metadata and Dune compatibility.
==> Calculating exact pins for each of them.
==> Wrote lockfile with 108 entries to mirage/mirage/www-xen-monorepo.opam.locked. You can now run opam monorepo pull to fetch their sources.
-e removing overlay repository [opam-overlays, mirage-overlays]
Repositories removed from the selections of switch 4.13. Use '--all' to forget about them altogether.
Repositories removed from the selections of switch 4.13. Use '--all' to forget about them altogether.
 ↳ opam install switch dependencies
The following actions will be performed:
  - install conf-libseccomp 1
  - install ocaml-src       4.13.1
  - install conf-which      1
  - install solo5           0.7.1
  - install ocaml-solo5     0.8.0
===== 5 to install =====

The following system packages will first need to be installed:
    libseccomp-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libseccomp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libseccomp-dev:amd64.
- (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 ... 18686 files and directories currently installed.)
- Preparing to unpack .../libseccomp-dev_2.5.1-1+deb11u1_amd64.deb ...
- Unpacking libseccomp-dev:amd64 (2.5.1-1+deb11u1) ...
- Setting up libseccomp-dev:amd64 (2.5.1-1+deb11u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-which.1
-> installed conf-libseccomp.1
-> retrieved ocaml-src.4.13.1  (cached)
-> retrieved ocaml-solo5.0.8.0  (https://github.com/mirage/ocaml-solo5/releases/download/v0.8.0/ocaml-solo5-0.8.0.tbz)
-> retrieved solo5.0.7.1  (https://github.com/Solo5/solo5/releases/download/v0.7.1/solo5-v0.7.1.tar.gz)
-> installed ocaml-src.4.13.1
-> installed solo5.0.7.1
-> installed ocaml-solo5.0.8.0
Done.
 ↳ install external dependencies for monorepo
==> Using lockfile mirage/mirage/www-xen-monorepo.opam.locked
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libev-dev" "libgmp-dev" "libssl-dev" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libev4:amd64.
- (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 ... 18728 files and directories currently installed.)
- Preparing to unpack .../0-libev4_1%3a4.33-1_amd64.deb ...
- Unpacking libev4:amd64 (1:4.33-1) ...
- Selecting previously unselected package libev-dev:amd64.
- Preparing to unpack .../1-libev-dev_1%3a4.33-1_amd64.deb ...
- Unpacking libev-dev:amd64 (1:4.33-1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libsigsegv2:amd64.
- Preparing to unpack .../4-libsigsegv2_2.13-1_amd64.deb ...
- Unpacking libsigsegv2:amd64 (2.13-1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../5-libssl-dev_1.1.1n-0+deb11u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (1.1.1n-0+deb11u2) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../6-m4_1.4.18-5_amd64.deb ...
- Unpacking m4 (1.4.18-5) ...
- Setting up libev4:amd64 (1:4.33-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up libsigsegv2:amd64 (2.13-1) ...
- Setting up libssl-dev:amd64 (1.1.1n-0+deb11u2) ...
- Setting up libev-dev:amd64 (1:4.33-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up m4 (1.4.18-5) ...
- Processing triggers for libc-bin (2.31-13+deb11u3) ...
 ↳ fetch monorepo rependencies in the duniverse folder
==> Using lockfile mirage/mirage/www-xen-monorepo.opam.locked
Successfully pulled 108/108 repositories
Removing intermediate container bcc715d8cd34
 ---> 4c18f06d678b
Step 15/18 : COPY --chown=opam:root . /home/opam/www
 ---> d2c157395c91
Step 16/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS
 ---> Running in 7335a0ba5a9d
Removing intermediate container 7335a0ba5a9d
 ---> 897c126a881a
Step 17/18 : RUN opam exec -- dune build mirage/ --profile release
 ---> Running in 2e901cc2dd90
File "mirage/duniverse/ocaml-graphql-server/dune-project", line 2, characters 14-17:
2 | (using menhir 2.0)
                  ^^^
Warning: Version 2.0 of the menhir extension is not supported until version
1.4 of the dune language.
Supported versions of this extension in version 1.1 of the dune language:
- 1.0
ocamlfind -toolchain solo5 ocamlopt -cclib "-I ./include/"   -c -o bmap.o bmap.c
ocamlfind -toolchain solo5 ocamlopt -cclib "-I ./include/"   -c -o clock_stubs.o clock_stubs.c
ocamlfind -toolchain solo5 ocamlopt -cclib "-I ./include/"   -c -o evtchn.o evtchn.c
ocamlfind -toolchain solo5 ocamlopt -cclib "-I ./include/"   -c -o gnttab.o gnttab.c
ocamlfind -toolchain solo5 ocamlopt -cclib "-I ./include/"   -c -o main.o main.c
ar r libmirage-xen_bindings.a bmap.o clock_stubs.o evtchn.o gnttab.o main.o
ar: creating libmirage-xen_bindings.a

Done in 892ms.
emitter.c: In function 'yaml_emitter_write_plain_scalar':
emitter.c:28:6: warning: value computed is not used [-Wunused-value]
   28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
      |      ^~
emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
   56 |          (PUT_BREAK(emitter),                                                   \
      |           ^~~~~~~~~
emitter.c:1962:18: note: in expansion of macro 'WRITE_BREAK'
 1962 |             if (!WRITE_BREAK(emitter, string)) return 0;
      |                  ^~~~~~~~~~~
emitter.c: In function 'yaml_emitter_write_single_quoted_scalar':
emitter.c:28:6: warning: value computed is not used [-Wunused-value]
   28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
      |      ^~
emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
   56 |          (PUT_BREAK(emitter),                                                   \
      |           ^~~~~~~~~
emitter.c:2019:18: note: in expansion of macro 'WRITE_BREAK'
 2019 |             if (!WRITE_BREAK(emitter, string)) return 0;
      |                  ^~~~~~~~~~~
emitter.c: In function 'yaml_emitter_write_literal_scalar':
emitter.c:28:6: warning: value computed is not used [-Wunused-value]
   28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
      |      ^~
emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
   56 |          (PUT_BREAK(emitter),                                                   \
      |           ^~~~~~~~~
emitter.c:2285:18: note: in expansion of macro 'WRITE_BREAK'
 2285 |             if (!WRITE_BREAK(emitter, string)) return 0;
      |                  ^~~~~~~~~~~
emitter.c: In function 'yaml_emitter_write_folded_scalar':
emitter.c:28:6: warning: value computed is not used [-Wunused-value]
   28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
      |      ^~
emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
   56 |          (PUT_BREAK(emitter),                                                   \
      |           ^~~~~~~~~
emitter.c:2334:18: note: in expansion of macro 'WRITE_BREAK'
 2334 |             if (!WRITE_BREAK(emitter, string)) return 0;
      |                  ^~~~~~~~~~~
yaml_stubs.c: In function 'yaml_stub_1_yaml_get_version_string':
yaml_stubs.c:11:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   11 |    char* x2 = yaml_get_version_string();
      |               ^~~~~~~~~~~~~~~~~~~~~~~
configure: WARNING: using cross tools not prefixed with host triplet
configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok
binary ocaml: found in /home/opam/.opam/4.13/bin
binary ocamlc: found in /home/opam/.opam/4.13/bin
binary ocamldep: found in /home/opam/.opam/4.13/bin
binary ocamlmklib: found in /home/opam/.opam/4.13/bin
binary ocamldoc: found in /home/opam/.opam/4.13/bin
binary x86_64-solo5-none-static-cc: found in /home/opam/.opam/4.13/bin
binary ocamlopt: found in /home/opam/.opam/4.13/bin
checking compilation with x86_64-solo5-none-static-cc -I/home/opam/.opam/4.13/solo5-sysroot/include/nolibc/ -include _solo5/overrides.h -O2 -fno-strict-aliasing -fwrapv -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/: working
include caml/mlvalues.h: found
library dynlink.cmxa: found
binary ocamlfind: found in /home/opam/.opam/4.13/bin
OCaml's word size is 64
binary uname: found in /bin
include gmp.h: found
library gmp: found
OCaml supports -bin-annot to produce documentation

detected configuration:

  native-code:          yes
  dynamic linking:      yes
  defines:              -DHAS_GMP 
  libraries:            -L/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/ -lgmp
  C options:            -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
  installation path:    /home/opam/.opam/4.13/lib
  installation method   findlib

configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
Removing intermediate container 2e901cc2dd90
 ---> a2e9935d1464
Step 18/18 : RUN if [ $TARGET = hvt ]; then sudo cp mirage/dist/www.$TARGET /unikernel.$TARGET; fi
 ---> Running in 63a5025fcd7d
Removing intermediate container 63a5025fcd7d
 ---> 41d6fbc9de66
Successfully built 41d6fbc9de66
2022-05-30 10:07.04: Job succeeded