[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] checking crashlabs-io/sleepyseal against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crashlabs-io/sleepyseal on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking crashlabs-io/sleepyseal against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crashlabs-io/sleepyseal on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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 funty v1.2.0 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded serde-big-array v0.3.2 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded bls12_381 v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4e49b0f2f0644f219ba8cf4e1a1356c0c0c9948f00d4dc4beaa103bfc41217a [INFO] running `Command { std: "docker" "start" "-a" "e4e49b0f2f0644f219ba8cf4e1a1356c0c0c9948f00d4dc4beaa103bfc41217a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4e49b0f2f0644f219ba8cf4e1a1356c0c0c9948f00d4dc4beaa103bfc41217a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e49b0f2f0644f219ba8cf4e1a1356c0c0c9948f00d4dc4beaa103bfc41217a", kill_on_drop: false }` [INFO] [stdout] e4e49b0f2f0644f219ba8cf4e1a1356c0c0c9948f00d4dc4beaa103bfc41217a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b3ec282155c31a79c590bed812fe0e1d8fcab738044a4fd1407593b68d008e [INFO] running `Command { std: "docker" "start" "-a" "f7b3ec282155c31a79c590bed812fe0e1d8fcab738044a4fd1407593b68d008e", 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 serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-big-array v0.3.2 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking pairing v0.21.0 [INFO] [stderr] Checking bls12_381 v0.6.0 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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: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: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: `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: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: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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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 18.65s [INFO] running `Command { std: "docker" "inspect" "f7b3ec282155c31a79c590bed812fe0e1d8fcab738044a4fd1407593b68d008e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b3ec282155c31a79c590bed812fe0e1d8fcab738044a4fd1407593b68d008e", kill_on_drop: false }` [INFO] [stdout] f7b3ec282155c31a79c590bed812fe0e1d8fcab738044a4fd1407593b68d008e