Build:
  1. 0
2025-03-31 17:30.36: New job: docker build {
                                             "commit": "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": "registry.ci.dev",
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg",
                                               "OPAM_REPO_GIT_SHA=4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=9ac1c1c735c96f3e0f3830b6d9580fb1a5e4f514"
                                             ],
                                             "path": null
                                           }
2025-03-31 17:30.36: Waiting for resource in pool registry-build-pool
2025-03-31 18:35.28: Got resource from pool registry-build-pool
2025-03-31 18:35.28: Checking out commit 6fbb2ca6. To reproduce:
                       git clone --recursive "https://github.com/ocaml-opam/opam2web.git" && cd "opam2web" && git fetch origin "refs/pull/211/head" && git reset --hard 6fbb2ca6
2025-03-31 18:35.28: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout17bb1613"
2025-03-31 18:35.28: Exec: "git" "-C" "/tmp/git-checkout17bb1613" "submodule" 
                           "deinit" "--force" "--all"
could not create empty submodule directory content/docSubmodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) unregistered for path 'content/doc'
2025-03-31 18:35.28: Exec: "git" "-C" "/tmp/git-checkout17bb1613" "reset" 
                           "--hard" "-q" "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108"
2025-03-31 18:35.28: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout17bb1613" "submodule" "update" 
                           "--recursive" "--init" "--no-fetch"
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) registered for path 'content/doc'
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
2025-03-31 18:35.28: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=4d8fa0fb8fce3b6c8b06f29ebcfa844c292d4f3e" 
                           "--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6" 
                           "--build-arg" "OPAM_GIT_SHA=9ac1c1c735c96f3e0f3830b6d9580fb1a5e4f514" 
                           "-f" "/tmp/git-checkout17bb1613/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout17bb1613/docker-iid" 
                           "--" "/tmp/git-checkout17bb1613"
2025/03/31 18:35:40 http2: server: error reading preface from client dummy-1: read |0: file already closed
#0 building with "registry.ci.dev" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile:
#1 transferring dockerfile: 2.48kB 0.3s done
#1 DONE 1.4s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.2s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.48kB 0.3s done
#1 DONE 1.4s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:4c68376a702446fc3c79af22de146a148bc3367e73c25a5803d453b6b3f722fb
#3 CACHED

#4 [internal] load build definition from Dockerfile
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
#4 DONE 0.0s

#5 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#5 DONE 0.2s

#6 [internal] load metadata for docker.io/library/alpine:3.14
#6 DONE 0.2s

#7 [internal] load .dockerignore
#7 transferring context:
#7 transferring context: 2B 0.2s done
#7 DONE 0.2s

#8 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#8 DONE 0.0s

#9 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#9 CACHED

#10 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#10 DONE 0.0s

#11 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#11 CACHED

#12 [build-opam-doc  2/14] RUN sudo apk add cgit groff
#12 CACHED

#13 [build-opam-doc  3/14] RUN sudo mkdir -p /usr/local/bin     && echo -e '#!/bin/sh -e\n                echo\n                echo\n                echo "<!DOCTYPE html>"\n                echo "<HTML><HEAD><TITLE>$(basename $2 .1) manpage</TITLE></HEAD><BODY>"\n                /usr/lib/cgit/filters/html-converters/man2html <$2\n                echo "</BODY></HTML>\n'        | sudo tee /usr/local/bin/man2html     && sudo chmod a+x /usr/local/bin/man2html
#13 CACHED

#14 [build-opam-doc  5/14] RUN opam install odoc
#14 CACHED

#15 [build-opam2web  4/13] WORKDIR /home/opam/opam2web
#15 CACHED

#16 [build-opam2web  2/13] RUN sudo apk add g++
#16 CACHED

#17 [build-opam2web  5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#17 CACHED

#18 [build-opam2web  3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#18 CACHED

#19 [build-opam2web  6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#19 CACHED

#20 [build-opam2web  7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#20 CACHED

#21 [internal] load build context
#21 transferring context: 2.59kB 0.2s done
#21 DONE 0.3s

#22 [build-opam-doc  6/14] RUN git clone https://github.com/ocaml/opam --single-branch --depth 1 --branch master /home/opam/opam
#22 0.288 Cloning into '/home/opam/opam'...
#22 DONE 0.9s

#23 [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web
#23 ...

#24 [build-opam-doc  7/14] WORKDIR /home/opam/opam
#24 DONE 0.0s

#25 [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make
#25 0.341 checking for ocamlc... ocamlc
#25 0.350 OCaml version is 4.10.2
#25 0.358 OCaml library path is /home/opam/.opam/4.10/lib/ocaml
#25 0.358 checking for ocamlopt... ocamlopt
#25 0.369 checking for ocamlc.opt... ocamlc.opt
#25 0.377 checking for ocamlopt.opt... ocamlopt.opt
#25 0.389 checking for ocaml... ocaml
#25 0.389 checking for ocamldep... ocamldep
#25 0.389 checking for ocamldep.opt... ocamldep.opt
#25 0.398 checking for ocamlmktop... ocamlmktop
#25 0.398 checking for ocamlmklib... ocamlmklib
#25 0.398 checking for ocamldoc... ocamldoc
#25 0.399 checking for ocamldoc.opt... ocamldoc.opt
#25 0.411 checking for ocamlbuild... ocamlbuild
#25 0.411 checking OCaml Sys.os_type... Unix
#25 0.449 checking for gawk... no
#25 0.449 checking for mawk... no
#25 0.450 checking for nawk... no
#25 0.450 checking for awk... awk
#25 0.458 checking for compiler type... 
#25 ...

#23 [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web
#23 1.549 Package opam2web does not exist, create as a NEW package? [Y/n] y
#23 1.550 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#23 1.551 [ERROR] Package conflict!
#23 1.551   * Missing dependency:
#23 1.551     - dune
#23 1.551     unknown package
#23 1.551 
#23 1.551 No solution found, exiting
#23 ERROR: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20

#25 [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make
#25 0.458 checking for compiler type... cc
#25 0.803 checking for compiler architecture... amd64
#25 1.141 checking for compiler system... linux
#25 1.486 checking for compiler target... x86_64-pc-linux-musl
#25 1.846 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64
#25 1.882 checking whether the C compiler works... yes
#25 1.940 checking for C compiler default output file name... a.out
#25 1.942 checking for suffix of executables... 
#25 1.999 checking whether we are cross compiling... no
#25 2.062 checking for suffix of object files... o
#25 2.104 checking whether the compiler supports GNU C... yes
#25 2.148 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 accepts -g... yes
#25 2.192 checking for gcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#25 2.304 checking for ocamlobjinfo... ocamlobjinfo
#25 2.305 checking for ocamlfind... ocamlfind
#25 2.316 checking for curl... curl
#25 2.316 checking for dune... dune
#25 2.317 checking for patch... patch
#25 2.317 checking for bunzip2... bunzip2
#25 2.325 checking for linking method... shared
#25 2.325 
#25 2.325 checking for OCaml findlib package unix... found
#25 2.328 checking for OCaml findlib package re 1.9.0 or later... found 1.10.4
#25 2.337 checking for OCaml findlib package base64 3.1.0 or later... no
#25 2.340 checking for OCaml findlib package cmdliner... found
#25 2.342 checking for OCaml findlib package ocamlgraph... not found
#25 2.344 checking for OCaml findlib package cudf 0.7 or later... no
#25 2.347 checking for OCaml findlib package dose3.common 6.1 or later... no
#25 2.349 checking for OCaml findlib package dose3.algo 6.1 or later... no
#25 2.351 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#25 2.353 checking for OCaml findlib package spdx_licenses... not found
#25 2.356 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#25 2.358 checking for OCaml findlib package jsonm... not found
#25 2.360 checking for OCaml findlib package uutf... found
#25 2.363 checking for OCaml findlib package sha... not found
#25 2.365 checking for OCaml findlib package swhid_core... not found
#25 2.367 checking for OCaml findlib package patch... not found
#25 2.369 checking for OCaml findlib package mccs 1.1+17 or later... no
#25 2.372 
#25 2.372 configure: error: Dependencies missing. Use --with-vendored-deps or --disable-checks
#25 CANCELED
------
 > [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web:
1.549 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.550 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.551 [ERROR] Package conflict!
1.551   * Missing dependency:
1.551     - dune
1.551     unknown package
1.551 
1.551 No solution found, exiting
------

 4 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 6)
Dockerfile:10
--------------------
   8 |     RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
   9 |     RUN opam repo set-url default https://opam-dev.ocaml.org/
  10 | >>> RUN opam install . --destdir /opt/opam2web
  11 |     RUN cp -r content /opt/opam2web/share/opam2web/
  12 |     RUN rm -rf /opt/opam2web/share/opam2web/lib
--------------------
ERROR: failed to solve: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20
2025-03-31 18:35.47: Job failed: Docker build exited with status 1