Closed Bug 1901125 Opened 5 months ago Closed 5 months ago

[rustc-1.80] Perma tsan error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461286259&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/U-cdygiMQTKq2jpGHUuwVw/runs/0/artifacts/public/logs/live_backing.log


[task 2024-06-06T11:37:20.643Z] 11:37:20    ERROR -  error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`
[task 2024-06-06T11:37:20.643Z] 11:37:20     INFO -  Caused by:
[task 2024-06-06T11:37:20.643Z] 11:37:20     INFO -    patch for `gimli-0.28.1` in `https://github.com/rust-lang/crates.io-index` failed to resolve
[task 2024-06-06T11:37:20.643Z] 11:37:20     INFO -  Caused by:
[task 2024-06-06T11:37:20.644Z] 11:37:20     INFO -    The patch location `/builds/worker/fetches/rustc/lib/rustlib/src/rust/vendor/gimli-0.28.1` does not appear to contain any packages matching the name `gimli-0.28.1`.

Blocks: rustc-1.80

When building cargo sets up the patches for the vendored dependencies of
libstd, when several of those dependencies are different versions of the
same crate, only one of the corresponding patches work because the
package name, derived from the directory name, doesn't match.

Instead, we always take the package name from Cargo.toml.

While we're here, we add the missing resources on the rust-dev tasks.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/4a4d857836a6 Properly handle the presence of multiple crates of the same name. r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: