2025-07-29 14:17.48: New job: docker build {
"commit": "0f1570fee68fbc339f3dd22b6d3a76075de5140b",
"dockerfile": {
"file": "Dockerfile"
},
"docker_context": null,
"squash": false,
"buildx": true,
"build_args": [],
"path": null
}
2025-07-29 14:17.48: Checking out commit 0f1570fe. To reproduce:
git clone --recursive "https://github.com/tarides/tarides.com.git" && cd "tarides.com" && git fetch origin "refs/pull/988/head" && git reset --hard 0f1570fe
2025-07-29 14:17.48: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/tarides.com.git-c625fb5f52c964610b54f32d27d46965b6bf2fad211456d66e1ff8a0f4c02fec/.git"
"/tmp/git-checkout31d940af"
2025-07-29 14:17.51: Exec: "git" "-C" "/tmp/git-checkout31d940af" "submodule"
"deinit" "--force" "--all"
2025-07-29 14:17.51: Exec: "git" "-C" "/tmp/git-checkout31d940af" "reset"
"--hard" "-q" "0f1570fee68fbc339f3dd22b6d3a76075de5140b"
2025-07-29 14:17.53: Exec: "git" "-c" "protocol.file.allow=always" "-C"
"/tmp/git-checkout31d940af" "submodule" "update"
"--recursive" "--init" "--no-fetch"
2025-07-29 14:17.53: Exec: "docker" "buildx" "build" "--pull" "-f" "/tmp/git-checkout31d940af/Dockerfile"
"--iidfile" "/tmp/git-checkout31d940af/docker-iid"
"--" "/tmp/git-checkout31d940af"
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.98kB done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/alpine:3.22
#2 DONE 0.7s
#3 [internal] load .dockerignore
#3 transferring context: 77B done
#3 DONE 0.0s
#4 [build 1/13] FROM docker.io/library/alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 548.28MB 2.2s done
#5 DONE 2.3s
#6 [build 6/13] COPY --link dune-project .
#6 CACHED
#7 [build 7/13] RUN dune --version && dune pkg lock && dune build @pkg-install
#7 CACHED
#8 [build 4/13] RUN curl -fsSL https://get.dune.build/install | sh
#8 CACHED
#9 [build 9/13] COPY --link data/ data/
#9 CACHED
#10 [build 10/13] COPY --link src/gen src/gen
#10 CACHED
#11 [build 3/13] WORKDIR /root
#11 CACHED
#12 [build 5/13] COPY --link tarides-com.opam .
#12 CACHED
#13 [build 11/13] RUN ./generate-images.sh
#13 CACHED
#14 [build 2/13] RUN --mount=type=cache,target=/var/cache/apk,sharing=locked ln -s /var/cache/apk /etc/apk/cache && apk -U upgrade && apk add autoconf curl-dev gmp-dev imagemagick imagemagick-jpeg imagemagick-webp inotify-tools libev-dev oniguruma-dev openssl-dev curl bash gcc musl-dev make m4 git autoconf
#14 CACHED
#15 [build 8/13] COPY --link ./generate-images.sh .
#15 CACHED
#16 [build 12/13] COPY --link . .
#16 CACHED
#17 [build 13/13] RUN dune build && dune build --profile=release
#17 3.149 Building ocaml-config.3
#17 12.48 File "src/data/dune", lines 6-16, characters 0-222:
#17 12.48 6 | (rule
#17 12.48 7 | (target blog_gen.ml)
#17 12.48 8 | (deps
#17 12.48 9 | (source_tree %{workspace_root}/data/blog/)
#17 12.48 10 | (:gen %{workspace_root}/src/gen/main.exe))
#17 12.48 11 | (action
#17 12.48 12 | (chdir
#17 12.48 13 | %{workspace_root}
#17 12.48 14 | (with-stdout-to
#17 12.48 15 | %{target}
#17 12.48 16 | (run %{gen} blog)))))
#17 12.48 gen: internal error, uncaught exception:
#17 12.48 Sys_error("data/blog/images/radiocarbondiagram.jpg: No such file or directory")
#17 12.48 Raised by primitive operation at Stdlib.open_in_gen in file "stdlib.ml", line 405, characters 28-54
#17 12.48 Called from Stdlib__In_channel.with_open in file "in_channel.ml", line 35, characters 11-20
#17 12.48 Called from Dune__exe__File.file_of_path in file "src/gen/file.ml", line 37, characters 28-46
#17 12.48 Called from Dune__exe__File.of_path in file "src/gen/file.ml", line 80, characters 45-64
#17 12.48 Called from Dune__exe__File.url in file "src/gen/file.ml", line 94, characters 10-22
#17 12.48 Called from Dune__exe__Blog.rewrite_src in file "src/gen/blog.ml", line 106, characters 12-24
#17 12.48 Called from Soup.descendants.(fun) in file "src/soup.ml", line 290, characters 6-15
#17 12.48 Called from Stdlib__List.fold_left in file "list.ml", line 123, characters 24-34
#17 12.48 Called from Stdlib__List.fold_left in file "list.ml", line 123, characters 24-34
#17 12.48 Called from Dune__exe__Blog.rewrite_links in file "src/gen/blog.ml", line 134, characters 2-48
#17 12.48 Called from Dune__exe__Blog.html_of_md in file "src/gen/blog.ml", lines 140-145, characters 2-24
#17 12.48 Called from Dune__exe__Blog.of_metadata in file "src/gen/blog.ml", line 175, characters 18-39
#17 12.48 Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 105, characters 22-25
#17 12.48 Called from Dune__exe__Utils.map_files in file "src/gen/utils.ml", line 56, characters 23-59
#17 12.48 Called from Dune__exe__Blog.all in file "src/gen/blog.ml", line 302, characters 2-51
#17 12.48 Called from Dune__exe__Blog.template in file "src/gen/blog.ml", line 308, characters 4-12
#17 12.48 Called from Dune__exe__Main.cmds.(fun) in file "src/gen/main.ml", line 19, characters 48-61
#17 12.48 Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
#17 12.48 Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
#17 ERROR: process "/bin/sh -c dune build && dune build --profile=release" did not complete successfully: exit code: 1
------
> [build 13/13] RUN dune build && dune build --profile=release:
12.48 Called from Dune__exe__Blog.rewrite_links in file "src/gen/blog.ml", line 134, characters 2-48
12.48 Called from Dune__exe__Blog.html_of_md in file "src/gen/blog.ml", lines 140-145, characters 2-24
12.48 Called from Dune__exe__Blog.of_metadata in file "src/gen/blog.ml", line 175, characters 18-39
12.48 Called from Stdlib__List.rev_map.rmap_f in file "list.ml", line 105, characters 22-25
12.48 Called from Dune__exe__Utils.map_files in file "src/gen/utils.ml", line 56, characters 23-59
12.48 Called from Dune__exe__Blog.all in file "src/gen/blog.ml", line 302, characters 2-51
12.48 Called from Dune__exe__Blog.template in file "src/gen/blog.ml", line 308, characters 4-12
12.48 Called from Dune__exe__Main.cmds.(fun) in file "src/gen/main.ml", line 19, characters 48-61
12.48 Called from Cmdliner_term.app.(fun) in file "cmdliner_term.ml", line 24, characters 19-24
12.48 Called from Cmdliner_eval.run_parser in file "cmdliner_eval.ml", line 35, characters 37-44
------
Dockerfile:48
--------------------
46 | RUN ./generate-images.sh
47 | COPY --link . .
48 | >>> RUN dune build && dune build --profile=release
49 |
50 | FROM alpine:3.22 AS run
--------------------
ERROR: failed to solve: process "/bin/sh -c dune build && dune build --profile=release" did not complete successfully: exit code: 1
2025-07-29 14:18.13: Job failed: Docker build exited with status 1