[INFO] cloning repository https://github.com/DenialAdams/trash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenialAdams/trash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eb207e0d1354cb3e72bcbd4a421efbfcedbe767 [INFO] checking DenialAdams/trash against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenialAdams%2Ftrash" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DenialAdams/trash on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DenialAdams/trash [INFO] finished tweaking git repo https://github.com/DenialAdams/trash [INFO] tweaked toml for git repo https://github.com/DenialAdams/trash written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/DenialAdams/trash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] fb38eecdf842b4738f674a696eb28ce08ab2977a670bbf77415b1cff478e6dc6 [INFO] running `Command { std: "docker" "start" "-a" "fb38eecdf842b4738f674a696eb28ce08ab2977a670bbf77415b1cff478e6dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb38eecdf842b4738f674a696eb28ce08ab2977a670bbf77415b1cff478e6dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb38eecdf842b4738f674a696eb28ce08ab2977a670bbf77415b1cff478e6dc6", kill_on_drop: false }` [INFO] [stdout] fb38eecdf842b4738f674a696eb28ce08ab2977a670bbf77415b1cff478e6dc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba87340ee430256ad87c603d69f32d30477ee4e189f2053ae327aa317b606ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aba87340ee430256ad87c603d69f32d30477ee4e189f2053ae327aa317b606ba", kill_on_drop: false }` [INFO] [stderr] Checking termcolor v0.3.5 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking trash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let result: Result<(), io::Error> = do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let result: Result<(), io::Error> = do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(catch_expr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let result: Result<(), io::Error> = do catch { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 83 | | prompt::write_prompt(&mut handle, &user_name, user_id, &home_dir, exit_status)?; [INFO] [stdout] 84 | | handle.flush()?; [INFO] [stdout] 85 | | io::stdin().read_line(&mut input_line)?; [INFO] [stdout] 86 | | let _ = input_line.pop(); // Newline [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(catch_expr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/config.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_settings(home_dir: &str) -> Result<((Vec, Vec, HashMap)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let result: Result<(), io::Error> = do catch { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 83 | | prompt::write_prompt(&mut handle, &user_name, user_id, &home_dir, exit_status)?; [INFO] [stdout] 84 | | handle.flush()?; [INFO] [stdout] 85 | | io::stdin().read_line(&mut input_line)?; [INFO] [stdout] 86 | | let _ = input_line.pop(); // Newline [INFO] [stdout] 87 | | Ok(()) [INFO] [stdout] 88 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/config.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn load_settings(home_dir: &str) -> Result<((Vec, Vec, HashMap)), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:202:57 [INFO] [stdout] | [INFO] [stdout] 202 | let mut wstatus: i32 = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:202:57 [INFO] [stdout] | [INFO] [stdout] 202 | let mut wstatus: i32 = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Try>::Ok == std::result::Result<(), _>` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found enum `std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Try>::Ok == std::result::Result<(), _>` [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found enum `std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trash` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aba87340ee430256ad87c603d69f32d30477ee4e189f2053ae327aa317b606ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba87340ee430256ad87c603d69f32d30477ee4e189f2053ae327aa317b606ba", kill_on_drop: false }` [INFO] [stdout] aba87340ee430256ad87c603d69f32d30477ee4e189f2053ae327aa317b606ba