[INFO] cloning repository https://github.com/geropl/tarfs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geropl/tarfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeropl%2Ftarfs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeropl%2Ftarfs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc86245e694caa004ad8f0cbcfa7a2fbf8ecda6f
[INFO] testing geropl/tarfs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeropl%2Ftarfs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/geropl/tarfs
[INFO] finished tweaking git repo https://github.com/geropl/tarfs
[INFO] tweaked toml for git repo https://github.com/geropl/tarfs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/geropl/tarfs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/geropl/tarfs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f2837f2627ec0818c30fbba6244725cb6de602c0b47a05dc25fd6f45ff05d55
[INFO] running `Command { std: "docker" "start" "-a" "8f2837f2627ec0818c30fbba6244725cb6de602c0b47a05dc25fd6f45ff05d55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f2837f2627ec0818c30fbba6244725cb6de602c0b47a05dc25fd6f45ff05d55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f2837f2627ec0818c30fbba6244725cb6de602c0b47a05dc25fd6f45ff05d55", kill_on_drop: false }`
[INFO] [stdout] 8f2837f2627ec0818c30fbba6244725cb6de602c0b47a05dc25fd6f45ff05d55
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fc62c2fb275885244fa5476bfc71b94a1d56caa69c326503985e76619fd31d0f
[INFO] running `Command { std: "docker" "start" "-a" "fc62c2fb275885244fa5476bfc71b94a1d56caa69c326503985e76619fd31d0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling cc v1.0.40
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling regex-syntax v0.6.11
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling fuse v0.3.1
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling filetime v0.2.6
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling thread-scoped v1.0.2
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]    Compiling tar v0.4.26
[INFO] [stderr]    Compiling regex v1.2.1
[INFO] [stderr]    Compiling backtrace v0.3.35
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling tarfs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `index` and `header_offset` are never read
[INFO] [stdout]    --> src/tarindexer.rs:282:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | struct TarEntry {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 282 |     index: u64,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 283 |     header_offset: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TarEntry` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tarindex.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex {
[INFO] [stdout]    |                      ^^^^^ the lifetime is elided here  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.63s
[INFO] running `Command { std: "docker" "inspect" "fc62c2fb275885244fa5476bfc71b94a1d56caa69c326503985e76619fd31d0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc62c2fb275885244fa5476bfc71b94a1d56caa69c326503985e76619fd31d0f", kill_on_drop: false }`
[INFO] [stdout] fc62c2fb275885244fa5476bfc71b94a1d56caa69c326503985e76619fd31d0f
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] cc7ac319dfc4b9e23bd01ee5a74b11c46ef413dbc3a621cd3ad71ecab5c50027
[INFO] running `Command { std: "docker" "start" "-a" "cc7ac319dfc4b9e23bd01ee5a74b11c46ef413dbc3a621cd3ad71ecab5c50027", kill_on_drop: false }`
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stdout] warning: fields `index` and `header_offset` are never read
[INFO] [stdout]    --> src/tarindexer.rs:282:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | struct TarEntry {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 282 |     index: u64,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 283 |     header_offset: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TarEntry` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tarindex.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex {
[INFO] [stdout]    |                      ^^^^^ the lifetime is elided here  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling tarfs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `index` and `header_offset` are never read
[INFO] [stdout]    --> src/tarindexer.rs:282:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | struct TarEntry {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 282 |     index: u64,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 283 |     header_offset: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TarEntry` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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/lib.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[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_TarFsError`
[INFO] [stdout] 19 | pub enum TarFsError {
[INFO] [stdout]    |          ---------- `TarFsError` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tarindex.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex {
[INFO] [stdout]    |                      ^^^^^ the lifetime is elided here  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex<'_> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.95s
[INFO] running `Command { std: "docker" "inspect" "cc7ac319dfc4b9e23bd01ee5a74b11c46ef413dbc3a621cd3ad71ecab5c50027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc7ac319dfc4b9e23bd01ee5a74b11c46ef413dbc3a621cd3ad71ecab5c50027", kill_on_drop: false }`
[INFO] [stdout] cc7ac319dfc4b9e23bd01ee5a74b11c46ef413dbc3a621cd3ad71ecab5c50027
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c82687356ddf1073d39207575e097c014bcbda243a2a891076f4539e1ef47e5a
[INFO] running `Command { std: "docker" "start" "-a" "c82687356ddf1073d39207575e097c014bcbda243a2a891076f4539e1ef47e5a", kill_on_drop: false }`
[INFO] [stderr] warning: fields `index` and `header_offset` are never read
[INFO] [stderr]    --> src/tarindexer.rs:282:5
[INFO] [stderr]     |
[INFO] [stderr] 281 | struct TarEntry {
[INFO] [stderr]     |        -------- fields in this struct
[INFO] [stderr] 282 |     index: u64,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 283 |     header_offset: u64,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `TarEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/lib.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[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_TarFsError`
[INFO] [stderr] 19 | pub enum TarFsError {
[INFO] [stderr]    |          ---------- `TarFsError` 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/lib.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[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_TarFsError`
[INFO] [stderr] 19 | pub enum TarFsError {
[INFO] [stderr]    |          ---------- `TarFsError` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tarindex.rs:90:22
[INFO] [stderr]    |
[INFO] [stderr] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex {
[INFO] [stderr]    |                      ^^^^^ the lifetime is elided here  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 90 |     pub fn new(file: &File, initial_capacity: usize) -> TarIndex<'_> {
[INFO] [stderr]    |                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `tarfs` (lib) generated 4 warnings (run `cargo fix --lib -p tarfs` to apply 1 suggestion)
[INFO] [stderr] warning: `tarfs` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tarfs/ae561ee11968c391/deps/tarfslib-ae561ee11968c391)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/tarfs/6d48970975b488df/deps/tarfs-6d48970975b488df)
[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] [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] [stderr]      Running tests/common.rs (/opt/rustwide/target/debug/build/tarfs/acad2e268d214daf/deps/common-acad2e268d214daf)
[INFO] [stderr]      Running tests/tarfs_test.rs (/opt/rustwide/target/debug/build/tarfs/1f1732b191ba4e29/deps/tarfs_test-1f1732b191ba4e29)
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tarfs_hard_link ... ignored
[INFO] [stdout] test tarfs_ls ... ignored
[INFO] [stdout] test tarfs_recursive_compare ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tarfs_recursive_compare stdout ----
[INFO] [stdout] error during cleanup: No such file or directory (os error 2)
[INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tarfs_recursive_compare
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test tarfs_test`
[INFO] running `Command { std: "docker" "inspect" "c82687356ddf1073d39207575e097c014bcbda243a2a891076f4539e1ef47e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c82687356ddf1073d39207575e097c014bcbda243a2a891076f4539e1ef47e5a", kill_on_drop: false }`
[INFO] [stdout] c82687356ddf1073d39207575e097c014bcbda243a2a891076f4539e1ef47e5a
