[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_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrashlabs-io%2Fsleepyseal" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] Downloading crates ... [INFO] [stderr] Downloaded serde-big-array v0.3.2 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded pairing v0.21.0 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded radium v0.6.2 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded flate2 v1.0.21 [INFO] [stderr] Downloaded sha2 v0.9.6 [INFO] [stderr] Downloaded bitvec v0.22.3 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac522e24a923e33f09af9989a5e4230e56f149a157400dec64f75f86c020876 [INFO] running `Command { std: "docker" "start" "-a" "1ac522e24a923e33f09af9989a5e4230e56f149a157400dec64f75f86c020876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac522e24a923e33f09af9989a5e4230e56f149a157400dec64f75f86c020876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac522e24a923e33f09af9989a5e4230e56f149a157400dec64f75f86c020876", kill_on_drop: false }` [INFO] [stdout] 1ac522e24a923e33f09af9989a5e4230e56f149a157400dec64f75f86c020876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 19eb33e4e1d503fd1610a35c7a90c1bf78d540771fcad35841167dc203c9ccb6 [INFO] running `Command { std: "docker" "start" "-a" "19eb33e4e1d503fd1610a35c7a90c1bf78d540771fcad35841167dc203c9ccb6", 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 v1.0.130 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sha2 v0.9.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.17 [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_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-big-array v0.3.2 [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 25.71s [INFO] running `Command { std: "docker" "inspect" "19eb33e4e1d503fd1610a35c7a90c1bf78d540771fcad35841167dc203c9ccb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19eb33e4e1d503fd1610a35c7a90c1bf78d540771fcad35841167dc203c9ccb6", kill_on_drop: false }` [INFO] [stdout] 19eb33e4e1d503fd1610a35c7a90c1bf78d540771fcad35841167dc203c9ccb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/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] 0512fa5f33251585b0f8febc4743e4bfb52348fdeb17344814ffa5284e543ea8 [INFO] running `Command { std: "docker" "start" "-a" "0512fa5f33251585b0f8febc4743e4bfb52348fdeb17344814ffa5284e543ea8", 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 4.02s [INFO] running `Command { std: "docker" "inspect" "0512fa5f33251585b0f8febc4743e4bfb52348fdeb17344814ffa5284e543ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0512fa5f33251585b0f8febc4743e4bfb52348fdeb17344814ffa5284e543ea8", kill_on_drop: false }` [INFO] [stdout] 0512fa5f33251585b0f8febc4743e4bfb52348fdeb17344814ffa5284e543ea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 258b7c378520ec3ab205645fbd63f68cae2dac93150464d5709e937951c5dbb6 [INFO] running `Command { std: "docker" "start" "-a" "258b7c378520ec3ab205645fbd63f68cae2dac93150464d5709e937951c5dbb6", 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.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sleepyseal-4ae3faa41863e1c9) [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 crypto::tests::test_key_verify_aggregate ... ok [INFO] [stdout] test base_types::tests::voting_quorum ... ok [INFO] [stdout] test crypto::tests::test_crypto_bls ... ok [INFO] [stdout] test crypto::tests::test_key_gen ... ok [INFO] [stdout] test crypto::tests::test_key_verify ... ok [INFO] [stdout] test messages::tests::make_message_full ... ok [INFO] [stdout] test core_state::tests::sim_four_authorities ... ok [INFO] [stdout] test net::tests::test_process_summary ... ok [INFO] [stdout] test net::tests::test_process_transaction ... ok [INFO] [stdout] test driver::tests::sim_four_authorities_client ... ok [INFO] [stdout] test messages::tests::make_message_zero_round ... ok [INFO] [stdout] test messages::tests::make_message_one_round ... ok [INFO] [stdout] test core_types::tests::make_block_header_and_sign_verify ... 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.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "258b7c378520ec3ab205645fbd63f68cae2dac93150464d5709e937951c5dbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258b7c378520ec3ab205645fbd63f68cae2dac93150464d5709e937951c5dbb6", kill_on_drop: false }` [INFO] [stdout] 258b7c378520ec3ab205645fbd63f68cae2dac93150464d5709e937951c5dbb6