[INFO] fetching crate ecsimple 0.1.0... [INFO] checking ecsimple-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate ecsimple 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ecsimple 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ecsimple 0.1.0 [INFO] finished tweaking crates.io crate ecsimple 0.1.0 [INFO] tweaked toml for crates.io crate ecsimple 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded asn1obj_codegen v0.1.0 [INFO] [stderr] Downloaded asn1obj v0.1.6 [INFO] [stderr] Downloaded sm3 v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eb9c9a8e00e9c5fd6382f80e5e5e7bc6a45eaec18714d0b73abfba53ce10101 [INFO] running `Command { std: "docker" "start" "-a" "8eb9c9a8e00e9c5fd6382f80e5e5e7bc6a45eaec18714d0b73abfba53ce10101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eb9c9a8e00e9c5fd6382f80e5e5e7bc6a45eaec18714d0b73abfba53ce10101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb9c9a8e00e9c5fd6382f80e5e5e7bc6a45eaec18714d0b73abfba53ce10101", kill_on_drop: false }` [INFO] [stdout] 8eb9c9a8e00e9c5fd6382f80e5e5e7bc6a45eaec18714d0b73abfba53ce10101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc3dfe7f1551b0e1e1b9ce85c439f9e54a70d4a4bdd6adfb4f8a4b17aa6bd41c [INFO] running `Command { std: "docker" "start" "-a" "dc3dfe7f1551b0e1e1b9ce85c439f9e54a70d4a4bdd6adfb4f8a4b17aa6bd41c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling asn1obj_codegen v0.1.0 [INFO] [stderr] Checking asn1obj v0.1.6 [INFO] [stderr] Checking ecsimple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ecsimple_new_error` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / macro_rules! ecsimple_new_error { [INFO] [stdout] 29 | | ($type:ty,$($a:expr),*) => { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let mut c :String= format!("[{}:{}][{}]",file!(),line!(),stringify!($type)); [INFO] [stdout] ... | [INFO] [stdout] 35 | | }; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- the item `ecsimple_new_error` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_error_class` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / macro_rules! ecsimple_error_class { [INFO] [stdout] 5 | | ($type:ident) => { [INFO] [stdout] 6 | | #[derive(Debug,Clone)] [INFO] [stdout] 7 | | pub struct $type { [INFO] [stdout] ... | [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- the item `ecsimple_error_class` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/randop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/randop.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | retv[(rnbytes - 1)] |= 1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - retv[(rnbytes - 1)] |= 1; [INFO] [stdout] 165 + retv[rnbytes - 1] |= 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] 498 + retv.data[jdx - (n as usize)] ^= ( zz >> d0) as BValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] 501 + retv.data[jdx - (n as usize) - 1] ^= zz << d1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 549 - retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] 549 + retv.data[n as usize] ^= zz << d0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] 684 + retvdata[kidx - addi as usize] |= self.data[kidx] >> addb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] 685 + retvdata[kidx - addi as usize - 1] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 690 - retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] 690 + retvdata[kidx- addi as usize] |= self.data[kidx]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/group.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/point.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_new_error` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / macro_rules! ecsimple_new_error { [INFO] [stdout] 29 | | ($type:ty,$($a:expr),*) => { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let mut c :String= format!("[{}:{}][{}]",file!(),line!(),stringify!($type)); [INFO] [stdout] ... | [INFO] [stdout] 35 | | }; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- the item `ecsimple_new_error` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_error_class` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / macro_rules! ecsimple_error_class { [INFO] [stdout] 5 | | ($type:ident) => { [INFO] [stdout] 6 | | #[derive(Debug,Clone)] [INFO] [stdout] 7 | | pub struct $type { [INFO] [stdout] ... | [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- the item `ecsimple_error_class` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/randop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/randop.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | retv[(rnbytes - 1)] |= 1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - retv[(rnbytes - 1)] |= 1; [INFO] [stdout] 165 + retv[rnbytes - 1] |= 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] 498 + retv.data[jdx - (n as usize)] ^= ( zz >> d0) as BValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] 501 + retv.data[jdx - (n as usize) - 1] ^= zz << d1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 549 - retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] 549 + retv.data[n as usize] ^= zz << d0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] 684 + retvdata[kidx - addi as usize] |= self.data[kidx] >> addb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] 685 + retvdata[kidx - addi as usize - 1] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 690 - retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] 690 + retvdata[kidx- addi as usize] |= self.data[kidx]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/group.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/point.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/group.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub (crate) trait ECGroupInterface { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 23 | fn x(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 24 | fn y(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 25 | fn z(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | bs = bn2.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/keys.rs:1088:14 [INFO] [stdout] | [INFO] [stdout] 1088 | idvec = idv.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/group.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub (crate) trait ECGroupInterface { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 23 | fn x(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 24 | fn y(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 25 | fn z(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | bs = bn2.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/keys.rs:1088:14 [INFO] [stdout] | [INFO] [stdout] 1088 | idvec = idv.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `Command { std: "docker" "inspect" "dc3dfe7f1551b0e1e1b9ce85c439f9e54a70d4a4bdd6adfb4f8a4b17aa6bd41c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3dfe7f1551b0e1e1b9ce85c439f9e54a70d4a4bdd6adfb4f8a4b17aa6bd41c", kill_on_drop: false }` [INFO] [stdout] dc3dfe7f1551b0e1e1b9ce85c439f9e54a70d4a4bdd6adfb4f8a4b17aa6bd41c [INFO] checking ecsimple-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate ecsimple 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ecsimple 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ecsimple 0.1.0 [INFO] finished tweaking crates.io crate ecsimple 0.1.0 [INFO] tweaked toml for crates.io crate ecsimple 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be3f0be23241b4ee61ddfb506047a4547c42a23d33b6cc94aff8f3611477dc5e [INFO] running `Command { std: "docker" "start" "-a" "be3f0be23241b4ee61ddfb506047a4547c42a23d33b6cc94aff8f3611477dc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be3f0be23241b4ee61ddfb506047a4547c42a23d33b6cc94aff8f3611477dc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3f0be23241b4ee61ddfb506047a4547c42a23d33b6cc94aff8f3611477dc5e", kill_on_drop: false }` [INFO] [stdout] be3f0be23241b4ee61ddfb506047a4547c42a23d33b6cc94aff8f3611477dc5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2d3f89975ca9fbf6f078e73b87cc83c1f89e9b79410c38fd087fdef417bce1 [INFO] running `Command { std: "docker" "start" "-a" "4f2d3f89975ca9fbf6f078e73b87cc83c1f89e9b79410c38fd087fdef417bce1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling asn1obj_codegen v0.1.0 [INFO] [stderr] Checking asn1obj v0.1.6 [INFO] [stderr] Checking ecsimple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ecsimple_new_error` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / macro_rules! ecsimple_new_error { [INFO] [stdout] 29 | | ($type:ty,$($a:expr),*) => { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let mut c :String= format!("[{}:{}][{}]",file!(),line!(),stringify!($type)); [INFO] [stdout] ... | [INFO] [stdout] 35 | | }; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- the item `ecsimple_new_error` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_error_class` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / macro_rules! ecsimple_error_class { [INFO] [stdout] 5 | | ($type:ident) => { [INFO] [stdout] 6 | | #[derive(Debug,Clone)] [INFO] [stdout] 7 | | pub struct $type { [INFO] [stdout] ... | [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- the item `ecsimple_error_class` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/randop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/randop.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | retv[(rnbytes - 1)] |= 1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - retv[(rnbytes - 1)] |= 1; [INFO] [stdout] 165 + retv[rnbytes - 1] |= 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] 498 + retv.data[jdx - (n as usize)] ^= ( zz >> d0) as BValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] 501 + retv.data[jdx - (n as usize) - 1] ^= zz << d1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 549 - retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] 549 + retv.data[n as usize] ^= zz << d0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] 684 + retvdata[kidx - addi as usize] |= self.data[kidx] >> addb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] 685 + retvdata[kidx - addi as usize - 1] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 690 - retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] 690 + retvdata[kidx- addi as usize] |= self.data[kidx]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/group.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/point.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_new_error` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / macro_rules! ecsimple_new_error { [INFO] [stdout] 29 | | ($type:ty,$($a:expr),*) => { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let mut c :String= format!("[{}:{}][{}]",file!(),line!(),stringify!($type)); [INFO] [stdout] ... | [INFO] [stdout] 35 | | }; [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- the item `ecsimple_new_error` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecsimple_error_class` is imported redundantly [INFO] [stdout] --> src/fileop.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ecsimple_new_error,ecsimple_error_class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/errors.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / macro_rules! ecsimple_error_class { [INFO] [stdout] 5 | | ($type:ident) => { [INFO] [stdout] 6 | | #[derive(Debug,Clone)] [INFO] [stdout] 7 | | pub struct $type { [INFO] [stdout] ... | [INFO] [stdout] 24 | | }; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_- the item `ecsimple_error_class` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/randop.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/randop.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | retv[(rnbytes - 1)] |= 1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - retv[(rnbytes - 1)] |= 1; [INFO] [stdout] 165 + retv[rnbytes - 1] |= 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:498:15 [INFO] [stdout] | [INFO] [stdout] 498 | retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 498 - retv.data[(jdx - (n as usize))] ^= ( zz >> d0) as BValue; [INFO] [stdout] 498 + retv.data[jdx - (n as usize)] ^= ( zz >> d0) as BValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - retv.data[(jdx - (n as usize) - 1)] ^= zz << d1; [INFO] [stdout] 501 + retv.data[jdx - (n as usize) - 1] ^= zz << d1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 549 - retv.data[(n as usize)] ^= zz << d0; [INFO] [stdout] 549 + retv.data[n as usize] ^= zz << d0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:684:15 [INFO] [stdout] | [INFO] [stdout] 684 | retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 684 - retvdata[(kidx - addi as usize)] |= self.data[kidx] >> addb; [INFO] [stdout] 684 + retvdata[kidx - addi as usize] |= self.data[kidx] >> addb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:685:15 [INFO] [stdout] | [INFO] [stdout] 685 | retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - retvdata[(kidx - addi as usize - 1)] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] 685 + retvdata[kidx - addi as usize - 1] |= self.data[kidx] << ( BVALUE_BITS - addb as usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bngf2m.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 690 - retvdata[(kidx- addi as usize)] |= self.data[kidx]; [INFO] [stdout] 690 + retvdata[kidx- addi as usize] |= self.data[kidx]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/group.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/point.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/group.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub (crate) trait ECGroupInterface { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 23 | fn x(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 24 | fn y(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 25 | fn z(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | bs = bn2.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/keys.rs:1088:14 [INFO] [stdout] | [INFO] [stdout] 1088 | idvec = idv.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/group.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub (crate) trait ECGroupInterface { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] 23 | fn x(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 24 | fn y(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] 25 | fn z(&self) -> BigInt ; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/utils.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | bs = bn2.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/keys.rs:1088:14 [INFO] [stdout] | [INFO] [stdout] 1088 | idvec = idv.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.19s [INFO] running `Command { std: "docker" "inspect" "4f2d3f89975ca9fbf6f078e73b87cc83c1f89e9b79410c38fd087fdef417bce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2d3f89975ca9fbf6f078e73b87cc83c1f89e9b79410c38fd087fdef417bce1", kill_on_drop: false }` [INFO] [stdout] 4f2d3f89975ca9fbf6f078e73b87cc83c1f89e9b79410c38fd087fdef417bce1