[INFO] fetching crate sightglass 0.1.0... [INFO] building sightglass-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate sightglass 0.1.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sightglass 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d14a19f115aec24e83d2dc025ea25c79908d58562ffaa9bdd6bb2dd8d166614a [INFO] running `Command { std: "docker" "start" "-a" "d14a19f115aec24e83d2dc025ea25c79908d58562ffaa9bdd6bb2dd8d166614a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d14a19f115aec24e83d2dc025ea25c79908d58562ffaa9bdd6bb2dd8d166614a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d14a19f115aec24e83d2dc025ea25c79908d58562ffaa9bdd6bb2dd8d166614a", kill_on_drop: false }` [INFO] [stdout] d14a19f115aec24e83d2dc025ea25c79908d58562ffaa9bdd6bb2dd8d166614a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d90e523f649bbda08e66792ce4898a6a8136699d06cb44dec93c6d71e82bb91b [INFO] running `Command { std: "docker" "start" "-a" "d90e523f649bbda08e66792ce4898a6a8136699d06cb44dec93c6d71e82bb91b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [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 plain v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling printtable v0.1.0 [INFO] [stderr] Compiling xfailure v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling precision v0.1.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling sightglass v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] [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: 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 11.77s [INFO] running `Command { std: "docker" "inspect" "d90e523f649bbda08e66792ce4898a6a8136699d06cb44dec93c6d71e82bb91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90e523f649bbda08e66792ce4898a6a8136699d06cb44dec93c6d71e82bb91b", kill_on_drop: false }` [INFO] [stdout] d90e523f649bbda08e66792ce4898a6a8136699d06cb44dec93c6d71e82bb91b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30aa1d791f93e89e115c2e119aa9af679dfd4bc1a54717e03381b7c00c52110b [INFO] running `Command { std: "docker" "start" "-a" "30aa1d791f93e89e115c2e119aa9af679dfd4bc1a54717e03381b7c00c52110b", kill_on_drop: false }` [INFO] [stderr] Compiling sightglass v0.1.0 (/opt/rustwide/workdir) [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: 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] [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: 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.74s [INFO] running `Command { std: "docker" "inspect" "30aa1d791f93e89e115c2e119aa9af679dfd4bc1a54717e03381b7c00c52110b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30aa1d791f93e89e115c2e119aa9af679dfd4bc1a54717e03381b7c00c52110b", kill_on_drop: false }` [INFO] [stdout] 30aa1d791f93e89e115c2e119aa9af679dfd4bc1a54717e03381b7c00c52110b