Build:
- 0
2022-05-27 01:46.13: New job: docker build { "commit": "4b3c424c98f3721c3591e63b742badb4fb7af9d5", "dockerfile": { "file": "Dockerfile" }, "docker_context": null, "squash": false, "build_args": [ "--build-arg", "TARGET=hvt", "--build-arg", "EXTRA_FLAGS=--tls=true" ] } 2022-05-27 01:46.13: Checking out commit 4b3c424c. To reproduce: git clone --recursive "https://github.com/mirage/mirage-www.git" -b "tmcgilchrist-patch-1" && cd "mirage-www" && git reset --hard 4b3c424c 2022-05-27 01:46.13: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" "/tmp/git-checkout2ea1ce12" 2022-05-27 01:46.13: Exec: "git" "-C" "/tmp/git-checkout2ea1ce12" "reset" "--hard" "-q" "4b3c424c98f3721c3591e63b742badb4fb7af9d5" 2022-05-27 01:46.13: Exec: "git" "-C" "/tmp/git-checkout2ea1ce12" "submodule" "update" "--init" "--recursive" 2022-05-27 01:46.13: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=hvt" "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" "/tmp/git-checkout2ea1ce12/Dockerfile" "--iidfile" "/tmp/git-checkout2ea1ce12/docker-iid" "--" "/tmp/git-checkout2ea1ce12" Sending build context to Docker daemon 28.99MB 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 ---> d18f421f555f Step 14/18 : RUN opam exec -- make depend ---> Using cache ---> d8c3e0ef0f65 Step 15/18 : COPY --chown=opam:root . /home/opam/www ---> 193b317402b4 Step 16/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS ---> Running in ae2221b3a8ea Removing intermediate container ae2221b3a8ea ---> 21f3c8822564 Step 17/18 : RUN opam exec -- dune build mirage/ --profile release ---> Running in abb734834c16 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 919ms. 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 abb734834c16 ---> 08441c8fee75 Step 18/18 : RUN if [ $TARGET = hvt ]; then sudo cp mirage/dist/www.$TARGET /unikernel.$TARGET; fi ---> Running in 610f5746ece5 Removing intermediate container 610f5746ece5 ---> a2851ddd7068 Successfully built a2851ddd7068 2022-05-27 01:48.52: Job succeeded