[INFO] fetching crate sightglass 0.1.0... [INFO] building sightglass-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate sightglass 0.1.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sightglass 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hwloc v0.5.0 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded xfailure v0.1.0 [INFO] [stderr] Downloaded precision v0.1.18 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded core_affinity v0.5.10 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded wasix v0.12.21 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded printtable v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05447305cd7be17cc168a1102926ba983d39b6204f5ed6b63385a6f2244686f2 [INFO] running `Command { std: "docker" "start" "-a" "05447305cd7be17cc168a1102926ba983d39b6204f5ed6b63385a6f2244686f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05447305cd7be17cc168a1102926ba983d39b6204f5ed6b63385a6f2244686f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05447305cd7be17cc168a1102926ba983d39b6204f5ed6b63385a6f2244686f2", kill_on_drop: false }` [INFO] [stdout] 05447305cd7be17cc168a1102926ba983d39b6204f5ed6b63385a6f2244686f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6519a0cb06b53b50671ed6d39761737fe646511b5f068c10c47c1ff32d819692 [INFO] running `Command { std: "docker" "start" "-a" "6519a0cb06b53b50671ed6d39761737fe646511b5f068c10c47c1ff32d819692", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling precision v0.1.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling xfailure v0.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling printtable v0.1.0 [INFO] [stderr] Compiling scroll v0.9.2 [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 addr2line v0.25.1 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling backtrace v0.3.76 [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)]` (part of `#[warn(unused)]`) 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 12.64s [INFO] running `Command { std: "docker" "inspect" "6519a0cb06b53b50671ed6d39761737fe646511b5f068c10c47c1ff32d819692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6519a0cb06b53b50671ed6d39761737fe646511b5f068c10c47c1ff32d819692", kill_on_drop: false }` [INFO] [stdout] 6519a0cb06b53b50671ed6d39761737fe646511b5f068c10c47c1ff32d819692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b91f02cae6929312bbb5b9e77b23220e6d7f73868baefd4cbb991cd470b426 [INFO] running `Command { std: "docker" "start" "-a" "d3b91f02cae6929312bbb5b9e77b23220e6d7f73868baefd4cbb991cd470b426", 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)]` (part of `#[warn(unused)]`) 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.80s [INFO] running `Command { std: "docker" "inspect" "d3b91f02cae6929312bbb5b9e77b23220e6d7f73868baefd4cbb991cd470b426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b91f02cae6929312bbb5b9e77b23220e6d7f73868baefd4cbb991cd470b426", kill_on_drop: false }` [INFO] [stdout] d3b91f02cae6929312bbb5b9e77b23220e6d7f73868baefd4cbb991cd470b426