[INFO] fetching crate yogcrypt 0.0.0... [INFO] testing yogcrypt-0.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate yogcrypt 0.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate yogcrypt 0.0.0 [INFO] finished tweaking crates.io crate yogcrypt 0.0.0 [INFO] tweaked toml for crates.io crate yogcrypt 0.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yogcrypt 0.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ccc9c8084222760578744c56fcae7772e868c347fcd118018f32f4947b8ce4 [INFO] running `Command { std: "docker" "start" "-a" "03ccc9c8084222760578744c56fcae7772e868c347fcd118018f32f4947b8ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ccc9c8084222760578744c56fcae7772e868c347fcd118018f32f4947b8ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ccc9c8084222760578744c56fcae7772e868c347fcd118018f32f4947b8ce4", kill_on_drop: false }` [INFO] [stdout] 03ccc9c8084222760578744c56fcae7772e868c347fcd118018f32f4947b8ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a675644fa1ce63700fdcc32fdea13cf3f880a2bb2d3b38d8ae28a29150fc8fc1 [INFO] running `Command { std: "docker" "start" "-a" "a675644fa1ce63700fdcc32fdea13cf3f880a2bb2d3b38d8ae28a29150fc8fc1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling yogcrypt v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(feature = "cargo-clippy", allow(possible_missing_comma))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/basic/cell/u64x4.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | _ => (panic!("unknown n")), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - _ => (panic!("unknown n")), [INFO] [stdout] 82 + _ => panic!("unknown n"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/basic/group/ecc_group.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | /// Pre-computation for base point multiplications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sm3/mod.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | b[j] = msg[(i * 16 + j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - b[j] = msg[(i * 16 + j)]; [INFO] [stdout] 173 + b[j] = msg[i * 16 + j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let mut bias = prim_len % 512; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut bias_of_word = bias / 32; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut bias_of_bit = (bias % 32) as u32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "a675644fa1ce63700fdcc32fdea13cf3f880a2bb2d3b38d8ae28a29150fc8fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a675644fa1ce63700fdcc32fdea13cf3f880a2bb2d3b38d8ae28a29150fc8fc1", kill_on_drop: false }` [INFO] [stdout] a675644fa1ce63700fdcc32fdea13cf3f880a2bb2d3b38d8ae28a29150fc8fc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33e6f3b9c42cea915a92efb9fe60a162cd8628abef72c26b7136b1a90551fcc3 [INFO] running `Command { std: "docker" "start" "-a" "33e6f3b9c42cea915a92efb9fe60a162cd8628abef72c26b7136b1a90551fcc3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(feature = "cargo-clippy", allow(possible_missing_comma))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/basic/cell/u64x4.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | _ => (panic!("unknown n")), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - _ => (panic!("unknown n")), [INFO] [stdout] 82 + _ => panic!("unknown n"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/basic/group/ecc_group.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | /// Pre-computation for base point multiplications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sm3/mod.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | b[j] = msg[(i * 16 + j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - b[j] = msg[(i * 16 + j)]; [INFO] [stdout] 173 + b[j] = msg[i * 16 + j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let mut bias = prim_len % 512; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut bias_of_word = bias / 32; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut bias_of_bit = (bias % 32) as u32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling yogcrypt v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | #![cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(feature = "cargo-clippy", allow(possible_missing_comma))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/basic/cell/u64x4.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | _ => (panic!("unknown n")), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - _ => (panic!("unknown n")), [INFO] [stdout] 82 + _ => panic!("unknown n"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/basic/group/ecc_group.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | /// Pre-computation for base point multiplications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/sm3/mod.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | b[j] = msg[(i * 16 + j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - b[j] = msg[(i * 16 + j)]; [INFO] [stdout] 173 + b[j] = msg[i * 16 + j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm2/mod.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let mut m = sm2_gen_sign(&msg, d_a, q); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let mut bias = prim_len % 512; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut bias_of_word = bias / 32; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sm3/mod.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut bias_of_bit = (bias % 32) as u32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "33e6f3b9c42cea915a92efb9fe60a162cd8628abef72c26b7136b1a90551fcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e6f3b9c42cea915a92efb9fe60a162cd8628abef72c26b7136b1a90551fcc3", kill_on_drop: false }` [INFO] [stdout] 33e6f3b9c42cea915a92efb9fe60a162cd8628abef72c26b7136b1a90551fcc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26f1d62cc546ecf4bd1970d19b98f5ad56ca0ad1b509ff4fcf07cd1edc414a36 [INFO] running `Command { std: "docker" "start" "-a" "26f1d62cc546ecf4bd1970d19b98f5ad56ca0ad1b509ff4fcf07cd1edc414a36", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | #![cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | #![cfg_attr(feature = "cargo-clippy", allow(many_single_char_names))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | #![cfg_attr(feature = "cargo-clippy", allow(possible_missing_comma))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/basic/cell/u64x4.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | _ => (panic!("unknown n")), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 82 - _ => (panic!("unknown n")), [INFO] [stderr] 82 + _ => panic!("unknown n"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/basic/group/ecc_group.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | /// Pre-computation for base point multiplications [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/sm3/mod.rs:173:28 [INFO] [stderr] | [INFO] [stderr] 173 | b[j] = msg[(i * 16 + j)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 173 - b[j] = msg[(i * 16 + j)]; [INFO] [stderr] 173 + b[j] = msg[i * 16 + j]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sm3/mod.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | let mut bias = prim_len % 512; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sm3/mod.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | let mut bias_of_word = bias / 32; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sm3/mod.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | let mut bias_of_bit = (bias % 32) as u32; [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `yogcrypt` (lib) generated 10 warnings (run `cargo fix --lib -p yogcrypt` to apply 5 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sm2/mod.rs:241:17 [INFO] [stderr] | [INFO] [stderr] 241 | let mut m = sm2_gen_sign(&msg, d_a, q); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sm3/mod.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | let mut bias = prim_len % 512; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `yogcrypt` (lib test) generated 11 warnings (9 duplicates) (run `cargo fix --lib -p yogcrypt --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yogcrypt-143997bd771c061e) [INFO] [stdout] running 9 tests [INFO] [stdout] test basic::field::field_p::tests::test_mul ... ok [INFO] [stdout] test basic::field::field_p::tests::test_inversion ... ok [INFO] [stdout] test basic::group::ecc_group::tests::test_add_jacobi_affine ... ok [INFO] [stdout] test basic::group::ecc_group::tests::test_zero_add_jacobi_affine ... ok [INFO] [stdout] test basic::group::ecc_group::tests::test_times3 ... ok [INFO] [stdout] test sm4::tests::test ... ok [INFO] [stdout] test sm3::tests::test ... ok [INFO] [stdout] test basic::group::ecc_group::tests::test_base_times ... ok [INFO] [stdout] test sm2::tests::test has been running for over 60 seconds [INFO] [stdout] test sm2::tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 139.36s [INFO] [stdout] [INFO] [stderr] Doc-tests yogcrypt [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/basic/cell/u64x4.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | _ => (panic!("unknown n")), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 82 - _ => (panic!("unknown n")), [INFO] [stderr] 82 + _ => panic!("unknown n"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/sm3/mod.rs:173:28 [INFO] [stderr] | [INFO] [stderr] 173 | b[j] = msg[(i * 16 + j)]; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 173 - b[j] = msg[(i * 16 + j)]; [INFO] [stderr] 173 + b[j] = msg[i * 16 + j]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/basic/util.rs - basic::util::bytes_to_u32_blocks (line 6) ... ok [INFO] [stdout] test src/basic/util.rs - basic::util::bytes_to_four_u32 (line 44) ... ok [INFO] [stdout] test src/sm4/mod.rs - sm4 (line 4) ... ok [INFO] [stdout] test src/basic/util.rs - basic::util::four_u32_to_bytes (line 76) ... ok [INFO] [stdout] test src/sm3/mod.rs - sm3 (line 4) ... ok [INFO] [stdout] test src/sm2/mod.rs - sm2 (line 4) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26f1d62cc546ecf4bd1970d19b98f5ad56ca0ad1b509ff4fcf07cd1edc414a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f1d62cc546ecf4bd1970d19b98f5ad56ca0ad1b509ff4fcf07cd1edc414a36", kill_on_drop: false }` [INFO] [stdout] 26f1d62cc546ecf4bd1970d19b98f5ad56ca0ad1b509ff4fcf07cd1edc414a36