[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 try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdingxiangfei2009%2Fudarnik" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dingxiangfei2009/udarnik on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05c8884d6ebb5860b8abd4a897313169d948f2bd3fd7a1a200bd1ec7e51182b7 [INFO] running `Command { std: "docker" "start" "-a" "05c8884d6ebb5860b8abd4a897313169d948f2bd3fd7a1a200bd1ec7e51182b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05c8884d6ebb5860b8abd4a897313169d948f2bd3fd7a1a200bd1ec7e51182b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c8884d6ebb5860b8abd4a897313169d948f2bd3fd7a1a200bd1ec7e51182b7", kill_on_drop: false }` [INFO] [stdout] 05c8884d6ebb5860b8abd4a897313169d948f2bd3fd7a1a200bd1ec7e51182b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7447bf3cad607961dba1125ff470e36f7301067edb44d8fc80360efec610efee [INFO] running `Command { std: "docker" "start" "-a" "7447bf3cad607961dba1125ff470e36f7301067edb44d8fc80360efec610efee", 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] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling subtle v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [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 rand_core v0.3.1 [INFO] [stderr] Checking block-padding v0.1.4 [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] Checking keccak 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Verified` is never constructed [INFO] [stdout] --> src/common.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Verified(T); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/common.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Verified { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 6 | pub fn inner(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Verifiable` is never used [INFO] [stdout] --> src/common.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Verifiable: Sized { [INFO] [stdout] | ^^^^^^^^^^ [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] [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: function `u64_to_scalar` is never used [INFO] [stdout] --> src/pvss/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn u64_to_scalar(value: u64) -> Scalar { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/pvss/mod.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Error { [INFO] [stdout] | ^^^^^ [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 `Custodian` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Custodian { [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: struct `Commits` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct Commits(Vec); [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 `ShardWithProof` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct ShardWithProof { [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] [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: struct `DealerProof` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct DealerProof { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustodianDecryption` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct CustodianDecryption { [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: struct `CustodianProof` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct CustodianProof { [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: struct `Poll` is never constructed [INFO] [stdout] --> src/pvss/mod.rs:407:12 [INFO] [stdout] | [INFO] [stdout] 407 | pub struct Poll { [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: struct `Proof` is never constructed [INFO] [stdout] --> src/pvss/dleq.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Proof { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/pvss/dleq.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Error { [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `dev` profile [unoptimized + debuginfo] target(s) in 8.96s [INFO] running `Command { std: "docker" "inspect" "7447bf3cad607961dba1125ff470e36f7301067edb44d8fc80360efec610efee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7447bf3cad607961dba1125ff470e36f7301067edb44d8fc80360efec610efee", kill_on_drop: false }` [INFO] [stdout] 7447bf3cad607961dba1125ff470e36f7301067edb44d8fc80360efec610efee