[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] testing maxfer1221/trash-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfer1221%2Ftrash-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfer1221/trash-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1cc05c15a6ba8dbd1c80fb718cf4fb06598e43c5b6fa314aa9d3fc63482d3cdf [INFO] running `Command { std: "docker" "start" "-a" "1cc05c15a6ba8dbd1c80fb718cf4fb06598e43c5b6fa314aa9d3fc63482d3cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc05c15a6ba8dbd1c80fb718cf4fb06598e43c5b6fa314aa9d3fc63482d3cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc05c15a6ba8dbd1c80fb718cf4fb06598e43c5b6fa314aa9d3fc63482d3cdf", kill_on_drop: false }` [INFO] [stdout] 1cc05c15a6ba8dbd1c80fb718cf4fb06598e43c5b6fa314aa9d3fc63482d3cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c2a2ea062a206f27df5cec855fa9175dc0a921d7808368d9082b18f9264dad0 [INFO] running `Command { std: "docker" "start" "-a" "6c2a2ea062a206f27df5cec855fa9175dc0a921d7808368d9082b18f9264dad0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling 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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] = 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] | ^^^^^^^^^^^^^^ ----------------------- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 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: aborting due to previous error; 9 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` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c2a2ea062a206f27df5cec855fa9175dc0a921d7808368d9082b18f9264dad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2a2ea062a206f27df5cec855fa9175dc0a921d7808368d9082b18f9264dad0", kill_on_drop: false }` [INFO] [stdout] 6c2a2ea062a206f27df5cec855fa9175dc0a921d7808368d9082b18f9264dad0