[INFO] fetching crate pixel-sig 0.4.0... [INFO] testing pixel-sig-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pixel-sig 0.4.0 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pixel-sig 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded amcl_wrapper v0.3.5 [INFO] [stderr] Downloaded secret_sharing v0.2.0 [INFO] [stderr] Downloaded miracl_amcl v3.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20b98fc5ca96ab55781f32785e4ea89a4ddab9aae532d0d64f5d403533520bc8 [INFO] running `Command { std: "docker" "start" "-a" "20b98fc5ca96ab55781f32785e4ea89a4ddab9aae532d0d64f5d403533520bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20b98fc5ca96ab55781f32785e4ea89a4ddab9aae532d0d64f5d403533520bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b98fc5ca96ab55781f32785e4ea89a4ddab9aae532d0d64f5d403533520bc8", kill_on_drop: false }` [INFO] [stdout] 20b98fc5ca96ab55781f32785e4ea89a4ddab9aae532d0d64f5d403533520bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a26595df8c8cc0f93d027a946b4dc4bebb65357415a3508f3d24f053bfa58b9e [INFO] running `Command { std: "docker" "start" "-a" "a26595df8c8cc0f93d027a946b4dc4bebb65357415a3508f3d24f053bfa58b9e", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling miracl_amcl v3.2.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling amcl_wrapper v0.3.5 [INFO] [stderr] Compiling secret_sharing v0.2.0 [INFO] [stderr] Compiling 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.36s [INFO] running `Command { std: "docker" "inspect" "a26595df8c8cc0f93d027a946b4dc4bebb65357415a3508f3d24f053bfa58b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26595df8c8cc0f93d027a946b4dc4bebb65357415a3508f3d24f053bfa58b9e", kill_on_drop: false }` [INFO] [stdout] a26595df8c8cc0f93d027a946b4dc4bebb65357415a3508f3d24f053bfa58b9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e19b36253aa325acca9f131d36e3e8bc9b98faffe79fd4cef332a69978fcee47 [INFO] running `Command { std: "docker" "start" "-a" "e19b36253aa325acca9f131d36e3e8bc9b98faffe79fd4cef332a69978fcee47", kill_on_drop: false }` [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] [stderr] Compiling pixel-sig v0.4.0 (/opt/rustwide/workdir) [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 `#[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 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 `test` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "e19b36253aa325acca9f131d36e3e8bc9b98faffe79fd4cef332a69978fcee47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19b36253aa325acca9f131d36e3e8bc9b98faffe79fd4cef332a69978fcee47", kill_on_drop: false }` [INFO] [stdout] e19b36253aa325acca9f131d36e3e8bc9b98faffe79fd4cef332a69978fcee47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a23977068a359eb90b3ab5036d1bab0025b5de0b9c3fcec5769e8f45dbefef60 [INFO] running `Command { std: "docker" "start" "-a" "a23977068a359eb90b3ab5036d1bab0025b5de0b9c3fcec5769e8f45dbefef60", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `failure::Error` [INFO] [stderr] --> src/errors.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use failure::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/keys.rs:243:40 [INFO] [stderr] | [INFO] [stderr] 243 | sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 243 - sk_right_prime_prime[0] += (&path_factor * &r); [INFO] [stderr] 243 + sk_right_prime_prime[0] += &path_factor * &r; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/keys.rs:393:14 [INFO] [stderr] | [INFO] [stderr] 393 | d += (&path_factor * &r); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 393 - d += (&path_factor * &r); [INFO] [stderr] 393 + d += &path_factor * &r; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `from_node_num_to_path` [INFO] [stderr] --> src/signature.rs:9:52 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::util::{calculate_path_factor_using_t_l, from_node_num_to_path, GeneratorSet}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `amcl_wrapper::field_elem::FieldElement` [INFO] [stderr] --> src/util.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use amcl_wrapper::field_elem::FieldElement; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GroupElementVector` [INFO] [stderr] --> src/keys.rs:5:46 [INFO] [stderr] | [INFO] [stderr] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GroupElement` [INFO] [stderr] --> src/threshold_sig.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use amcl_wrapper::group_elem::{GroupElement, GroupElementVector}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `T` is never read [INFO] [stderr] --> src/keys.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 175 | pub struct SigkeyManager { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 176 | l: u8, [INFO] [stderr] 177 | T: u128, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PixelError` [INFO] [stderr] 13 | pub enum PixelError { [INFO] [stderr] | ---------- `PixelError` 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/errors.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Fail)] [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_PixelError` [INFO] [stderr] 13 | pub enum PixelError { [INFO] [stderr] | ---------- `PixelError` 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: constant `PrefixPoP` should have an upper case name [INFO] [stderr] --> src/keys.rs:93:7 [INFO] [stderr] | [INFO] [stderr] 93 | const PrefixPoP: &[u8] = b"PoP"; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `PREFIX_PO_P` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/keys.rs:486:21 [INFO] [stderr] | [INFO] [stderr] 486 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/signature.rs:217:21 [INFO] [stderr] | [INFO] [stderr] 217 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stderr] --> src/threshold_sig.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | use rand::rngs::ThreadRng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set1` [INFO] [stderr] --> src/keys.rs:531:20 [INFO] [stderr] | [INFO] [stderr] 531 | let (_, _, set1, _) = setup::(T1, "test_pixel", &mut rng, &mut db1).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_set1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set2` [INFO] [stderr] --> src/keys.rs:538:20 [INFO] [stderr] | [INFO] [stderr] 538 | let (_, _, set2, _) = setup::(T2, "test_pixel", &mut rng, &mut db2).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_set2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/keys.rs:740:13 [INFO] [stderr] | [INFO] [stderr] 740 | let l = calculate_l(T).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/keys.rs:742:17 [INFO] [stderr] | [INFO] [stderr] 742 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/keys.rs:793:17 [INFO] [stderr] | [INFO] [stderr] 793 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set` [INFO] [stderr] --> src/signature.rs:220:9 [INFO] [stderr] | [INFO] [stderr] 220 | set: &SigkeyManager, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/signature.rs:417:17 [INFO] [stderr] | [INFO] [stderr] 417 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/signature.rs:470:17 [INFO] [stderr] | [INFO] [stderr] 470 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/signature.rs:490:17 [INFO] [stderr] | [INFO] [stderr] 490 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `t` is never read [INFO] [stderr] --> src/signature.rs:528:17 [INFO] [stderr] | [INFO] [stderr] 528 | let mut t = 1u128; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `secret_x` [INFO] [stderr] --> src/threshold_sig.rs:240:14 [INFO] [stderr] | [INFO] [stderr] 240 | let (secret_x, signers) = trusted_party_SSS_keygen(threshold, total, &mut rng, &generators.0, &generators.1).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_x` [INFO] [stderr] [INFO] [stderr] warning: `pixel-sig` (lib) generated 12 warnings (run `cargo fix --lib -p pixel-sig` to apply 5 suggestions) [INFO] [stderr] warning: `pixel-sig` (lib test) generated 26 warnings (12 duplicates) (run `cargo fix --lib -p pixel-sig --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pixel_sig-ecaf1bea15d0d9fa) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test keys::tests::test_fast_forward_key_update_through_simple_key_update_7 ... ok [INFO] [stdout] test keys::tests::test_proof_of_possession ... ok [INFO] [stdout] test keys::tests::test_setup ... ok [INFO] [stdout] test keys::tests::test_simple_key_update_15 ... ok [INFO] [stdout] test keys::tests::test_setup_with_less_number_of_genertors ... ok [INFO] [stdout] test keys::tests::test_simple_key_update_7 ... ok [INFO] [stdout] test keys::tests::test_fast_forward_key_update_15 ... ok [INFO] [stdout] test keys::tests::test_fast_forward_key_update_7 ... ok [INFO] [stdout] test keys::tests::test_fast_forward_key_update_repeat_7 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_initial ... ok [INFO] [stdout] test signature::tests::test_aggr_sig_verify ... ok [INFO] [stdout] test signature::tests::test_sig_deterministic ... ok [INFO] [stdout] test keys::tests::timing_simple_key_update_65535 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_fast_forward_update_repeat_15 ... ok [INFO] [stdout] test keys::tests::timing_simple_key_update_1048575 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_fast_forward_update_repeat_7 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_fast_forward_update_7 ... ok [INFO] [stdout] test keys::tests::timing_fast_forward_key_update_65535 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_simple_update_by_7 ... ok [INFO] [stdout] test threshold_sig::tests::test_verkey_aggregation_gaps_in_ids_shamir_secret_sharing_keygen ... ok [INFO] [stdout] test util::tests::test_calculate_l ... ok [INFO] [stdout] test util::tests::test_from_node_num_to_path ... ok [INFO] [stdout] test util::tests::test_node_successors_15 ... ok [INFO] [stdout] test util::tests::test_node_successors_7 ... ok [INFO] [stdout] test util::tests::test_path_to_node_num ... ok [INFO] [stdout] test threshold_sig::tests::test_verkey_aggregation_shamir_secret_sharing_keygen ... ok [INFO] [stdout] test keys::tests::timing_fast_forward_key_update_1048575 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_simple_update_by_15 ... ok [INFO] [stdout] test signature::tests::timing_sig_verify_post_update_65535 ... ok [INFO] [stdout] test signature::tests::test_sig_verify_post_fast_forward_update_repeat_65535 ... ok [INFO] [stdout] test threshold_sig::tests::test_sign_verify_shamir_secret_sharing_keygen ... ok [INFO] [stdout] test signature::tests::timing_sig_verify_post_update_1048575 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 62.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a23977068a359eb90b3ab5036d1bab0025b5de0b9c3fcec5769e8f45dbefef60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23977068a359eb90b3ab5036d1bab0025b5de0b9c3fcec5769e8f45dbefef60", kill_on_drop: false }` [INFO] [stdout] a23977068a359eb90b3ab5036d1bab0025b5de0b9c3fcec5769e8f45dbefef60