Build:
- 0
2022-04-20 14:59.28: New job: docker build { "commit": "a4606c4967c226f8c2f31b13978c18b5efb1057f", "dockerfile": { "file": "Dockerfile" }, "docker_context": null, "squash": false, "build_args": [ "--build-arg", "TARGET=hvt", "--build-arg", "EXTRA_FLAGS=--tls=true" ] } 2022-04-20 14:59.28: Checking out commit a4606c49. To reproduce: git clone --recursive "https://github.com/mirage/mirage-www.git" && cd "mirage-www" && git fetch origin "refs/pull/752/head" && git reset --hard a4606c49 2022-04-20 14:59.28: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" "/tmp/git-checkout1e3f411c" 2022-04-20 14:59.29: Exec: "git" "-C" "/tmp/git-checkout1e3f411c" "reset" "--hard" "-q" "a4606c4967c226f8c2f31b13978c18b5efb1057f" 2022-04-20 14:59.29: Exec: "git" "-C" "/tmp/git-checkout1e3f411c" "submodule" "update" "--init" "--recursive" 2022-04-20 14:59.29: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=hvt" "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" "/tmp/git-checkout1e3f411c/Dockerfile" "--iidfile" "/tmp/git-checkout1e3f411c/docker-iid" "--" "/tmp/git-checkout1e3f411c" Sending build context to Docker daemon 28.79MB Step 1/18 : FROM ocaml/opam:debian-11-ocaml-4.13 debian-11-ocaml-4.13: Pulling from ocaml/opam Digest: sha256:0c4d1fceb1686492c93a2cd0e6dd926e70a41a511f5988b48bb8f6a30b3a5e3c Status: Image is up to date for ocaml/opam:debian-11-ocaml-4.13 ---> aff1369f5deb Step 2/18 : RUN mkdir -p /home/opam/www/mirage ---> Using cache ---> 0643b0383a1e Step 3/18 : WORKDIR /home/opam/www ---> Using cache ---> 4eeb6eb7f14d 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 ---> d3f947ab0ddd Step 5/18 : RUN opam pin git+https://github.com/tmattio/opam-tailwindcss#fb0f82edd09999f7be033ab1785ba5f6b60ed8f6 ---> Using cache ---> 7203e3961787 Step 6/18 : RUN opam pin add git+https://github.com/mirage/mirage#8ab03cff7c811828d3e2e4473cbc0e55204652ec --with-version 4.0.0 ---> Using cache ---> cd4517c27834 Step 7/18 : RUN opam repo add mirage-dev git+https://github.com/mirage/mirage-dev.git#842c55556ffd0950d21141d6ab99e52a8d88a50f ---> Using cache ---> d1daea986132 Step 8/18 : RUN opam install mirage ---> Using cache ---> 5e195efdad77 Step 9/18 : COPY --chown=opam:root mirage/config.ml /home/opam/www/mirage/ ---> Using cache ---> 7fed1655608e Step 10/18 : COPY --chown=opam:root mirageio.opam /home/opam/www/ ---> Using cache ---> 67ec9b50c118 Step 11/18 : ARG TARGET=unix ---> Using cache ---> 8171ddf3de72 Step 12/18 : ARG EXTRA_FLAGS= ---> Using cache ---> 3e417b169c1c Step 13/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS ---> Running in 40aa2052a241 Removing intermediate container 40aa2052a241 ---> cb8c81fccf13 Step 14/18 : RUN opam exec -- make depend ---> Running in c2c1b557d573 -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 153 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 107 entries to mirage/mirage/www-hvt-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 solo5.0.7.1 (https://github.com/Solo5/solo5/releases/download/v0.7.1/solo5-v0.7.1.tar.gz) -> retrieved ocaml-solo5.0.8.0 (https://github.com/mirage/ocaml-solo5/releases/download/v0.8.0/ocaml-solo5-0.8.0.tbz) -> 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-hvt-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+deb11u1_amd64.deb ... - Unpacking libssl-dev:amd64 (1.1.1n-0+deb11u1) ... - 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+deb11u1) ... - 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-hvt-monorepo.opam.locked Successfully pulled 107/107 repositories Removing intermediate container c2c1b557d573 ---> 74be6e86daa1 Step 15/18 : COPY --chown=opam:root . /home/opam/www ---> 6d6b079e8d54 Step 16/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS ---> Running in a634b1010bd3 Removing intermediate container a634b1010bd3 ---> 3ea2f57df447 Step 17/18 : RUN opam exec -- dune build mirage/ --profile release ---> Running in 66e1847fcb20 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 -c -o clock_stubs.o clock_stubs.c ocamlfind -toolchain solo5 ocamlopt -c -o mm_stubs.o mm_stubs.c ocamlfind -toolchain solo5 ocamlopt -c -o main.o main.c ar r libmirage-solo5_bindings.a clock_stubs.o mm_stubs.o main.o ar: creating libmirage-solo5_bindings.a Done in 938ms. 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 66e1847fcb20 ---> 97ec4d75da98 Step 18/18 : RUN if [ $TARGET = hvt ]; then sudo cp mirage/dist/www.$TARGET /unikernel.$TARGET; fi ---> Running in 3a839eb8d582 Removing intermediate container 3a839eb8d582 ---> 66398a7304ee Successfully built 66398a7304ee 2022-04-20 15:07.01: Job succeeded