Build:
  1. 0
2024-10-31 01:31.07: 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=d872638bdf37acf7cefd81b20dfcad3e584c3153",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=045cc31dba3a86be57be6218a048ddd70c12405e",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=10f068046411ea3ee774642e8f957a1304d1380c"
                                             ],
                                             "path": null
                                           }
2024-10-31 01:31.07: Waiting for resource in pool registry-build-pool
2024-10-31 03:37.39: Got resource from pool registry-build-pool
2024-10-31 03:37.39: 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-10-31 03:37.39: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout1e66069e"
2024-10-31 03:37.39: Exec: "git" "-C" "/tmp/git-checkout1e66069e" "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-10-31 03:37.39: Exec: "git" "-C" "/tmp/git-checkout1e66069e" "reset" 
                           "--hard" "-q" "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108"
2024-10-31 03:37.39: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout1e66069e" "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-10-31 03:37.39: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=d872638bdf37acf7cefd81b20dfcad3e584c3153" 
                           "--build-arg" "BLOG_GIT_SHA=045cc31dba3a86be57be6218a048ddd70c12405e" 
                           "--build-arg" "OPAM_GIT_SHA=10f068046411ea3ee774642e8f957a1304d1380c" 
                           "-f" "/tmp/git-checkout1e66069e/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout1e66069e/docker-iid" 
                           "--" "/tmp/git-checkout1e66069e"
2024/10/31 03:37:50 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.4s

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

#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s

#4 resolve image config for docker.io/docker/dockerfile:1
#4 DONE 0.5s

#5 docker-image://docker.io/docker/dockerfile:1@sha256:865e5dd094beca432e8c0a1d5e1c465db5f998dca4e439981029b3b81fb39ed5
#5 CACHED

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

#7 [auth] library/alpine:pull token for registry-1.docker.io
#7 DONE 0.0s

#8 [auth] ocaml/opam:pull token for registry-1.docker.io
#8 DONE 0.0s

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

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

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

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

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

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

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

#14 [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
#14 CACHED

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

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

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

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

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

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

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

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

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

#24 [build-opam-doc  5/14] RUN opam install odoc
#24 10.42 The following actions will be performed:
#24 10.42   - install ocamlfind     1.9.5  [required by fmt, astring, fpath]
#24 10.42   - install cmdliner      1.1.1  [required by odoc]
#24 10.42   - install dune          3.4.1  [required by odoc]
#24 10.42   - install seq           base   [required by tyxml]
#24 10.42   - install ocamlbuild    0.14.2 [required by fmt, astring, fpath]
#24 10.42   - install result        1.5    [required by odoc]
#24 10.42   - install cppo          1.6.9  [required by odoc]
#24 10.42   - install camlp-streams 5.0.1  [required by odoc-parser]
#24 10.42   - install re            1.10.4 [required by tyxml]
#24 10.42   - install topkg         1.0.5  [required by fmt, astring, fpath]
#24 10.42   - install uutf          1.0.3  [required by tyxml]
#24 10.42   - install fmt           0.9.0  [required by odoc]
#24 10.42   - install astring       0.8.5  [required by odoc]
#24 10.42   - install tyxml         4.5.0  [required by odoc]
#24 10.42   - install odoc-parser   1.0.1  [required by odoc]
#24 10.42   - install fpath         0.7.3  [required by odoc]
#24 10.42   - install odoc          2.1.1
#24 10.42 ===== 17 to install =====
#24 10.42 
#24 10.42 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#24 10.64 -> retrieved camlp-streams.5.0.1  (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
#24 10.79 -> retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
#24 10.86 -> retrieved cmdliner.1.1.1  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz)
#24 32.53 -> retrieved cppo.1.6.9  (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
#24 32.55 -> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
#24 32.94 -> retrieved ocamlbuild.0.14.2  (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz)
#24 33.05 -> retrieved fpath.0.7.3  (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
#24 34.71 -> retrieved dune.3.4.1  (https://github.com/ocaml/dune/releases/download/3.4.1/dune-3.4.1.tbz)
#24 37.62 -> retrieved odoc.2.1.1  (https://github.com/ocaml/odoc/releases/download/2.1.1/odoc-2.1.1.tbz)
#24 37.71 -> retrieved ocamlfind.1.9.5  (http://download.camlcity.org/download/findlib-1.9.5.tar.gz)
#24 37.78 -> retrieved odoc-parser.1.0.1  (https://github.com/ocaml-doc/odoc-parser/releases/download/1.0.1/odoc-parser-1.0.1.tbz)
#24 37.83 -> installed cmdliner.1.1.1
#24 37.83 -> installed seq.base
#24 37.90 -> retrieved re.1.10.4  (https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz)
#24 37.93 -> retrieved result.1.5  (https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz)
#24 38.31 -> retrieved tyxml.4.5.0  (https://github.com/ocsigen/tyxml/releases/download/4.5.0/tyxml-4.5.0.tbz)
#24 38.38 -> retrieved topkg.1.0.5  (https://erratique.ch/software/topkg/releases/topkg-1.0.5.tbz)
#24 38.40 -> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
#24 40.46 -> installed ocamlbuild.0.14.2
#24 41.74 -> installed ocamlfind.1.9.5
#24 47.54 -> installed topkg.1.0.5
#24 48.89 -> installed uutf.1.0.3
#24 49.14 -> installed fmt.0.9.0
#24 49.44 -> installed astring.0.8.5
#24 50.41 -> installed fpath.0.7.3
#24 56.34 -> installed dune.3.4.1
#24 56.70 -> installed result.1.5
#24 56.74 -> installed camlp-streams.5.0.1
#24 57.40 -> installed odoc-parser.1.0.1
#24 57.56 -> installed re.1.10.4
#24 57.76 -> installed cppo.1.6.9
#24 61.82 -> installed tyxml.4.5.0
#24 70.06 -> installed odoc.2.1.1
#24 70.92 Done.
#24 70.93 # Run eval $(opam env) to update the current shell environment
#24 DONE 83.3s
------
 > [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web:
1.556 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.557 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.558 [ERROR] Package conflict!
1.558   * Missing dependency:
1.558     - dune
1.558     unknown package
1.558 
1.558 No solution found, exiting
------

 4 warnings found (use docker --debug to expand):
 - 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)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
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
2024-10-31 03:39.19: Job failed: Docker build exited with status 1