Non-deterministic build failure in mrustc / rust 1.55

  • Open
  • quality assurance status badge
Details
One participant
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 17 Sep 2022 12:59
(address . bug-guix@gnu.org)
0a8413e7-f1cc-6499-6d8e-14a178810e89@telenet.be
On current core-updates, mrustc (rust@1.55) fails to build:
End of log:
Toggle quote (17 lines)
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc rustc-1.54.0-src/vendor/url/src/lib.rs -o output/cargo-build/liburl-2_2_2_H1.rlib --crate-name url --crate-type rlib -C emit-depfile=output/cargo-build/liburl-2_2_2_H1.rlib.d --crate-tag 2_2_2_H1 -g --cfg debug_assertions -O -L output -L output/cargo-build --cfg feature="serde" --edition 2018 --extern form_urlencoded=output/cargo-build/libform_urlencoded-1_0_1.rlib --extern idna=output/cargo-build/libidna-0_2_3.rlib --extern matches=output/cargo-build/libmatches-0_1_8.rlib --extern percent_encoding=output/cargo-build/libpercent_encoding-2_1_0.rlib --extern serde=output/cargo-build/libserde-1_0_126_H1a.rlib
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/output/cargo-build/build_semver-1_0_3_H3_run
>> /tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run
> Unable to run process '/tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run' - No such file or directory
> Calling /tmp/guix-build-rust-1.54.0.drv-0/rustc-1.54.0-src/vendor/semver/output/cargo-build/build_serde_json-1_0_64_He0_run failed (see /tmp/guix-build-rust-1.54.0.drv-0/mrustc/output/cargo-build/build_serde_json-1_0_64_He0.txt_failed.txt for stdout)
> (102/111) BUILDING semver v1.0.3 with features [std,serde]
>> /tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc rustc-1.54.0-src/vendor/semver/src/lib.rs -o output/cargo-build/libsemver-1_0_3_H3.rlib --crate-name semver --crate-type rlib -C emit-depfile=output/cargo-build/libsemver-1_0_3_H3.rlib.d --crate-tag 1_0_3_H3 -g --cfg debug_assertions -O -L output -L output/cargo-build --cfg feature="std" --cfg feature="serde" --edition 2018 --extern serde=output/cargo-build/libserde-1_0_126_H1a.rlib
> Unable to run process '/tmp/guix-build-rust-1.54.0.drv-0/mrustc/bin/mrustc' - No such file or directory
> BUILD FAILED
> make: *** [minicargo.mk:229: output/cargo] Error 1
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-f" "minicargo.mk" "output/cargo" "RUSTC_TARGET=x86_64-unknown-linux-gnu" "RUSTC_VERSION=1.54.0" "MRUSTC_TARGET_VER=1.54" "OUTDIR_SUF=") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 4672.3 seconds
> command "make" "-f" "minicargo.mk" "output/cargo" "RUSTC_TARGET=x86_64-unknown-linux-gnu" "RUSTC_VERSION=1.54.0" "MRUSTC_TARGET_VER=1.54" "OUTDIR_SUF=" failed with status 2
> builder for `/gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv' failed with exit code 1
> @ build-failed /gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv - 1 builder for `/gnu/store/5a7qhchr3bg539514cia892z7wgxlvfa-rust-1.54.0.drv' failed with exit code 1
> cannot build derivation `/gnu/store/92g0b70l79d9rdd6fhp99ksxqjjcpmwc-rust-1.55.0.drv': 1 dependencies couldn't be built
As it was fine in evaluation 635738 which has guix commit 7e0f2728a46
and broke in 635752 which has guix commit 5339cb1, at first sight the
problem appears to have been introduced in 7e0f2728a46..5339cb1.
However, the log "git log 7e0f2728a46..5339cb1" does not seem to contain
anything relevant to Rust, and I cannot reproduce locally, so this
appears to be some kind non-determinism problem.
To continue with antioxidant, I'd like the build to be restarted.
Greetings,
Maxime.
Attachment: rust.log.lz
Attachment: OpenPGP_signature
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 57879@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57879
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch