[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#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfer1221/trash-rs on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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-3-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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking maxfer1221/trash-rs against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfer1221/trash-rs on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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-3-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d04911555ea6956997582af049ff07dde1b91be872dd2f10b5b0994b9fa34cb [INFO] running `Command { std: "docker" "start" "-a" "5d04911555ea6956997582af049ff07dde1b91be872dd2f10b5b0994b9fa34cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d04911555ea6956997582af049ff07dde1b91be872dd2f10b5b0994b9fa34cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d04911555ea6956997582af049ff07dde1b91be872dd2f10b5b0994b9fa34cb", kill_on_drop: false }` [INFO] [stdout] 5d04911555ea6956997582af049ff07dde1b91be872dd2f10b5b0994b9fa34cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f193da16f6a6072f54761d33c7b04a3973a870a35afcd9cdcb7a0bdabc3992d8 [INFO] running `Command { std: "docker" "start" "-a" "f193da16f6a6072f54761d33c7b04a3973a870a35afcd9cdcb7a0bdabc3992d8", 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 libc v0.2.106 [INFO] [stderr] Compiling serde_derive v1.0.130 [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: 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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: 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] = 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] 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] = note: `#[warn(unused_imports)]` on by default [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] 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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 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; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `trash-rs` (bin "trash-rs" test) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f193da16f6a6072f54761d33c7b04a3973a870a35afcd9cdcb7a0bdabc3992d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f193da16f6a6072f54761d33c7b04a3973a870a35afcd9cdcb7a0bdabc3992d8", kill_on_drop: false }` [INFO] [stdout] f193da16f6a6072f54761d33c7b04a3973a870a35afcd9cdcb7a0bdabc3992d8