[INFO] cloning repository https://github.com/dingxiangfei2009/udarnik [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dingxiangfei2009/udarnik" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10803628f875041ac3051116185eae0898556f14 [INFO] checking dingxiangfei2009/udarnik against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingxiangfei2009/udarnik on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dingxiangfei2009/udarnik [INFO] finished tweaking git repo https://github.com/dingxiangfei2009/udarnik [INFO] tweaked toml for git repo https://github.com/dingxiangfei2009/udarnik written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dingxiangfei2009/udarnik already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.14 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded cc v1.0.35 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded backtrace v0.3.15 [INFO] [stderr] Downloaded syn v0.15.32 [INFO] [stderr] Downloaded libc v0.2.51 [INFO] [stderr] Downloaded subtle v2.0.0 [INFO] [stderr] Downloaded curve25519-dalek v1.1.3 [INFO] [stderr] Downloaded sha3 v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5967791b01b954163c6b3e798761dbf10a2ac64ddc233309b3ed8b6d0311d97 [INFO] running `Command { std: "docker" "start" "-a" "d5967791b01b954163c6b3e798761dbf10a2ac64ddc233309b3ed8b6d0311d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5967791b01b954163c6b3e798761dbf10a2ac64ddc233309b3ed8b6d0311d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5967791b01b954163c6b3e798761dbf10a2ac64ddc233309b3ed8b6d0311d97", kill_on_drop: false }` [INFO] [stdout] d5967791b01b954163c6b3e798761dbf10a2ac64ddc233309b3ed8b6d0311d97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ba89a172b0d1b5e1f052d69cad6dd6dbaf320e7f9ec19685344c27434b8141 [INFO] running `Command { std: "docker" "start" "-a" "70ba89a172b0d1b5e1f052d69cad6dd6dbaf320e7f9ec19685344c27434b8141", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling subtle v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking opaque-debug v0.2.2 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v1.1.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking udarnik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `edwards::EdwardsPoint`, `scalar::Scalar`, `traits::Identity` [INFO] [stdout] --> src/pvss/dleq.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | constants::ED25519_BASEPOINT_POINT, edwards::EdwardsPoint, scalar::Scalar, traits::Identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pvss/mod.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | mut poll, [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/pvss/mod.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | mut poll, [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: function `ed25519_base_mul` is never used [INFO] [stdout] --> src/pvss/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn ed25519_base_mul(s: &Scalar) -> EdwardsPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scalar` is never used [INFO] [stdout] --> src/pvss/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn random_scalar(rng: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ZeroCustodianId` and `InvalidCustodianId` are never constructed [INFO] [stdout] --> src/pvss/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | ZeroCustodianId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[fail(display = "custodian id is invalid")] [INFO] [stdout] 36 | InvalidCustodianId(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polynomial` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Polynomial(Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `eval` are never used [INFO] [stdout] --> src/pvss/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Polynomial { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 54 | /// A polynomial with coefficients in Ed25519 [INFO] [stdout] 55 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn eval(&self, x: &Scalar) -> Scalar { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shard` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Shard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Shard { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 125 | pub fn new(p: &Polynomial, id: u64, key: &EdwardsPoint) -> (Self, Scalar) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Seed` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Seed(Scalar); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Seed { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 135 | fn new(rng: &mut R) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignedSeed` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct SignedSeed(EdwardsPoint); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl SignedSeed { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(seed: &Seed, base: &EdwardsPoint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Commits { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 153 | fn new(p: &Polynomial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Challenge` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Challenge(Scalar); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Challenge { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 161 | fn new(commits: &Commits, dealer_signed_seeds: &[SignedSeed], shards: &[Shard]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Responses` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Responses(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Responses { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 182 | fn new(challenge: &Challenge, seeds: &[Seed], secret_shards: &[Scalar]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl ShardsWithProof { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 217 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl CustodianDecryption { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 318 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 343 | impl CustodianProof { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 344 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recover_secret` is never used [INFO] [stdout] --> src/pvss/mod.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn recover_secret(poll: Verified) -> EdwardsPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCustodianId` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidCustodianId(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `Command { std: "docker" "inspect" "70ba89a172b0d1b5e1f052d69cad6dd6dbaf320e7f9ec19685344c27434b8141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ba89a172b0d1b5e1f052d69cad6dd6dbaf320e7f9ec19685344c27434b8141", kill_on_drop: false }` [INFO] [stdout] 70ba89a172b0d1b5e1f052d69cad6dd6dbaf320e7f9ec19685344c27434b8141 [INFO] checking dingxiangfei2009/udarnik against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingxiangfei2009/udarnik on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dingxiangfei2009/udarnik [INFO] finished tweaking git repo https://github.com/dingxiangfei2009/udarnik [INFO] tweaked toml for git repo https://github.com/dingxiangfei2009/udarnik written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dingxiangfei2009/udarnik already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f67bfe2037ad9883aeb86a7f98b517334deb1180ff45bcdbd65ac149d759309 [INFO] running `Command { std: "docker" "start" "-a" "1f67bfe2037ad9883aeb86a7f98b517334deb1180ff45bcdbd65ac149d759309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f67bfe2037ad9883aeb86a7f98b517334deb1180ff45bcdbd65ac149d759309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f67bfe2037ad9883aeb86a7f98b517334deb1180ff45bcdbd65ac149d759309", kill_on_drop: false }` [INFO] [stdout] 1f67bfe2037ad9883aeb86a7f98b517334deb1180ff45bcdbd65ac149d759309 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86886a3c75d4c60adf0b9a9f886cd1dbf1038104ab845e029423c67f30d285ed [INFO] running `Command { std: "docker" "start" "-a" "86886a3c75d4c60adf0b9a9f886cd1dbf1038104ab845e029423c67f30d285ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling subtle v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking opaque-debug v0.2.2 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v1.1.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking udarnik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `edwards::EdwardsPoint`, `scalar::Scalar`, `traits::Identity` [INFO] [stdout] --> src/pvss/dleq.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | constants::ED25519_BASEPOINT_POINT, edwards::EdwardsPoint, scalar::Scalar, traits::Identity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pvss/mod.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | mut poll, [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: function `ed25519_base_mul` is never used [INFO] [stdout] --> src/pvss/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn ed25519_base_mul(s: &Scalar) -> EdwardsPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scalar` is never used [INFO] [stdout] --> src/pvss/mod.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn random_scalar(rng: &mut R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ZeroCustodianId` and `InvalidCustodianId` are never constructed [INFO] [stdout] --> src/pvss/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | ZeroCustodianId, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | #[fail(display = "custodian id is invalid")] [INFO] [stdout] 36 | InvalidCustodianId(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polynomial` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Polynomial(Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `eval` are never used [INFO] [stdout] --> src/pvss/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Polynomial { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 54 | /// A polynomial with coefficients in Ed25519 [INFO] [stdout] 55 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn eval(&self, x: &Scalar) -> Scalar { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shard` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Shard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Shard { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 125 | pub fn new(p: &Polynomial, id: u64, key: &EdwardsPoint) -> (Self, Scalar) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Seed` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Seed(Scalar); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 134 | impl Seed { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 135 | fn new(rng: &mut R) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignedSeed` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct SignedSeed(EdwardsPoint); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl SignedSeed { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(seed: &Seed, base: &EdwardsPoint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Commits { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 153 | fn new(p: &Polynomial) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Challenge` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Challenge(Scalar); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Challenge { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 161 | fn new(commits: &Commits, dealer_signed_seeds: &[SignedSeed], shards: &[Shard]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Responses` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Responses(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Responses { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 182 | fn new(challenge: &Challenge, seeds: &[Seed], secret_shards: &[Scalar]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl ShardsWithProof { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 217 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 317 | impl CustodianDecryption { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 318 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pvss/mod.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 343 | impl CustodianProof { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 344 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recover_secret` is never used [INFO] [stdout] --> src/pvss/mod.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn recover_secret(poll: Verified) -> EdwardsPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udarnik` (lib) due to 5 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pvss/mod.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | mut poll, [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: variant `InvalidCustodianId` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidCustodianId(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udarnik` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86886a3c75d4c60adf0b9a9f886cd1dbf1038104ab845e029423c67f30d285ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86886a3c75d4c60adf0b9a9f886cd1dbf1038104ab845e029423c67f30d285ed", kill_on_drop: false }` [INFO] [stdout] 86886a3c75d4c60adf0b9a9f886cd1dbf1038104ab845e029423c67f30d285ed