Build:
  1. 0
2024-04-25 19:25.49: 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=a274301e63ed36a175e1fa6f2c2f525e5be0d0b6",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=09b8fdff1c74718ac37861cec9fc1e9f4fc620a8",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=bd96d2ae56a17656e607a68ceb85e3d13594c14a"
                                             ],
                                             "path": null
                                           }
2024-04-25 19:25.49: Waiting for resource in pool registry-build-pool
2024-04-25 21:02.28: Got resource from pool registry-build-pool
2024-04-25 21:02.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
2024-04-25 21:02.28: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkoutc7c0ac"
2024-04-25 21:02.28: Exec: "git" "-C" "/tmp/git-checkoutc7c0ac" "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'
2024-04-25 21:02.28: Exec: "git" "-C" "/tmp/git-checkoutc7c0ac" "reset" 
                           "--hard" "-q" "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108"
2024-04-25 21:02.28: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkoutc7c0ac" "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'
2024-04-25 21:02.28: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=a274301e63ed36a175e1fa6f2c2f525e5be0d0b6" 
                           "--build-arg" "BLOG_GIT_SHA=09b8fdff1c74718ac37861cec9fc1e9f4fc620a8" 
                           "--build-arg" "OPAM_GIT_SHA=bd96d2ae56a17656e607a68ceb85e3d13594c14a" 
                           "-f" "/tmp/git-checkoutc7c0ac/Dockerfile" 
                           "--iidfile" "/tmp/git-checkoutc7c0ac/docker-iid" 
                           "--" "/tmp/git-checkoutc7c0ac"
2024/04/25 21:02:40 http2: server: error reading preface from client dummy-1: read |0: file already closed
2024/04/25 21:02:42 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 .dockerignore
#1 transferring context:
#1 transferring context: 2B 0.2s done
#1 DONE 1.3s

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

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

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

#5 [internal] load build definition from Dockerfile
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#6 ...

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

#8 [internal] load .dockerignore
#8 DONE 0.0s

#6 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#6 ...

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

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

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

#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-opam2web  6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#14 CACHED

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

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

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

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

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

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

#21 [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web
#21 1.343 Package opam2web does not exist, create as a NEW package? [Y/n] y
#21 1.344 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#21 1.345 [ERROR] Package conflict!
#21 1.345   * Missing dependency:
#21 1.345     - dune
#21 1.345     unknown package
#21 1.345 
#21 1.345 No solution found, exiting
#21 ERROR: executor failed running [/bin/sh -c opam install . --destdir /opt/opam2web]: exit code: 20

#22 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#22 0.486 This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
#22 0.486 You may want to back it up before going further.
#22 0.486 
#22 0.486 Continue? [Y/n] y
#22 0.486 Format upgrade done.
#22 CANCELED

#6 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
------
 > [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web:
1.343 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.344 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.345 [ERROR] Package conflict!
1.345   * Missing dependency:
1.345     - dune
1.345     unknown package
1.345 
1.345 No solution found, exiting
------
ERROR: failed to solve: executor failed running [/bin/sh -c opam install . --destdir /opt/opam2web]: exit code: 20
2024-04-25 21:02.46: Job failed: Docker build exited with status 1