[INFO] cloning repository https://github.com/crashlabs-io/sleepyseal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crashlabs-io/sleepyseal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 599057efdcf2466360e075fb79e613dbf4ac89ec [INFO] testing crashlabs-io/sleepyseal against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crashlabs-io/sleepyseal [INFO] finished tweaking git repo https://github.com/crashlabs-io/sleepyseal [INFO] tweaked toml for git repo https://github.com/crashlabs-io/sleepyseal written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crashlabs-io/sleepyseal 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] crate git repo https://github.com/crashlabs-io/sleepyseal 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded serde-big-array v0.3.2 [INFO] [stderr] Downloaded flate2 v1.0.21 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded sha2 v0.9.6 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] [stderr] Downloaded bls12_381 v0.6.0 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 48da9b1d1cb13980531e1fbc17d706f966965230cd6c78353d58b96b81ef994a [INFO] running `Command { std: "docker" "start" "-a" "48da9b1d1cb13980531e1fbc17d706f966965230cd6c78353d58b96b81ef994a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48da9b1d1cb13980531e1fbc17d706f966965230cd6c78353d58b96b81ef994a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48da9b1d1cb13980531e1fbc17d706f966965230cd6c78353d58b96b81ef994a", kill_on_drop: false }` [INFO] [stdout] 48da9b1d1cb13980531e1fbc17d706f966965230cd6c78353d58b96b81ef994a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 14421f7a9712637ae8292d1e0f843bdf960a80fe6d3aa2a9b8d0d2a327941e25 [INFO] running `Command { std: "docker" "start" "-a" "14421f7a9712637ae8292d1e0f843bdf960a80fe6d3aa2a9b8d0d2a327941e25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.6 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling serde-big-array v0.3.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ff v0.11.0 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling pairing v0.21.0 [INFO] [stderr] Compiling bls12_381 v0.6.0 [INFO] [stderr] Compiling sleepyseal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/net.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/net.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/net.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mempool.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account = self.client_accounts.get_mut(&tx.client_origin).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/messages.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(|(a, b)| b.aggregate_signature.is_some()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | .map_err(|e| XError::GenericError)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | .map_err(|e| XError::GenericError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:161:54 [INFO] [stdout] | [INFO] [stdout] 161 | let summary = instance_state.lock().map_err(|e| XError::GenericError)?.current_round_data.summary(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_open` is never read [INFO] [stdout] --> src/driver.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DriverCore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | is_open: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instance` is never read [INFO] [stdout] --> src/mempool.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PendingTransaction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 26 | instance: InstanceID, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_server` is never used [INFO] [stdout] --> src/net.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | async fn main_server(address: &str) -> Result<(), Box> { [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/net.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_XError` [INFO] [stdout] 187 | pub enum XError { [INFO] [stdout] | ------ `XError` 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/net.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [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_XError` [INFO] [stdout] 187 | pub enum XError { [INFO] [stdout] | ------ `XError` 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 34.40s [INFO] running `Command { std: "docker" "inspect" "14421f7a9712637ae8292d1e0f843bdf960a80fe6d3aa2a9b8d0d2a327941e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14421f7a9712637ae8292d1e0f843bdf960a80fe6d3aa2a9b8d0d2a327941e25", kill_on_drop: false }` [INFO] [stdout] 14421f7a9712637ae8292d1e0f843bdf960a80fe6d3aa2a9b8d0d2a327941e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d46a049a625808ee2ff8e27d867753cc0121118a5ad9a75529ebc8efdf36aa5b [INFO] running `Command { std: "docker" "start" "-a" "d46a049a625808ee2ff8e27d867753cc0121118a5ad9a75529ebc8efdf36aa5b", kill_on_drop: false }` [INFO] [stderr] Compiling sleepyseal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/net.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/net.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Error` [INFO] [stdout] --> src/net.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | use failure::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | let (mut socket, _) = listener.accept().await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mempool.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account = self.client_accounts.get_mut(&tx.client_origin).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/messages.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(|(a, b)| b.aggregate_signature.is_some()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | .map_err(|e| XError::GenericError)? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | .map_err(|e| XError::GenericError)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/net.rs:161:54 [INFO] [stdout] | [INFO] [stdout] 161 | let summary = instance_state.lock().map_err(|e| XError::GenericError)?.current_round_data.summary(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mempool` [INFO] [stdout] --> src/net.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | let (mempool, _state) = db [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mempool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_open` is never read [INFO] [stdout] --> src/driver.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DriverCore { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | is_open: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instance` is never read [INFO] [stdout] --> src/mempool.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PendingTransaction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 26 | instance: InstanceID, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_server` is never used [INFO] [stdout] --> src/net.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | async fn main_server(address: &str) -> Result<(), Box> { [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/net.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_XError` [INFO] [stdout] 187 | pub enum XError { [INFO] [stdout] | ------ `XError` 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/net.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [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_XError` [INFO] [stdout] 187 | pub enum XError { [INFO] [stdout] | ------ `XError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.59s [INFO] running `Command { std: "docker" "inspect" "d46a049a625808ee2ff8e27d867753cc0121118a5ad9a75529ebc8efdf36aa5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46a049a625808ee2ff8e27d867753cc0121118a5ad9a75529ebc8efdf36aa5b", kill_on_drop: false }` [INFO] [stdout] d46a049a625808ee2ff8e27d867753cc0121118a5ad9a75529ebc8efdf36aa5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ec737a0796b2528a40f9b91ef6a6abb0ed0d9c2282c2e8cdd1fad17e41fc76db [INFO] running `Command { std: "docker" "start" "-a" "ec737a0796b2528a40f9b91ef6a6abb0ed0d9c2282c2e8cdd1fad17e41fc76db", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stderr] --> src/net.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stderr] --> src/net.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `failure::Error` [INFO] [stderr] --> src/net.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | use failure::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/net.rs:203:14 [INFO] [stderr] | [INFO] [stderr] 203 | let (mut socket, _) = listener.accept().await?; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mempool.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | let mut account = self.client_accounts.get_mut(&tx.client_origin).unwrap(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/messages.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | .filter(|(a, b)| b.aggregate_signature.is_some()) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/net.rs:137:23 [INFO] [stderr] | [INFO] [stderr] 137 | .map_err(|e| XError::GenericError)? [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/net.rs:139:23 [INFO] [stderr] | [INFO] [stderr] 139 | .map_err(|e| XError::GenericError)?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/net.rs:161:54 [INFO] [stderr] | [INFO] [stderr] 161 | let summary = instance_state.lock().map_err(|e| XError::GenericError)?.current_round_data.summary(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mempool` [INFO] [stderr] --> src/net.rs:284:14 [INFO] [stderr] | [INFO] [stderr] 284 | let (mempool, _state) = db [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mempool` [INFO] [stderr] [INFO] [stderr] warning: field `is_open` is never read [INFO] [stderr] --> src/driver.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct DriverCore { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | is_open: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `instance` is never read [INFO] [stderr] --> src/mempool.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct PendingTransaction { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 26 | instance: InstanceID, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main_server` is never used [INFO] [stderr] --> src/net.rs:198:10 [INFO] [stderr] | [INFO] [stderr] 198 | async fn main_server(address: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/net.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_XError` [INFO] [stderr] 187 | pub enum XError { [INFO] [stderr] | ------ `XError` 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/net.rs:186:24 [INFO] [stderr] | [INFO] [stderr] 186 | #[derive(Clone, Debug, Fail, Serialize, Deserialize, PartialEq)] [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_XError` [INFO] [stderr] 187 | pub enum XError { [INFO] [stderr] | ------ `XError` 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: `sleepyseal` (bin "sleepyseal" test) generated 15 warnings (run `cargo fix --bin "sleepyseal" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sleepyseal-c72e01966d8b328e) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test core_types::tests::make_and_hash_metadata ... ok [INFO] [stdout] test base_types::tests::voting_power ... ok [INFO] [stdout] test crypto::tests::test_key_sign ... ok [INFO] [stdout] test messages::tests::make_message_full ... ok [INFO] [stdout] test net::tests::test_process_transaction ... ok [INFO] [stdout] test crypto::tests::test_key_verify ... ok [INFO] [stdout] test core_state::tests::sim_four_authorities ... ok [INFO] [stdout] test base_types::tests::voting_quorum ... ok [INFO] [stdout] test crypto::tests::test_key_gen ... ok [INFO] [stdout] test crypto::tests::test_crypto_bls ... ok [INFO] [stdout] test net::tests::test_process_summary ... ok [INFO] [stdout] test driver::tests::sim_four_authorities_client ... ok [INFO] [stdout] test messages::tests::make_message_zero_round ... ok [INFO] [stdout] test core_types::tests::make_block_header_and_sign_verify ... ok [INFO] [stdout] test crypto::tests::test_key_verify_aggregate ... ok [INFO] [stdout] test messages::tests::make_message_one_round ... ok [INFO] [stdout] test driver::tests::test_progress_at_random_many_nodes ... ok [INFO] [stdout] test driver::tests::test_progress_at_random ... ok [INFO] [stdout] test driver::tests::test_progress_one_crash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec737a0796b2528a40f9b91ef6a6abb0ed0d9c2282c2e8cdd1fad17e41fc76db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec737a0796b2528a40f9b91ef6a6abb0ed0d9c2282c2e8cdd1fad17e41fc76db", kill_on_drop: false }` [INFO] [stdout] ec737a0796b2528a40f9b91ef6a6abb0ed0d9c2282c2e8cdd1fad17e41fc76db