Build:
  1. 0
2024-12-12 18:04.50: New job: docker build {
                                             "commit": "895b346cbaf93f9b671fc9bbd31404a0879c09fa",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": "registry.ci.dev",
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg",
                                               "OPAM_REPO_GIT_SHA=a2f34adbafe25265cf1f94c8530bdb143605d084",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=a61bc928ff9fd1033e91bea3fd1db1f2c255e545"
                                             ],
                                             "path": null
                                           }
2024-12-12 18:04.50: Waiting for resource in pool registry-build-pool
2024-12-12 19:57.44: Got resource from pool registry-build-pool
2024-12-12 19:57.44: Checking out commit 895b346c. To reproduce:
                       git clone --recursive "https://github.com/ocaml-opam/opam2web.git" && cd "opam2web" && git fetch origin "refs/pull/194/head" && git reset --hard 895b346c
2024-12-12 19:57.44: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout109b3f72"
2024-12-12 19:57.44: Exec: "git" "-C" "/tmp/git-checkout109b3f72" "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-12-12 19:57.44: Exec: "git" "-C" "/tmp/git-checkout109b3f72" "reset" 
                           "--hard" "-q" "895b346cbaf93f9b671fc9bbd31404a0879c09fa"
2024-12-12 19:57.44: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout109b3f72" "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-12-12 19:57.44: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=a2f34adbafe25265cf1f94c8530bdb143605d084" 
                           "--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6" 
                           "--build-arg" "OPAM_GIT_SHA=a61bc928ff9fd1033e91bea3fd1db1f2c255e545" 
                           "-f" "/tmp/git-checkout109b3f72/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout109b3f72/docker-iid" 
                           "--" "/tmp/git-checkout109b3f72"
#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
#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.7s

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

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

#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 ...

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

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

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

#12 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#12 resolve docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed 0.0s done
#12 extracting sha256:f7dab3ab2d6ec29aa28769bec35331fb485b5837501b1e8556413d8b5a79c9c8
#12 sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed 1.64kB / 1.64kB done
#12 sha256:71859b0c62df47efaeae4f93698b56a8dddafbf041778fd668bbd1ab45a864f8 528B / 528B done
#12 sha256:9e179bacf43c4d3428d57cf459799ba0285b901945f9eccb17b6da056d3532c7 1.47kB / 1.47kB done
#12 sha256:f7dab3ab2d6ec29aa28769bec35331fb485b5837501b1e8556413d8b5a79c9c8 2.83MB / 2.83MB 0.1s done
#12 extracting sha256:f7dab3ab2d6ec29aa28769bec35331fb485b5837501b1e8556413d8b5a79c9c8 0.2s done
#12 DONE 0.3s

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

#14 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#14 resolve docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707 0.0s done
#14 sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707 770B / 770B done
#14 sha256:52010d16eddf503f8fec6c152f2d78773cbc8fc3cd9be6579b5156ac6a3614c3 530B / 530B done
#14 sha256:f0d8413b1655f12d11dec98b49b795bec30a6c379f0163c68a2c6ef1186453fb 8.99kB / 8.99kB done
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 24.12MB / 443.08MB 0.4s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 50.33MB / 443.08MB 0.8s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 74.45MB / 443.08MB 1.1s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 105.91MB / 443.08MB 1.5s
#14 ...

#15 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#15 0.231 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
#15 0.400 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
#15 0.714 (1/14) Installing ca-certificates (20230506-r0)
#15 0.746 (2/14) Installing brotli-libs (1.0.9-r5)
#15 0.756 (3/14) Installing nghttp2-libs (1.43.0-r0)
#15 0.763 (4/14) Installing libcurl (8.0.1-r0)
#15 0.776 (5/14) Installing curl (8.0.1-r0)
#15 0.781 (6/14) Installing expat (2.5.0-r0)
#15 0.785 (7/14) Installing pcre2 (10.36-r1)
#15 0.794 (8/14) Installing git (2.32.7-r0)
#15 0.923 (9/14) Installing libgcc (10.3.1_git20210424-r2)
#15 0.927 (10/14) Installing libstdc++ (10.3.1_git20210424-r2)
#15 0.941 (11/14) Installing libacl (2.2.53-r0)
#15 0.943 (12/14) Installing popt (1.18-r0)
#15 0.947 (13/14) Installing zstd-libs (1.4.9-r1)
#15 0.958 (14/14) Installing rsync (3.2.5-r0)
#15 0.966 Executing busybox-1.33.1-r8.trigger
#15 0.975 Executing ca-certificates-20230506-r0.trigger
#15 1.053 OK: 23 MiB in 28 packages
#15 DONE 1.3s

#14 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 138.41MB / 443.08MB 2.0s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 164.63MB / 443.08MB 2.5s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 193.99MB / 443.08MB 2.9s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 220.20MB / 443.08MB 3.4s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 246.42MB / 443.08MB 3.9s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 269.48MB / 443.08MB 4.1s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 305.14MB / 443.08MB 4.5s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 342.88MB / 443.08MB 4.9s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 379.58MB / 443.08MB 5.2s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 408.94MB / 443.08MB 5.5s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 432.01MB / 443.08MB 5.8s
#14 sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 443.08MB / 443.08MB 6.6s done
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 5.1s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 10.9s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 17.6s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 22.6s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 27.8s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 40.0s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 45.0s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 50.7s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 59.5s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 64.6s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 71.9s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 79.5s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 84.6s
#14 extracting sha256:31e42ffc26010e6972ba08b9bb4a92fa4afe14d6fd67951214d68c076a5e2bd3 88.0s done
#14 DONE 98.9s

#16 [build-opam2web  2/13] RUN sudo apk add g++
#16 0.230 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
#16 0.407 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
#16 0.626 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
#16 0.764 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
#16 1.111 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
#16 1.858 OK: 229 MiB in 79 packages
#16 DONE 3.5s

#17 [build-opam-doc  2/14] RUN sudo apk add cgit groff
#17 0.250 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
#17 0.407 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
#17 0.627 fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
#17 0.764 fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
#17 1.105 fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
#17 1.807 (1/3) Installing lua5.3-libs (5.3.6-r0)
#17 1.815 (2/3) Installing cgit (1.2.3-r0)
#17 1.841 (3/3) Installing groff (1.22.4-r1)
#17 1.965 Executing busybox-1.33.1-r8.trigger
#17 1.982 OK: 240 MiB in 82 packages
#17 DONE 3.5s

#18 [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
#18 0.459 #!/bin/sh -e
#18 0.459                 echo
#18 0.459                 echo
#18 0.459                 echo "<!DOCTYPE html>"
#18 0.459                 echo "<HTML><HEAD><TITLE>$(basename $2 .1) manpage</TITLE></HEAD><BODY>"
#18 0.459                 /usr/lib/cgit/filters/html-converters/man2html <$2
#18 0.459                 echo "</BODY></HTML>
#18 0.459 
#18 DONE 0.5s

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

#20 [build-opam2web  3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#20 0.381 Cloning into '/home/opam/opam2web'...
#20 DONE 0.7s

#21 [build-opam2web  4/13] WORKDIR /home/opam/opam2web
#21 DONE 0.0s

#19 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#19 0.352 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.
#19 0.352 You may want to back it up before going further.
#19 0.352 
#19 0.352 Continue? [Y/n] y
#19 0.353 Format upgrade done.
#19 ...

#22 [build-opam2web  5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#22 DONE 0.2s

#23 [build-opam2web  6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#23 DONE 0.3s

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

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

#19 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#19 12.11 
#19 12.11 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
#19 ...

#24 [build-opam2web  7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#24 41.66 [ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "Curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.1.3 -L -o /tmp/opam-1-4fa83d/index.tar.gz.part -- https://opam-dev.ocaml.org/index.tar.gz\" exited with code 7")
#24 DONE 43.2s

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

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

#19 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#19 87.69 [default] synchronised from file:///home/opam/opam-repository
#19 DONE 178.3s
------
 > [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web:
1.551 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.553 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.554 [ERROR] Package conflict!
1.554   * Missing dependency:
1.554     - dune
1.554     unknown package
1.554 
1.554 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
2024-12-12 20:02.42: Job failed: Docker build exited with status 1