You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cargo-geiger cannot read Cargo.lock files created by newer Cargo versions, which makes it unusable unless you use an older version of Cargo to generate a lockfile before running cargo geiger.
Repro
Install a version of Cargo >= 1.83, and cargo-geiger (tested on the latest release, 0.11.7).
cargo new geiger-test
cd geiger-test
cargo generate-lockfile
cargo geiger
Output:
error: Cargo("failed to parse lock file at: ~/geiger-test/Cargo.lock")
Expected output (reproducible if you use Cargo 1.82):
Metric output format: x/y
x = unsafe code used by the build
y = total unsafe code found in the crate
Symbols:
🔒 = No `unsafe` usage found, declares #![forbid(unsafe_code)]
❓ = No `unsafe` usage found, missing #![forbid(unsafe_code)]
☢️ = `unsafe` usage found
Functions Expressions Impls Traits Methods Dependency
0/0 0/0 0/0 0/0 0/0 ❓ geiger-test 0.1.0
0/0 0/0 0/0 0/0 0/0
The text was updated successfully, but these errors were encountered:
Cargo-geiger cannot read
Cargo.lock
files created by newer Cargo versions, which makes it unusable unless you use an older version of Cargo to generate a lockfile before runningcargo geiger
.Repro
Install a version of Cargo >= 1.83, and
cargo-geiger
(tested on the latest release, 0.11.7).cargo new geiger-test cd geiger-test cargo generate-lockfile cargo geiger
Output:
Expected output (reproducible if you use Cargo 1.82):
The text was updated successfully, but these errors were encountered: