[INFO] fetching crate fedimint-ring 0.16.20... [INFO] testing fedimint-ring-0.16.20 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fedimint-ring 0.16.20 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate fedimint-ring 0.16.20 [INFO] finished tweaking crates.io crate fedimint-ring 0.16.20 [INFO] tweaked toml for crates.io crate fedimint-ring 0.16.20 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fedimint-ring 0.16.20 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding spin v0.5.2 (available: v0.10.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd1aa00ffea1073bc90a800c8e11b860c3ca9b5d34dccc248ce4612904da25fd [INFO] running `Command { std: "docker" "start" "-a" "bd1aa00ffea1073bc90a800c8e11b860c3ca9b5d34dccc248ce4612904da25fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd1aa00ffea1073bc90a800c8e11b860c3ca9b5d34dccc248ce4612904da25fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1aa00ffea1073bc90a800c8e11b860c3ca9b5d34dccc248ce4612904da25fd", kill_on_drop: false }` [INFO] [stdout] bd1aa00ffea1073bc90a800c8e11b860c3ca9b5d34dccc248ce4612904da25fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04ab4b4f6520aa8f8daabd32e0082dfdce7aa3afd658ada3e1c7601e28af873c [INFO] running `Command { std: "docker" "start" "-a" "04ab4b4f6520aa8f8daabd32e0082dfdce7aa3afd658ada3e1c7601e28af873c", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fedimint-ring v0.16.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> build.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 625 | "x86_64" => ("win64"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 625 - "x86_64" => ("win64"), [INFO] [stdout] 625 + "x86_64" => "win64", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> build.rs:626:18 [INFO] [stdout] | [INFO] [stdout] 626 | "x86" => ("win32"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 626 - "x86" => ("win32"), [INFO] [stdout] 626 + "x86" => "win32", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_for_now` [INFO] [stdout] --> src/aead/chacha.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | #[cfg(test_not_for_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_for_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_for_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/digest.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 447 | as64: [BigEndian; 512 / 8 / core::mem::size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | #![deny(missing_docs, unused_qualifications, variant_size_differences)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 447 - as64: [BigEndian; 512 / 8 / core::mem::size_of::>()], [INFO] [stdout] 447 + as64: [BigEndian; 512 / 8 / size_of::>()], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/digest.rs:448:38 [INFO] [stdout] | [INFO] [stdout] 448 | as32: [BigEndian; 256 / 8 / core::mem::size_of::>()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 448 - as32: [BigEndian; 256 / 8 / core::mem::size_of::>()], [INFO] [stdout] 448 + as32: [BigEndian; 256 / 8 / size_of::>()], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/endian.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | core::slice::from_raw_parts(x.as_ptr() as *const u8, x.len() * core::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - core::slice::from_raw_parts(x.as_ptr() as *const u8, x.len() * core::mem::size_of::()) [INFO] [stdout] 17 + core::slice::from_raw_parts(x.as_ptr() as *const u8, x.len() * size_of::()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rand.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait RandomlyConstructable: self::sealed::RandomlyConstructable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 104 - pub trait RandomlyConstructable: self::sealed::RandomlyConstructable {} [INFO] [stdout] 104 + pub trait RandomlyConstructable: sealed::RandomlyConstructable {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rand.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | impl RandomlyConstructable for T where T: self::sealed::RandomlyConstructable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 105 - impl RandomlyConstructable for T where T: self::sealed::RandomlyConstructable {} [INFO] [stdout] 105 + impl RandomlyConstructable for T where T: sealed::RandomlyConstructable {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | error::KeyRejected::invalid_encoding(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 169 - error::KeyRejected::invalid_encoding(), [INFO] [stdout] 169 + KeyRejected::invalid_encoding(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:316:26 [INFO] [stdout] | [INFO] [stdout] 316 | .map_err(|_| error::KeyRejected::invalid_encoding())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 316 - .map_err(|_| error::KeyRejected::invalid_encoding())?; [INFO] [stdout] 316 + .map_err(|_| KeyRejected::invalid_encoding())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/rsa/signing.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | return Err(error::KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 445 - return Err(error::KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] 445 + return Err(KeyRejected::private_modulus_len_not_multiple_of_512_bits()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ChunksFixedMut` is never used [INFO] [stdout] --> src/polyfill/chunks_fixed.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ChunksFixedMut<'a, Chunk> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cpu_features` is never read [INFO] [stdout] --> src/digest.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct BlockContext { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | cpu_features: cpu::Features, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromByteArray` is never used [INFO] [stdout] --> src/endian.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait FromByteArray { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/arithmetic/bigint.rs:344:19 [INFO] [stdout] | [INFO] [stdout] 344 | fn as_partial(&self) -> PartialModulus { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 344 | fn as_partial(&self) -> PartialModulus<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkcs8.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn alg_id_value(&self) -> untrusted::Input { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn alg_id_value(&self) -> untrusted::Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pkcs8.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn curve_oid(&self) -> untrusted::Input { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn curve_oid(&self) -> untrusted::Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsa/signing.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn modulus(&self) -> io::Positive { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 418 | pub fn modulus(&self) -> io::Positive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsa/signing.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn exponent(&self) -> io::Positive { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 426 | pub fn exponent(&self) -> io::Positive<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-ring` (lib) due to 8 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04ab4b4f6520aa8f8daabd32e0082dfdce7aa3afd658ada3e1c7601e28af873c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ab4b4f6520aa8f8daabd32e0082dfdce7aa3afd658ada3e1c7601e28af873c", kill_on_drop: false }` [INFO] [stdout] 04ab4b4f6520aa8f8daabd32e0082dfdce7aa3afd658ada3e1c7601e28af873c