[INFO] fetching crate trash_lib 0.1.0...
[INFO] building trash_lib-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate trash_lib 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate trash_lib 0.1.0
[INFO] finished tweaking crates.io crate trash_lib 0.1.0
[INFO] tweaked toml for crates.io crate trash_lib 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate trash_lib 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 62 packages to latest compatible versions
[INFO] [stderr]       Adding directories v3.0.2 (available: v6.0.0)
[INFO] [stderr]       Adding snafu v0.6.10 (available: v0.8.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b12f5a4c51aedcb70773dd53a285c04f15d46de3bb1ae6448e31732b2ca03598
[INFO] running `Command { std: "docker" "start" "-a" "b12f5a4c51aedcb70773dd53a285c04f15d46de3bb1ae6448e31732b2ca03598", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b12f5a4c51aedcb70773dd53a285c04f15d46de3bb1ae6448e31732b2ca03598", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b12f5a4c51aedcb70773dd53a285c04f15d46de3bb1ae6448e31732b2ca03598", kill_on_drop: false }`
[INFO] [stdout] b12f5a4c51aedcb70773dd53a285c04f15d46de3bb1ae6448e31732b2ca03598
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfe8133098e313b6f71dcc2541a115dbed292f8229a98e07d12b9af69c3354f3
[INFO] running `Command { std: "docker" "start" "-a" "dfe8133098e313b6f71dcc2541a115dbed292f8229a98e07d12b9af69c3354f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling directories v3.0.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling snafu v0.6.10
[INFO] [stderr]    Compiling trash_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str`
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use percent_encoding::percent_decode_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectDirs`
[INFO] [stdout]   --> src/lib.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs};
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?;
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr, ParseError> {
[INFO] [stdout]     |                            ^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                            |               |
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided 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] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr<'_>, ParseError> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.22s
[INFO] running `Command { std: "docker" "inspect" "dfe8133098e313b6f71dcc2541a115dbed292f8229a98e07d12b9af69c3354f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfe8133098e313b6f71dcc2541a115dbed292f8229a98e07d12b9af69c3354f3", kill_on_drop: false }`
[INFO] [stdout] dfe8133098e313b6f71dcc2541a115dbed292f8229a98e07d12b9af69c3354f3
[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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95578c9b89caa38d50036676f864bccf67a803dea8c51f766544c4db8ebb81d6
[INFO] running `Command { std: "docker" "start" "-a" "95578c9b89caa38d50036676f864bccf67a803dea8c51f766544c4db8ebb81d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str`
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use percent_encoding::percent_decode_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectDirs`
[INFO] [stdout]   --> src/lib.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs};
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?;
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr, ParseError> {
[INFO] [stdout]     |                            ^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                            |               |
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided 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] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr<'_>, ParseError> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling trash_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `percent_encoding::percent_decode_str`
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use percent_encoding::percent_decode_str;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/parser.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::percent_path::{self, PercentPath};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]    --> src/parser.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |     use anyhow::{Context, Result};
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]    --> src/trash_entry.rs:273:18
[INFO] [stdout]     |
[INFO] [stdout] 273 |     use anyhow::{Context, Result};
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempdir`
[INFO] [stdout]    --> src/trash_entry.rs:275:20
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use tempfile::{tempdir, NamedTempFile};
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NamedTempFile`
[INFO] [stdout]    --> src/trash_info.rs:187:42
[INFO] [stdout]     |
[INFO] [stdout] 187 |     use tempfile::{tempfile_in, Builder, NamedTempFile};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectDirs`
[INFO] [stdout]   --> src/lib.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use directories::{ProjectDirs, UserDirs};
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]    --> src/lib.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |     use anyhow::{Context, Result};
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]    --> src/lib.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     use std::fs::File;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]    --> src/trash_info.rs:210:14
[INFO] [stdout]     |
[INFO] [stdout] 210 |             .ymd(2014, 7, 8)
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms_milli`: Use and_hms_milli_opt() instead
[INFO] [stdout]    --> src/trash_info.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |             .and_hms_milli(9, 10, 11, 12)
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead
[INFO] [stdout]    --> src/trash_info.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 |             .ymd(2020, 4, 9)
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms_nano`: Use and_hms_nano_opt() instead
[INFO] [stdout]    --> src/trash_info.rs:221:14
[INFO] [stdout]     |
[INFO] [stdout] 221 |             .and_hms_nano(9, 11, 10, 12_000_000)
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser.rs:126:10
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let (i, deletion_date) = all_consuming(parse_deletion_date)(i)?;
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trash_entry`
[INFO] [stdout]    --> src/trash_entry.rs:386:13
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let trash_entry = TrashEntry::create(tempfile.path(), &existing)?;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trash_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op3`
[INFO] [stdout]    --> src/utils.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let op3 = ok_log!(res3 => print_error);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_op3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr, ParseError> {
[INFO] [stdout]     |                            ^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                            |               |
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            |               the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided 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] 121 | fn parse_trash_info_str(i: &str) -> Result<TrashInfoStr<'_>, ParseError> {
[INFO] [stdout]     |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s
[INFO] running `Command { std: "docker" "inspect" "95578c9b89caa38d50036676f864bccf67a803dea8c51f766544c4db8ebb81d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95578c9b89caa38d50036676f864bccf67a803dea8c51f766544c4db8ebb81d6", kill_on_drop: false }`
[INFO] [stdout] 95578c9b89caa38d50036676f864bccf67a803dea8c51f766544c4db8ebb81d6
