[INFO] cloning repository https://github.com/jeppeter/ecsimple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeppeter/ecsimple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppeter%2Fecsimple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppeter%2Fecsimple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c30f7ed856700a8539a67930624fcde0a0be1f63 [INFO] checking jeppeter/ecsimple against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppeter%2Fecsimple" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppeter/ecsimple on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppeter/ecsimple [INFO] finished tweaking git repo https://github.com/jeppeter/ecsimple [INFO] tweaked toml for git repo https://github.com/jeppeter/ecsimple written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.7.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e1f75909e695e00384a817c1871b45380e82159a1cf89c122d2e5ee23dba684 [INFO] running `Command { std: "docker" "start" "-a" "8e1f75909e695e00384a817c1871b45380e82159a1cf89c122d2e5ee23dba684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e1f75909e695e00384a817c1871b45380e82159a1cf89c122d2e5ee23dba684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1f75909e695e00384a817c1871b45380e82159a1cf89c122d2e5ee23dba684", kill_on_drop: false }` [INFO] [stdout] 8e1f75909e695e00384a817c1871b45380e82159a1cf89c122d2e5ee23dba684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef8a6951b3cd755f8b85510ee24dceeaac5e156783824968e1e4b8dd60500b30 [INFO] running `Command { std: "docker" "start" "-a" "ef8a6951b3cd755f8b85510ee24dceeaac5e156783824968e1e4b8dd60500b30", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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: 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: 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: 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: 10 warnings emitted [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "ef8a6951b3cd755f8b85510ee24dceeaac5e156783824968e1e4b8dd60500b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8a6951b3cd755f8b85510ee24dceeaac5e156783824968e1e4b8dd60500b30", kill_on_drop: false }` [INFO] [stdout] ef8a6951b3cd755f8b85510ee24dceeaac5e156783824968e1e4b8dd60500b30 [INFO] checking jeppeter/ecsimple against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppeter%2Fecsimple" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppeter/ecsimple on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppeter/ecsimple [INFO] finished tweaking git repo https://github.com/jeppeter/ecsimple [INFO] tweaked toml for git repo https://github.com/jeppeter/ecsimple written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.7.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.76) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c8f09a7fa0d8961798154d28c08d43fcfeb6908f2c1e223e57ccc381c084470 [INFO] running `Command { std: "docker" "start" "-a" "8c8f09a7fa0d8961798154d28c08d43fcfeb6908f2c1e223e57ccc381c084470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c8f09a7fa0d8961798154d28c08d43fcfeb6908f2c1e223e57ccc381c084470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8f09a7fa0d8961798154d28c08d43fcfeb6908f2c1e223e57ccc381c084470", kill_on_drop: false }` [INFO] [stdout] 8c8f09a7fa0d8961798154d28c08d43fcfeb6908f2c1e223e57ccc381c084470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7e5da5f2de8a1ed604fca210c53e532748d3846da1e38303ecede6295e31875 [INFO] running `Command { std: "docker" "start" "-a" "d7e5da5f2de8a1ed604fca210c53e532748d3846da1e38303ecede6295e31875", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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: 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/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: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: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: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: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: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: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: 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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fileop.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 16 | let ores = std::fs::File::open(name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let f = ores.unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(RandFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | f : f, [INFO] [stdout] 24 | | fname : format!("{}",name), [INFO] [stdout] 25 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fileop.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 16 | let ores = std::fs::File::open(name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let f = ores.unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Ok(RandFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 23 | | f : f, [INFO] [stdout] 24 | | fname : format!("{}",name), [INFO] [stdout] 25 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ecsimple` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ecsimple` (lib) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7e5da5f2de8a1ed604fca210c53e532748d3846da1e38303ecede6295e31875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e5da5f2de8a1ed604fca210c53e532748d3846da1e38303ecede6295e31875", kill_on_drop: false }` [INFO] [stdout] d7e5da5f2de8a1ed604fca210c53e532748d3846da1e38303ecede6295e31875