Closed Bug 2086041 Opened 1 month ago Closed 1 month ago

cargo-vet 0.10.3 fails with several policy.audit-as-crates-io entries

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr153 unaffected, firefox159 unaffected, firefox160 unaffected, firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox159 --- unaffected
firefox160 --- unaffected
firefox161 --- fixed

People

(Reporter: janerik, Assigned: afranchuk)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Citing :lars from bug 2085117:

Since this landed, ./mach vendor rust fails on a clean mozilla-central checkout:

E Vet error: There are some issues with your policy.audit-as-crates-io entries
 related error: Some non-crates.io-fetched packages match published crates.io versions
  aa-stroke:0.1.0@git:5776bdfc8ad664a1503db668fab397d818a5f98a
  base64:0.21.999
  bindgen:0.72.999
  bitflags:1.999.999
  core-foundation:0.9.999
  core-graphics-types:0.1.999
  getrandom:0.2.999
  goblin:0.8.999
  hashbrown:0.13.999
  hashbrown:0.14.999
  hashbrown:0.15.999
  hashbrown:0.16.999
  hashlink:0.10.999
  hermit-abi:0.3.999
  itertools:0.13.0
  itertools:0.14.999
  mach2:0.4.999
  procfs-core:0.17.999
  redox_syscall:0.5.999
  rusqlite:0.31.999
  rustc-hash:1.999.999
  thiserror:1.999.999
  toml:0.5.999
  toml:0.9.999
  wasi:0.11.999
  windows-targets:0.52.999
  wpf-gpu-raster:0.1.0@git:99979da091fd58fba8477e7fcdf5ec0727102916
  zip:2.4.2
Errors occurred; new rust crates were not vendored.

from a chat in matrix#developers yesterday:

This may be a result of https://github.com/mozilla/cargo-vet/pull/662. At the time of that PR, I had run that on our tree, but things have shifted between then and when we updated cargo-vet. I'll make a patch.

:afranchuk wanted to take a look. We probably do need to add the audit-as-crates-io flags to supply-chain/config.toml for these crates.

Flags: needinfo?(afranchuk)

Set release status flags based on info from the regressing bug 2085117

Assignee: nobody → afranchuk
Status: NEW → ASSIGNED
Flags: needinfo?(afranchuk)

There are a few crates which aren't backwards-compat things (like
wpf_gpu_raster and aa-stroke), so I filled in the appropriate entries.

This also renews some expiring audits so that cargo vet passes without
warnings.

Pushed by afranchuk@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b8bef6a5602f https://hg.mozilla.org/integration/autoland/rev/bfab72184ee0 Add appropriate policies for backwards-compat patch crates. r=supply-chain-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: