[INFO] fetching crate pixel-sig 0.4.0... [INFO] checking pixel-sig-0.4.0 against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] extracting crate pixel-sig 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate pixel-sig 0.4.0 on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pixel-sig 0.4.0 [INFO] finished tweaking crates.io crate pixel-sig 0.4.0 [INFO] tweaked toml for crates.io crate pixel-sig 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding amcl_wrapper v0.3.5 (available: v0.4.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miracl_amcl v3.2.5 [INFO] [stderr] Downloaded secret_sharing v0.2.0 [INFO] [stderr] Downloaded amcl_wrapper v0.3.5 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6470d400a6fb50e2fc2cc827a36b016f200bf3a992102f4e1dec32c6faba34a6 [INFO] running `Command { std: "docker" "start" "-a" "6470d400a6fb50e2fc2cc827a36b016f200bf3a992102f4e1dec32c6faba34a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6470d400a6fb50e2fc2cc827a36b016f200bf3a992102f4e1dec32c6faba34a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6470d400a6fb50e2fc2cc827a36b016f200bf3a992102f4e1dec32c6faba34a6", kill_on_drop: false }` [INFO] [stdout] 6470d400a6fb50e2fc2cc827a36b016f200bf3a992102f4e1dec32c6faba34a6 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cbfa0aebece24dfec6891163fc7069a294eb44f451882a3e1abe8b6f44b99db [INFO] running `Command { std: "docker" "start" "-a" "8cbfa0aebece24dfec6891163fc7069a294eb44f451882a3e1abe8b6f44b99db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking miracl_amcl v3.2.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking amcl_wrapper v0.3.5 [INFO] [stderr] Checking secret_sharing v0.2.0 [INFO] [stderr] Checking pixel-sig v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/keys.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stdout] 243 + sk_right_prime_prime[0] += &path_factor * &r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/keys.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | d += (&path_factor * &r); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 393 - d += (&path_factor * &r); [INFO] [stdout] 393 + d += &path_factor * &r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/keys.rs:486:21 [INFO] [stdout] | [INFO] [stdout] 486 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_node_num_to_path` [INFO] [stdout] --> src/signature.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::util::{calculate_path_factor_using_t_l, from_node_num_to_path, GeneratorSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/signature.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl_wrapper::field_elem::FieldElement` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use amcl_wrapper::field_elem::FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/threshold_sig.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/keys.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stdout] 243 + sk_right_prime_prime[0] += &path_factor * &r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/keys.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | d += (&path_factor * &r); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 393 - d += (&path_factor * &r); [INFO] [stdout] 393 + d += &path_factor * &r; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_node_num_to_path` [INFO] [stdout] --> src/signature.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::util::{calculate_path_factor_using_t_l, from_node_num_to_path, GeneratorSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl_wrapper::field_elem::FieldElement` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use amcl_wrapper::field_elem::FieldElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupElementVector` [INFO] [stdout] --> src/keys.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupElement` [INFO] [stdout] --> src/threshold_sig.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `T` is never read [INFO] [stdout] --> src/keys.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct SigkeyManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 176 | l: u8, [INFO] [stdout] 177 | T: u128, [INFO] [stdout] | ^ [INFO] [stdout] | [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/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PixelError` [INFO] [stdout] 13 | pub enum PixelError { [INFO] [stdout] | ---------- `PixelError` 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/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [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_PixelError` [INFO] [stdout] 13 | pub enum PixelError { [INFO] [stdout] | ---------- `PixelError` 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: constant `PrefixPoP` should have an upper case name [INFO] [stdout] --> src/keys.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | const PrefixPoP: &[u8] = b"PoP"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PREFIX_PO_P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupElementVector` [INFO] [stdout] --> src/keys.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupElement` [INFO] [stdout] --> src/threshold_sig.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set1` [INFO] [stdout] --> src/keys.rs:531:20 [INFO] [stdout] | [INFO] [stdout] 531 | let (_, _, set1, _) = setup::(T1, "test_pixel", &mut rng, &mut db1).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_set1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set2` [INFO] [stdout] --> src/keys.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | let (_, _, set2, _) = setup::(T2, "test_pixel", &mut rng, &mut db2).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_set2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/keys.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | let l = calculate_l(T).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/keys.rs:742:17 [INFO] [stdout] | [INFO] [stdout] 742 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/keys.rs:793:17 [INFO] [stdout] | [INFO] [stdout] 793 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/signature.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | set: &SigkeyManager, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/signature.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/signature.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/signature.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/signature.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let mut t = 1u128; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_x` [INFO] [stdout] --> src/threshold_sig.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | let (secret_x, signers) = trusted_party_SSS_keygen(threshold, total, &mut rng, &generators.0, &generators.1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `T` is never read [INFO] [stdout] --> src/keys.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct SigkeyManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 176 | l: u8, [INFO] [stdout] 177 | T: u128, [INFO] [stdout] | ^ [INFO] [stdout] | [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/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PixelError` [INFO] [stdout] 13 | pub enum PixelError { [INFO] [stdout] | ---------- `PixelError` 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/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [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_PixelError` [INFO] [stdout] 13 | pub enum PixelError { [INFO] [stdout] | ---------- `PixelError` 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: constant `PrefixPoP` should have an upper case name [INFO] [stdout] --> src/keys.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | const PrefixPoP: &[u8] = b"PoP"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `PREFIX_PO_P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.76s [INFO] running `Command { std: "docker" "inspect" "8cbfa0aebece24dfec6891163fc7069a294eb44f451882a3e1abe8b6f44b99db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbfa0aebece24dfec6891163fc7069a294eb44f451882a3e1abe8b6f44b99db", kill_on_drop: false }` [INFO] [stdout] 8cbfa0aebece24dfec6891163fc7069a294eb44f451882a3e1abe8b6f44b99db