[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] testing dingxiangfei2009/udarnik against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingxiangfei2009/udarnik on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-3-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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing dingxiangfei2009/udarnik against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dingxiangfei2009/udarnik on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-3-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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a859e3879352c88fb6f322319489b79b729726c3303a649b5462d10125d49ba3 [INFO] running `Command { std: "docker" "start" "-a" "a859e3879352c88fb6f322319489b79b729726c3303a649b5462d10125d49ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a859e3879352c88fb6f322319489b79b729726c3303a649b5462d10125d49ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a859e3879352c88fb6f322319489b79b729726c3303a649b5462d10125d49ba3", kill_on_drop: false }` [INFO] [stdout] a859e3879352c88fb6f322319489b79b729726c3303a649b5462d10125d49ba3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc2041ae8d416009a031897265a1562b4186fced632e3db87b989cb3a9d0da9 [INFO] running `Command { std: "docker" "start" "-a" "bfc2041ae8d416009a031897265a1562b4186fced632e3db87b989cb3a9d0da9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.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 failure_derive v0.1.5 [INFO] [stderr] Compiling subtle v2.0.0 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v1.1.3 [INFO] [stderr] Compiling sha3 v0.8.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling udarnik v0.1.0 (/opt/rustwide/workdir) [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: struct `ShardsWithProof` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ShardsWithProof { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShardsWithProof` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "bfc2041ae8d416009a031897265a1562b4186fced632e3db87b989cb3a9d0da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc2041ae8d416009a031897265a1562b4186fced632e3db87b989cb3a9d0da9", kill_on_drop: false }` [INFO] [stdout] bfc2041ae8d416009a031897265a1562b4186fced632e3db87b989cb3a9d0da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd4436ef2c278ad64dcaab83e1550c9cd5530c19e56b1c6975a5f5ade8438f71 [INFO] running `Command { std: "docker" "start" "-a" "cd4436ef2c278ad64dcaab83e1550c9cd5530c19e56b1c6975a5f5ade8438f71", kill_on_drop: false }` [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: struct `ShardsWithProof` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ShardsWithProof { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShardsWithProof` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Compiling udarnik v0.1.0 (/opt/rustwide/workdir) [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `edwards::EdwardsPoint`, `scalar::Scalar`, and `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: 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/mod.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pvss/dleq.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 33 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "cd4436ef2c278ad64dcaab83e1550c9cd5530c19e56b1c6975a5f5ade8438f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4436ef2c278ad64dcaab83e1550c9cd5530c19e56b1c6975a5f5ade8438f71", kill_on_drop: false }` [INFO] [stdout] cd4436ef2c278ad64dcaab83e1550c9cd5530c19e56b1c6975a5f5ade8438f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e5f4158a76c4ee7d337f5121a16eb6214b2999342fda48a6d19167f136f3e77 [INFO] running `Command { std: "docker" "start" "-a" "8e5f4158a76c4ee7d337f5121a16eb6214b2999342fda48a6d19167f136f3e77", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pvss/mod.rs:418:13 [INFO] [stderr] | [INFO] [stderr] 418 | mut poll, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `ed25519_base_mul` is never used [INFO] [stderr] --> src/pvss/mod.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn ed25519_base_mul(s: &Scalar) -> EdwardsPoint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `random_scalar` is never used [INFO] [stderr] --> src/pvss/mod.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn random_scalar(rng: &mut R) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `ZeroCustodianId` and `InvalidCustodianId` are never constructed [INFO] [stderr] --> src/pvss/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 34 | ZeroCustodianId, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | #[fail(display = "custodian id is invalid")] [INFO] [stderr] 36 | InvalidCustodianId(u64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Polynomial` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct Polynomial(Vec); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `eval` are never used [INFO] [stderr] --> src/pvss/mod.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 53 | impl Polynomial { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 54 | /// A polynomial with coefficients in Ed25519 [INFO] [stderr] 55 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | fn eval(&self, x: &Scalar) -> Scalar { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Shard` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct Shard { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 124 | impl Shard { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 125 | pub fn new(p: &Polynomial, id: u64, key: &EdwardsPoint) -> (Self, Scalar) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Seed` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct Seed(Scalar); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 134 | impl Seed { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 135 | fn new(rng: &mut R) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SignedSeed` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 140 | pub struct SignedSeed(EdwardsPoint); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 142 | impl SignedSeed { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 143 | pub fn new(seed: &Seed, base: &EdwardsPoint) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 152 | impl Commits { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 153 | fn new(p: &Polynomial) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Challenge` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | pub struct Challenge(Scalar); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 160 | impl Challenge { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 161 | fn new(commits: &Commits, dealer_signed_seeds: &[SignedSeed], shards: &[Shard]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Responses` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | pub struct Responses(Vec); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:182:8 [INFO] [stderr] | [INFO] [stderr] 181 | impl Responses { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 182 | fn new(challenge: &Challenge, seeds: &[Seed], secret_shards: &[Scalar]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ShardsWithProof` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:210:12 [INFO] [stderr] | [INFO] [stderr] 210 | pub struct ShardsWithProof { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ShardsWithProof` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:217:12 [INFO] [stderr] | [INFO] [stderr] 216 | impl ShardsWithProof { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 217 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:318:12 [INFO] [stderr] | [INFO] [stderr] 317 | impl CustodianDecryption { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 318 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/pvss/mod.rs:344:8 [INFO] [stderr] | [INFO] [stderr] 343 | impl CustodianProof { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 344 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `recover_secret` is never used [INFO] [stderr] --> src/pvss/mod.rs:450:8 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn recover_secret(poll: Verified) -> EdwardsPoint { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pvss/mod.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stderr] 28 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pvss/mod.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stderr] 28 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pvss/dleq.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stderr] 33 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pvss/dleq.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stderr] 33 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `edwards::EdwardsPoint`, `scalar::Scalar`, and `traits::Identity` [INFO] [stderr] --> src/pvss/dleq.rs:58:45 [INFO] [stderr] | [INFO] [stderr] 58 | constants::ED25519_BASEPOINT_POINT, edwards::EdwardsPoint, scalar::Scalar, traits::Identity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `InvalidCustodianId` is never constructed [INFO] [stderr] --> src/pvss/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum Error { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | InvalidCustodianId(u64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `udarnik` (lib) generated 26 warnings (run `cargo fix --lib -p udarnik` to apply 1 suggestion) [INFO] [stderr] warning: `udarnik` (lib test) generated 7 warnings (5 duplicates) (run `cargo fix --lib -p udarnik --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/udarnik-0d7f98c49882ac20) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test pvss::dleq::tests::it_works ... ok [INFO] [stdout] test pvss::tests::polynomial ... ok [INFO] [stdout] test pvss::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/udarnik-db325ac994f629dc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests udarnik [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e5f4158a76c4ee7d337f5121a16eb6214b2999342fda48a6d19167f136f3e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5f4158a76c4ee7d337f5121a16eb6214b2999342fda48a6d19167f136f3e77", kill_on_drop: false }` [INFO] [stdout] 8e5f4158a76c4ee7d337f5121a16eb6214b2999342fda48a6d19167f136f3e77