Build:
- 0
2022-04-20 17:05.33: New job: docker build { "commit": "d792778f28bf5af8b6f0dcf843ba7d11590c9190", "dockerfile": { "file": "Dockerfile" }, "docker_context": null, "squash": false, "build_args": [ "--build-arg", "TARGET=hvt", "--build-arg", "EXTRA_FLAGS=--tls=true" ] } 2022-04-20 17:05.33: Checking out commit d792778f. To reproduce: git clone --recursive "https://github.com/mirage/mirage-www.git" -b "master" && cd "mirage-www" && git reset --hard d792778f 2022-04-20 17:05.33: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git" "/tmp/git-checkoutfc4eb3f" 2022-04-20 17:05.33: Exec: "git" "-C" "/tmp/git-checkoutfc4eb3f" "reset" "--hard" "-q" "d792778f28bf5af8b6f0dcf843ba7d11590c9190" 2022-04-20 17:05.33: Exec: "git" "-C" "/tmp/git-checkoutfc4eb3f" "submodule" "update" "--init" "--recursive" 2022-04-20 17:05.33: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=hvt" "--build-arg" "EXTRA_FLAGS=--tls=true" "-f" "/tmp/git-checkoutfc4eb3f/Dockerfile" "--iidfile" "/tmp/git-checkoutfc4eb3f/docker-iid" "--" "/tmp/git-checkoutfc4eb3f" Sending build context to Docker daemon 28.96MB 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 ---> Using cache ---> cb8c81fccf13 Step 14/18 : RUN opam exec -- make depend ---> Using cache ---> 74be6e86daa1 Step 15/18 : COPY --chown=opam:root . /home/opam/www ---> 483ea02f2342 Step 16/18 : RUN opam exec -- mirage configure -f mirage/config.ml -t $TARGET $EXTRA_FLAGS ---> Running in 6004799ffa98 Removing intermediate container 6004799ffa98 ---> 38e5349f16fd Step 17/18 : RUN opam exec -- dune build mirage/ --profile release ---> Running in 89c0dd8fc1ea 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 1069ms. 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 89c0dd8fc1ea ---> e4b1cc0611c9 Step 18/18 : RUN if [ $TARGET = hvt ]; then sudo cp mirage/dist/www.$TARGET /unikernel.$TARGET; fi ---> Running in 07f3109c2329 Removing intermediate container 07f3109c2329 ---> b21a11e64e5e Successfully built b21a11e64e5e 2022-04-20 17:08.38: Job succeeded