(for PR #27642)
2025-06-02 07:56.20: New job: build conf-rust-llvm.1, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27642/head (883443dcb74125770863632551853b048843182a) on fedora-42-ocaml-5.3/amd64 To reproduce locally: cd $(mktemp -d) git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27642/head" && git reset --hard 883443dc git fetch origin master git merge --no-edit 164308699cf74247b8ad3b002e88bd80a586c79e cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam RUN opam init --reinit -ni RUN opam option solver=builtin-0install && opam config report ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMPRECISETRACKING="1" ENV CI="true" ENV OPAM_REPO_CI="true" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam update --depexts || true RUN opam pin add -k version -yn conf-rust-llvm.1 1 RUN opam reinstall conf-rust-llvm.1; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"fedora-42\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-rust-llvm.1' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2025-06-02 07:56.20: Using cache hint "ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a-conf-rust-llvm.1-883443dcb74125770863632551853b048843182a" 2025-06-02 07:56.20: Using OBuilder spec: ((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "opam option solver=builtin-0install && opam config report")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMPRECISETRACKING 1) (env CI true) (env OPAM_REPO_CI true) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (network host) (shell "opam update --depexts || true")) (run (shell "opam pin add -k version -yn conf-rust-llvm.1 1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-rust-llvm.1;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"fedora-42\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-rust-llvm.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-06-02 07:56.20: Connecting to build cluster… 2025-06-02 07:56.20: Waiting for resource in pool OCluster 2025-06-02 08:00.35: Waiting for worker… 2025-06-02 08:02.51: Got resource from pool OCluster Building on bremusa.ocamllabs.io All commits already cached Updating files: 81% (18943/23175) Updating files: 82% (19004/23175) Updating files: 83% (19236/23175) Updating files: 84% (19467/23175) Updating files: 85% (19699/23175) Updating files: 86% (19931/23175) Updating files: 87% (20163/23175) Updating files: 88% (20394/23175) Updating files: 89% (20626/23175) Updating files: 90% (20858/23175) Updating files: 91% (21090/23175) Updating files: 92% (21321/23175) Updating files: 93% (21553/23175) Updating files: 94% (21785/23175) Updating files: 95% (22017/23175) Updating files: 96% (22248/23175) Updating files: 97% (22480/23175) Updating files: 98% (22712/23175) Updating files: 99% (22944/23175) Updating files: 100% (23175/23175) Updating files: 100% (23175/23175), done. HEAD is now at 164308699c Merge pull request #27973 from mtelvers/opam-publish-dockerfile-cmd.8.2.8 Auto-merging packages/conf-rust-llvm/conf-rust-llvm.1/opam Merge made by the 'ort' strategy. packages/conf-rust-llvm/conf-rust-llvm.1/opam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (from ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a) Unable to find image 'ocaml/opam:fedora-42-ocaml-5.3@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a' locally docker.io/ocaml/opam@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a: Pulling from ocaml/opam 53834edb0f05: Pulling fs layer 53834edb0f05: Verifying Checksum 53834edb0f05: Download complete 53834edb0f05: Pull complete Digest: sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a Status: Downloaded newer image for ocaml/opam@sha256:ee63bb054ba5c2a88b2e209cd64c472f241e13dd146a1a7b2c6f3145d35cac9a 2025-06-02 08:03.18 ---> using "26f21d6ca0b3956aff70ab76e5d65596c959df5becb3e1b6298160438700ab7b" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-06-02 08:03.18 ---> using "f0b17f5e6c3dca6a61082c9714db97d97716ac25590a4043abffb823c91549ce" from cache /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-02 08:03.18 ---> using "f4ecf200128a1407ae8e35d1a2dd16c3968963f33944ac215d6f7b92c5abed2a" from cache /home/opam: (run (shell "opam option solver=builtin-0install && opam config report")) Set to 'builtin-0install' the field solver in global configuration # opam config report # opam-version 2.4.0~alpha2 # self-upgrade no # system arch=x86_64 os=linux os-distribution=fedora os-version=42 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-06-02 08:03.18 ---> using "80f754e9f562caf66eb8c2d4c17f1c64e10d54a0e49f9cc1920d79880966282e" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (env CI true) /home/opam: (env OPAM_REPO_CI true) /home/opam: (run (shell "rm -rf opam-repository/")) 2025-06-02 08:03.18 ---> using "e57a829f46328a4519c6bb779fe618b67a7125562eabcf8a689d13067913b699" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-02 08:03.32 ---> saved as "e0c98e588357013734d0af59d60951ab86784dc132ae4661fa8b25aa07acfaa3" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-02 08:03.58 ---> saved as "1245ac31310476a688a850fbc2fc4e5cd9c10f8736951b24e1aebe48a3d93ba3" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/sbin/sudo "yum" "makecache" - Updating and loading repositories: - Fedora 42 - x86_64 - Updates 100% | 99.8 KiB/s | 11.9 KiB | 00m00s - Fedora 42 - x86_64 - Updates 100% | 994.4 KiB/s | 2.2 MiB | 00m02s - Repositories loaded. - Metadata cache created. 2025-06-02 08:04.03 ---> saved as "8e07034bb7a798ea04e696a34f4948dc86171ac3939f2f0d16a6c799d0ce7520" /home/opam: (run (shell "opam pin add -k version -yn conf-rust-llvm.1 1")) conf-rust-llvm is now pinned to version 1 2025-06-02 08:04.05 ---> saved as "0781d058ed9f42f050bc43af4fbb852fcdde2d74d5ec8bc437bbded11f489a34" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-rust-llvm.1;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"fedora-42\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-rust-llvm.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-rust-llvm.1 is not installed. Install it? [Y/n] y The following actions will be performed: === install 6 packages - install conf-bash 1 [required by conf-llvm] - install conf-lld 1 [required by conf-rust-llvm] - install conf-llvm 17 [required by conf-rust-llvm] - install conf-rust 0.1 [required by conf-rust-llvm] - install conf-rust-llvm 1 (pinned) - install conf-which 1 [required by conf-rust-llvm] The following system packages will first need to be installed: cargo lld llvm17-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run yum to install them (may need root/sudo access) 2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/sbin/sudo "yum" "install" "-y" "cargo" "lld" "llvm17-devel" - Updating and loading repositories: - Repositories loaded. - Package Arch Version Repository Size - Installing: - cargo x86_64 1.86.0-1.fc42 updates 20.3 MiB - lld x86_64 20.1.5-1.fc42 updates 48.6 KiB - llvm17-devel x86_64 17.0.6-9.fc41 fedora 23.0 MiB - Installing dependencies: - libedit-devel x86_64 3.1-55.20250104cvs.fc42 fedora 59.4 KiB - libgit2 x86_64 1.9.0-4.fc42 fedora 1.3 MiB - libssh2 x86_64 1.11.1-3.fc42 fedora 322.7 KiB - lld-libs x86_64 20.1.5-1.fc42 updates 6.3 MiB - llhttp x86_64 9.2.1-5.fc42 fedora 76.5 KiB - llvm17 x86_64 17.0.6-9.fc41 fedora 112.5 MiB - llvm17-googletest x86_64 17.0.6-9.fc41 fedora 2.2 MiB - llvm17-libs x86_64 17.0.6-9.fc41 fedora 114.2 MiB - llvm17-static x86_64 17.0.6-9.fc41 fedora 277.2 MiB - llvm17-test x86_64 17.0.6-9.fc41 fedora 1.9 MiB - ncurses-c++-libs x86_64 6.5-5.20250125.fc42 fedora 153.6 KiB - ncurses-devel x86_64 6.5-5.20250125.fc42 fedora 883.7 KiB - rust x86_64 1.86.0-1.fc42 updates 85.0 MiB - rust-std-static x86_64 1.86.0-1.fc42 updates 151.1 MiB - - Transaction Summary: - Installing: 17 packages - - Total size of inbound packages is 169 MiB. Need to download 169 MiB. - After this operation, 797 MiB extra will be used (install 797 MiB, remove 0 B). - [ 1/17] libgit2-0:1.9.0-4.fc42.x86_64 100% | 2.9 MiB/s | 584.7 KiB | 00m00s - [ 2/17] libssh2-0:1.11.1-3.fc42.x86_64 100% | 557.6 KiB/s | 147.2 KiB | 00m00s - [ 3/17] cargo-0:1.86.0-1.fc42.x86_64 100% | 2.6 MiB/s | 6.5 MiB | 00m03s - [ 4/17] llhttp-0:9.2.1-5.fc42.x86_64 100% | 727.3 KiB/s | 32.7 KiB | 00m00s - [ 5/17] lld-0:20.1.5-1.fc42.x86_64 100% | 97.6 KiB/s | 39.7 KiB | 00m00s - [ 6/17] rust-0:1.86.0-1.fc42.x86_64 100% | 7.0 MiB/s | 27.1 MiB | 00m04s - [ 7/17] llvm17-devel-0:17.0.6-9.fc41.x8 100% | 2.2 MiB/s | 3.8 MiB | 00m02s - [ 8/17] llvm17-googletest-0:17.0.6-9.fc 100% | 2.5 MiB/s | 359.8 KiB | 00m00s - [ 9/17] rust-std-static-0:1.86.0-1.fc42 100% | 7.3 MiB/s | 38.8 MiB | 00m05s - [10/17] llvm17-0:17.0.6-9.fc41.x86_64 100% | 4.8 MiB/s | 25.6 MiB | 00m05s - [11/17] llvm17-test-0:17.0.6-9.fc41.x86 100% | 4.0 MiB/s | 644.5 KiB | 00m00s - [12/17] libedit-devel-0:3.1-55.20250104 100% | 1.1 MiB/s | 40.8 KiB | 00m00s - [13/17] ncurses-devel-0:6.5-5.20250125. 100% | 3.5 MiB/s | 583.5 KiB | 00m00s - [14/17] llvm17-libs-0:17.0.6-9.fc41.x86 100% | 5.3 MiB/s | 26.7 MiB | 00m05s - [15/17] ncurses-c++-libs-0:6.5-5.202501 100% | 98.5 KiB/s | 37.9 KiB | 00m00s - [16/17] llvm17-static-0:17.0.6-9.fc41.x 100% | 5.5 MiB/s | 36.3 MiB | 00m07s - [17/17] lld-libs-0:20.1.5-1.fc42.x86_64 100% | 655.6 KiB/s | 1.8 MiB | 00m03s - -------------------------------------------------------------------------------- - [17/17] Total 100% | 13.0 MiB/s | 169.0 MiB | 00m13s - Running transaction - [ 1/19] Verify package files 100% | 8.0 B/s | 17.0 B | 00m02s - [ 2/19] Prepare transaction 100% | 97.0 B/s | 17.0 B | 00m00s - [ 3/19] Installing llvm17-libs-0:17.0.6 100% | 124.0 MiB/s | 114.2 MiB | 00m01s - [ 4/19] Installing llvm17-0:17.0.6-9.fc 100% | 84.4 MiB/s | 112.6 MiB | 00m01s - [ 5/19] Installing rust-std-static-0:1. 100% | 120.7 MiB/s | 151.1 MiB | 00m01s - [ 6/19] Installing rust-0:1.86.0-1.fc42 100% | 82.7 MiB/s | 85.0 MiB | 00m01s - [ 7/19] Installing libssh2-0:1.11.1-3.f 100% | 45.3 MiB/s | 324.4 KiB | 00m00s - [ 8/19] Installing llvm17-test-0:17.0.6 100% | 70.4 MiB/s | 1.9 MiB | 00m00s - [ 9/19] Installing lld-libs-0:20.1.5-1. 100% | 76.4 MiB/s | 6.3 MiB | 00m00s - [10/19] Installing ncurses-c++-libs-0:6 100% | 16.8 MiB/s | 154.8 KiB | 00m00s - [11/19] Installing ncurses-devel-0:6.5- 100% | 16.3 MiB/s | 1.0 MiB | 00m00s - [12/19] Installing libedit-devel-0:3.1- 100% | 13.1 MiB/s | 67.0 KiB | 00m00s - [13/19] Installing llvm17-static-0:17.0 100% | 100.5 MiB/s | 277.2 MiB | 00m03s - [14/19] Installing llvm17-googletest-0: 100% | 73.1 MiB/s | 2.2 MiB | 00m00s - [15/19] Installing llhttp-0:9.2.1-5.fc4 100% | 19.0 MiB/s | 77.7 KiB | 00m00s - [16/19] Installing libgit2-0:1.9.0-4.fc 100% | 63.2 MiB/s | 1.3 MiB | 00m00s - [17/19] Installing cargo-0:1.86.0-1.fc4 100% | 67.1 MiB/s | 20.3 MiB | 00m00s - [18/19] Installing llvm17-devel-0:17.0. 100% | 45.5 MiB/s | 23.3 MiB | 00m01s - [19/19] Installing lld-0:20.1.5-1.fc42. 100% | 240.6 KiB/s | 51.7 KiB | 00m00s - Complete! + /usr/sbin/rpm "-q" "--whatprovides" "cargo" "lld" "llvm17-devel" - cargo-1.86.0-1.fc42.x86_64 - lld-20.1.5-1.fc42.x86_64 - llvm17-devel-17.0.6-9.fc41.x86_64 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-llvm.17 (cached) -> installed conf-bash.1 -> installed conf-lld.1 -> installed conf-which.1 -> installed conf-llvm.17 -> installed conf-rust.0.1 [ERROR] The compilation of conf-rust-llvm.1 failed at "which rust-lld". #=== ERROR while compiling conf-rust-llvm.1 ===================================# # context 2.4.0~alpha2 | linux/x86_64 | ocaml-base-compiler.5.3.0 | pinned # path ~/.opam/5.3/.opam-switch/build/conf-rust-llvm.1 # command ~/.opam/opam-init/hooks/sandbox.sh build which rust-lld # exit-code 1 # env-file ~/.opam/log/conf-rust-llvm-7-a3b314.env # output-file ~/.opam/log/conf-rust-llvm-7-a3b314.out ### output ### # which: no rust-lld in (/home/opam/.opam/5.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-rust-llvm 1 +- +- The following changes have been performed | - install conf-bash 1 | - install conf-lld 1 | - install conf-llvm 17 | - install conf-rust 0.1 | - install conf-which 1 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250602080406.export" [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. "/usr/bin/env" "bash" "-c" "opam reinstall conf-rust-llvm.1; res=$?; test "$res" != 31 && exit "$res"; export OPAMCLI=2.0; build_dir=$(opam var prefix)/.opam-switch/build; failed=$(ls "$build_dir"); partial_fails=""; for pkg in $failed; do if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"fedora-42\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'conf-rust-llvm.1' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 1 2025-06-02 08:04.53: Job failed: Failed: Build failed 2025-06-02 08:04.53: Log analysis: 2025-06-02 08:04.53: >>> [ERROR] The compilation of conf-rust-llvm.1 failed at "which rust-lld". (score = 20) 2025-06-02 08:04.53: The compilation of conf-rust-llvm.1 failed at "which rust-lld".