Closed Bug 1950541 Opened 24 days ago Closed 23 days ago

Perma [tier 2] snap-upstream-build-amd64-nightly ERROR: Rust compiler 1.74.0 is too old.

Categories

(Firefox Build System :: Third Party Packaging, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chorotan, Assigned: nteodosio)

References

Details

Push with failures: https://treeherder.mozilla.org/jobs?repo=mozilla-central&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=74fc528d64f449162e2eda609969a49e96c0965b&selectedTaskRun=QQ3v8urrSLq6djA3LC91jg.0

Failure log: https://treeherder.mozilla.org/logviewer?job_id=496591629&repo=mozilla-central&lineNumber=34742

[task 2025-02-26T00:29:33.801Z] ::  0:03.70 checking for readelf... /builds/worker/firefox-snap/stage/usr/bin/llvm-readelf
[task 2025-02-26T00:29:33.811Z] ::  0:03.71 checking for objcopy... /builds/worker/firefox-snap/stage/usr/bin/llvm-objcopy
[task 2025-02-26T00:29:33.815Z] ::  0:03.72 checking for alsa... yes
[task 2025-02-26T00:29:33.816Z] ::  0:03.72 checking MOZ_ALSA_CFLAGS...
[task 2025-02-26T00:29:33.817Z] ::  0:03.72 checking MOZ_ALSA_LIBS... -lasound
[task 2025-02-26T00:29:33.819Z] ::  0:03.72 checking for libpulse... yes
[task 2025-02-26T00:29:33.820Z] ::  0:03.72 checking MOZ_PULSEAUDIO_CFLAGS... -I/snap/gnome-46-2404-sdk/current/usr/include -D_REENTRANT
[task 2025-02-26T00:29:33.821Z] ::  0:03.72 checking MOZ_PULSEAUDIO_LIBS... -L/snap/gnome-46-2404-sdk/current/usr/lib/x86_64-linux-gnu -lpulse -pthread
[task 2025-02-26T00:29:33.822Z] ::  0:03.72 checking for rustc... /builds/worker/.cargo/bin/rustc
[task 2025-02-26T00:29:33.823Z] ::  0:03.72 checking for cargo... /builds/worker/.cargo/bin/cargo
[task 2025-02-26T00:29:33.849Z] ::  0:03.75 Actually using '/builds/worker/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc'
[task 2025-02-26T00:29:33.875Z] ::  0:03.78 Actually using '/builds/worker/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo'
[task 2025-02-26T00:29:33.884Z] ::  0:03.79 checking rustc version... 1.76.0
[task 2025-02-26T00:29:33.890Z] ::  0:03.79 checking cargo version... 1.76.0
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 ERROR: Rust compiler 1.76.0 is too old.
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 To compile Rust language sources please install at least
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 version 1.82.0 of the 'rustc' toolchain (or, if using nightly,
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 at least one version newer than 1.82.0) and make sure it is
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 first in your path.
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 You can verify this by typing 'rustc --version'.
[task 2025-02-26T00:29:33.893Z] ::  0:03.79 If you have the 'rustup' tool installed you can upgrade
[task 2025-02-26T00:29:33.894Z] ::  0:03.79 to the latest release by typing 'rustup update'. The
[task 2025-02-26T00:29:33.894Z] ::  0:03.79 installer is available from https://rustup.rs/
[task 2025-02-26T00:29:33.950Z] ::  0:03.85 W Exception when writing resource usage file: [Errno 2] No such file or directory: '/builds/worker/firefox-snap/parts/firefox/build/obj-x86_64-pc-linux-gnu/.mozbuild/profile_build_resources.json'
[task 2025-02-26T00:29:33.958Z] ::  Config object not found by mach.
[task 2025-02-26T00:29:33.958Z] :: *** Fix above errors and then restart with "./mach build"
[task 2025-02-26T00:29:34.019Z] 'override-build' in part 'firefox' failed with code 1.
[task 2025-02-26T00:29:34.019Z] Detailed information: 
[task 2025-02-26T00:29:34.019Z] :: + xvfb-run '--server-args=-screen 0 1920x1080x24' /usr/bin/python3 ./mach build --verbose -j64
[task 2025-02-26T00:29:34.021Z] Recommended resolution: Review the scriptlet and make sure it's correct.
[task 2025-02-26T00:29:34.021Z] For more information, check out: https://canonical-snapcraft.readthedocs-hosted.com/en/8.6.2/reference/plugins.html
[task 2025-02-26T00:29:34.021Z] Full execution log: '/builds/worker/.local/state/snapcraft/log/snapcraft-20250226-001541.860272.log'
[taskcluster 2025-02-26 00:29:37.328Z] === Task Finished ===
[taskcluster 2025-02-26 00:29:37.349Z] Unsuccessful task run with exit code: 1 completed in 1091.564 seconds
Flags: needinfo?(lissyx+mozillians)

Nathan already had a PR ready yesterday

Assignee: nobody → nathan.teodosio
Flags: needinfo?(lissyx+mozillians)

PR was merged, I've retrgiggered the builds but it should be fine.

Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.