[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 master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crashlabs-io/sleepyseal on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded instant v0.1.10 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded serde-big-array v0.3.2 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded serde_derive v1.0.130 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded flate2 v1.0.21 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded syn v1.0.76 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded synstructure v0.12.5 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded libc v0.2.101 [INFO] [stderr] Downloaded sha2 v0.9.6 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded bls12_381 v0.6.0 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23962928f9078457ca0d4f7332a099feca682a25ccfc7773deddb0e69bd7fa46 [INFO] running `Command { std: "docker" "start" "-a" "23962928f9078457ca0d4f7332a099feca682a25ccfc7773deddb0e69bd7fa46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23962928f9078457ca0d4f7332a099feca682a25ccfc7773deddb0e69bd7fa46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23962928f9078457ca0d4f7332a099feca682a25ccfc7773deddb0e69bd7fa46", kill_on_drop: false }` [INFO] [stdout] 23962928f9078457ca0d4f7332a099feca682a25ccfc7773deddb0e69bd7fa46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60cdcf243503d3e2132f1727c8357289726a33f745444ce2a8b5043fc3645683 [INFO] running `Command { std: "docker" "start" "-a" "60cdcf243503d3e2132f1727c8357289726a33f745444ce2a8b5043fc3645683", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [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 version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking rand_core v0.5.1 [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 bytes v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [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-big-array v0.3.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [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)]` 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)]` 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/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: 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: `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: `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] [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 32.97s [INFO] running `Command { std: "docker" "inspect" "60cdcf243503d3e2132f1727c8357289726a33f745444ce2a8b5043fc3645683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60cdcf243503d3e2132f1727c8357289726a33f745444ce2a8b5043fc3645683", kill_on_drop: false }` [INFO] [stdout] 60cdcf243503d3e2132f1727c8357289726a33f745444ce2a8b5043fc3645683