[INFO] fetching crate sightglass 0.1.0... [INFO] testing sightglass-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sightglass 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sightglass 0.1.0 [INFO] finished tweaking crates.io crate sightglass 0.1.0 [INFO] tweaked toml for crates.io crate sightglass 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sightglass 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding core_affinity v0.5.10 (available: v0.8.3) [INFO] [stderr] Adding goblin v0.0.24 (available: v0.10.1) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.9) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca398ce2f8b268825de3efe8b2a8ffe3811d9bcddc129adcbd9c8cf2972422cd [INFO] running `Command { std: "docker" "start" "-a" "ca398ce2f8b268825de3efe8b2a8ffe3811d9bcddc129adcbd9c8cf2972422cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca398ce2f8b268825de3efe8b2a8ffe3811d9bcddc129adcbd9c8cf2972422cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca398ce2f8b268825de3efe8b2a8ffe3811d9bcddc129adcbd9c8cf2972422cd", kill_on_drop: false }` [INFO] [stdout] ca398ce2f8b268825de3efe8b2a8ffe3811d9bcddc129adcbd9c8cf2972422cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48d691992b081230a5fee352e98bda1f5f96acaeb7abc85c9bb9f231c28cf220 [INFO] running `Command { std: "docker" "start" "-a" "48d691992b081230a5fee352e98bda1f5f96acaeb7abc85c9bb9f231c28cf220", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling precision v0.1.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling xfailure v0.1.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling printtable v0.1.0 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sightglass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `precision` is never read [INFO] [stdout] --> src/bench.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct TestBodiesBench { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 84 | precision: Precision, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestBodiesBench` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setup` and `teardown` are never used [INFO] [stdout] --> src/bench.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub trait Runnable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 99 | fn setup(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | fn teardown(&mut self) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSONOutput` is never constructed [INFO] [stdout] --> src/out.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | struct JSONOutput(Vec<(String, Vec<(String, AnonymousTestResult)>)>); [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/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BenchError` [INFO] [stdout] 4 | pub enum BenchError { [INFO] [stdout] | ---------- `BenchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BenchError` [INFO] [stdout] 4 | pub enum BenchError { [INFO] [stdout] | ---------- `BenchError` 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 48.28s [INFO] running `Command { std: "docker" "inspect" "48d691992b081230a5fee352e98bda1f5f96acaeb7abc85c9bb9f231c28cf220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d691992b081230a5fee352e98bda1f5f96acaeb7abc85c9bb9f231c28cf220", kill_on_drop: false }` [INFO] [stdout] 48d691992b081230a5fee352e98bda1f5f96acaeb7abc85c9bb9f231c28cf220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274afac534ef0c6898c97a47858ad2ba268645c09b9e3e776018055576358918 [INFO] running `Command { std: "docker" "start" "-a" "274afac534ef0c6898c97a47858ad2ba268645c09b9e3e776018055576358918", kill_on_drop: false }` [INFO] [stderr] Compiling sightglass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `precision` is never read [INFO] [stdout] --> src/bench.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | struct TestBodiesBench { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 84 | precision: Precision, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestBodiesBench` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setup` and `teardown` are never used [INFO] [stdout] --> src/bench.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub trait Runnable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 99 | fn setup(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | fn teardown(&mut self) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSONOutput` is never constructed [INFO] [stdout] --> src/out.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | struct JSONOutput(Vec<(String, Vec<(String, AnonymousTestResult)>)>); [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/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BenchError` [INFO] [stdout] 4 | pub enum BenchError { [INFO] [stdout] | ---------- `BenchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BenchError` [INFO] [stdout] 4 | pub enum BenchError { [INFO] [stdout] | ---------- `BenchError` 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 0.67s [INFO] running `Command { std: "docker" "inspect" "274afac534ef0c6898c97a47858ad2ba268645c09b9e3e776018055576358918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274afac534ef0c6898c97a47858ad2ba268645c09b9e3e776018055576358918", kill_on_drop: false }` [INFO] [stdout] 274afac534ef0c6898c97a47858ad2ba268645c09b9e3e776018055576358918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e2b07d70851621f189358c30d69816baffaca6b9baf088626f0abb4d9307df0 [INFO] running `Command { std: "docker" "start" "-a" "8e2b07d70851621f189358c30d69816baffaca6b9baf088626f0abb4d9307df0", kill_on_drop: false }` [INFO] [stderr] warning: field `precision` is never read [INFO] [stderr] --> src/bench.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 83 | struct TestBodiesBench { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 84 | precision: Precision, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestBodiesBench` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `setup` and `teardown` are never used [INFO] [stderr] --> src/bench.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 98 | pub trait Runnable { [INFO] [stderr] | -------- methods in this trait [INFO] [stderr] 99 | fn setup(&mut self) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] 100 | fn teardown(&mut self) {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `JSONOutput` is never constructed [INFO] [stderr] --> src/out.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 293 | struct JSONOutput(Vec<(String, Vec<(String, AnonymousTestResult)>)>); [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/errors.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BenchError` [INFO] [stderr] 4 | pub enum BenchError { [INFO] [stderr] | ---------- `BenchError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/errors.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BenchError` [INFO] [stderr] 4 | pub enum BenchError { [INFO] [stderr] | ---------- `BenchError` 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: `sightglass` (bin "sightglass" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sightglass-589d981c5e585072) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e2b07d70851621f189358c30d69816baffaca6b9baf088626f0abb4d9307df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2b07d70851621f189358c30d69816baffaca6b9baf088626f0abb4d9307df0", kill_on_drop: false }` [INFO] [stdout] 8e2b07d70851621f189358c30d69816baffaca6b9baf088626f0abb4d9307df0