[INFO] updating cached repository https://github.com/Noskcaj19/rash [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d5c62c06e0266671b420296dc909fe0634d59391 [INFO] testing Noskcaj19/rash against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoskcaj19%2Frash" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Noskcaj19/rash on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Noskcaj19/rash [INFO] finished tweaking git repo https://github.com/Noskcaj19/rash [INFO] tweaked toml for git repo https://github.com/Noskcaj19/rash written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Noskcaj19/rash already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0588b9653cc2d22bfaa5af281ada8fee7e9201648bf8d557f57d006646a7ff06 [INFO] running `"docker" "start" "-a" "0588b9653cc2d22bfaa5af281ada8fee7e9201648bf8d557f57d006646a7ff06"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling cc v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling fs_extra v1.0.0 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling backtrace-sys v0.1.14 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling rash v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/lib.rs:34:24 [INFO] [stderr] | [INFO] [stderr] 34 | let mut path_buf = env::home_dir().chain_err(|| "unable to locate home directory")?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | / error_chain! { [INFO] [stderr] 18 | | foreign_links { [INFO] [stderr] 19 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | / error_chain! { [INFO] [stderr] 18 | | foreign_links { [INFO] [stderr] 19 | | Io(io::Error) #[doc = "Error during IO"]; [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/lib.rs:198:22 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn put_back_item(item: &str, history: &History) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/lib.rs:198:34 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn put_back_item(item: &str, history: &History) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/lib.rs:214:14 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn trash(item: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `append_to_history` [INFO] [stderr] --> src/lib.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn append_to_history(entry: &FileEntry, path: &PathBuf) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `trash_path` [INFO] [stderr] --> src/lib.rs:97:4 [INFO] [stderr] | [INFO] [stderr] 97 | fn trash_path(path: &PathBuf, trash_path: &PathBuf) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add_history_entry` [INFO] [stderr] --> src/lib.rs:135:4 [INFO] [stderr] | [INFO] [stderr] 135 | fn add_history_entry(original_path: &str, trashed_path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/main.rs:70:16 [INFO] [stderr] | [INFO] [stderr] 70 | if let Err(error) = rash::trash(file) { [INFO] [stderr] | ^^^^^^^^^^ ----------------- this expression has type `()` [INFO] [stderr] | | [INFO] [stderr] | expected `()`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected unit type `()` [INFO] [stderr] found enum `std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rash`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0588b9653cc2d22bfaa5af281ada8fee7e9201648bf8d557f57d006646a7ff06"` [INFO] running `"docker" "rm" "-f" "0588b9653cc2d22bfaa5af281ada8fee7e9201648bf8d557f57d006646a7ff06"` [INFO] [stdout] 0588b9653cc2d22bfaa5af281ada8fee7e9201648bf8d557f57d006646a7ff06