[INFO] cloning repository https://github.com/maxfer1221/trash-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxfer1221/trash-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7021653351fa045970348c3a0db06bac6e22a7de [INFO] checking maxfer1221/trash-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfer1221/trash-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxfer1221/trash-rs [INFO] finished tweaking git repo https://github.com/maxfer1221/trash-rs [INFO] tweaked toml for git repo https://github.com/maxfer1221/trash-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maxfer1221/trash-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be0b37198f555bb7957119b12fb3e5a20ce97a6adf353ca87be65fdadf569cc2 [INFO] running `Command { std: "docker" "start" "-a" "be0b37198f555bb7957119b12fb3e5a20ce97a6adf353ca87be65fdadf569cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be0b37198f555bb7957119b12fb3e5a20ce97a6adf353ca87be65fdadf569cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0b37198f555bb7957119b12fb3e5a20ce97a6adf353ca87be65fdadf569cc2", kill_on_drop: false }` [INFO] [stdout] be0b37198f555bb7957119b12fb3e5a20ce97a6adf353ca87be65fdadf569cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed2c930d91070075c138a752c1e4282d572876c9104435f3cd0b914d35984ded [INFO] running `Command { std: "docker" "start" "-a" "ed2c930d91070075c138a752c1e4282d572876c9104435f3cd0b914d35984ded", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trash-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `humantime` is imported redundantly [INFO] [stdout] --> src/delete.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use humantime; [INFO] [stdout] | ^^^^^^^^^ the item `humantime` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | fname.push(temp_buf.file_name().ok_or(err!("Could not find file name"))?); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 36 | let stem: String = fname.file_stem().ok_or(err!("Could not find file stem"))? [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 37 | .to_os_string().into_string().map_err(|e| err!(e))?; [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 40 | Some(s) => s.to_os_string().into_string().map_err(|e| err!(e))?, [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | let toml_as_string: String = toml::to_string(&tf).map_err(|e| err!(e))?; [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 79 | final_file.push(f.file_name().ok_or(err!("Could not find file name"))? [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 80 | .to_os_string().into_string().map_err(|e| err!(e))?); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 83 | Some(ext) => ext.to_os_string().into_string().map_err(|e| err!(e))?, [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trash::TrashFile` [INFO] [stdout] --> src/empty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::trash::TrashFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `humantime` is imported redundantly [INFO] [stdout] --> src/delete.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use humantime; [INFO] [stdout] | ^^^^^^^^^ the item `humantime` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | fname.push(temp_buf.file_name().ok_or(err!("Could not find file name"))?); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 36 | let stem: String = fname.file_stem().ok_or(err!("Could not find file stem"))? [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 37 | .to_os_string().into_string().map_err(|e| err!(e))?; [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 40 | Some(s) => s.to_os_string().into_string().map_err(|e| err!(e))?, [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 76 | let toml_as_string: String = toml::to_string(&tf).map_err(|e| err!(e))?; [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 79 | final_file.push(f.file_name().ok_or(err!("Could not find file name"))? [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 80 | .to_os_string().into_string().map_err(|e| err!(e))?); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/delete.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | Error::new(ErrorKind::Other, format!("{:?}",$e)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 83 | Some(ext) => ext.to_os_string().into_string().map_err(|e| err!(e))?, [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trash::TrashFile` [INFO] [stdout] --> src/empty.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::trash::TrashFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/empty.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | erase_metadata(&config.dirs.trash_info, &file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `&&std::string::String` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/empty.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn erase_metadata(i: &PathBuf) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/empty.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | erase_metadata(&config.dirs.trash_info, &file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ ------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `&&std::string::String` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/empty.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn erase_metadata(i: &PathBuf) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/empty.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut entries = fs::read_dir(i)? [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trash-rs` (bin "trash-rs" test) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/empty.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut entries = fs::read_dir(i)? [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trash-rs` (bin "trash-rs") due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed2c930d91070075c138a752c1e4282d572876c9104435f3cd0b914d35984ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2c930d91070075c138a752c1e4282d572876c9104435f3cd0b914d35984ded", kill_on_drop: false }` [INFO] [stdout] ed2c930d91070075c138a752c1e4282d572876c9104435f3cd0b914d35984ded [INFO] checking maxfer1221/trash-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfer1221/trash-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxfer1221/trash-rs [INFO] finished tweaking git repo https://github.com/maxfer1221/trash-rs [INFO] tweaked toml for git repo https://github.com/maxfer1221/trash-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/maxfer1221/trash-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcb1ea503a97f2c29701b97a2458f942ae420c01aa1ac14b85ea87cb49494a53 [INFO] running `Command { std: "docker" "start" "-a" "fcb1ea503a97f2c29701b97a2458f942ae420c01aa1ac14b85ea87cb49494a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcb1ea503a97f2c29701b97a2458f942ae420c01aa1ac14b85ea87cb49494a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb1ea503a97f2c29701b97a2458f942ae420c01aa1ac14b85ea87cb49494a53", kill_on_drop: false }` [INFO] [stdout] fcb1ea503a97f2c29701b97a2458f942ae420c01aa1ac14b85ea87cb49494a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb53e04cc66a142760c8b8dbb1550a4620de73c73f0c85bdae31501b396e0a6b [INFO] running `Command { std: "docker" "start" "-a" "fb53e04cc66a142760c8b8dbb1550a4620de73c73f0c85bdae31501b396e0a6b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fb53e04cc66a142760c8b8dbb1550a4620de73c73f0c85bdae31501b396e0a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb53e04cc66a142760c8b8dbb1550a4620de73c73f0c85bdae31501b396e0a6b", kill_on_drop: false }` [INFO] [stdout] fb53e04cc66a142760c8b8dbb1550a4620de73c73f0c85bdae31501b396e0a6b