[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e54f2f7a58a25d5b400439d296a18b5225322df6224dac7c076bf87ed94c36f1 [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" "e54f2f7a58a25d5b400439d296a18b5225322df6224dac7c076bf87ed94c36f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e54f2f7a58a25d5b400439d296a18b5225322df6224dac7c076bf87ed94c36f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54f2f7a58a25d5b400439d296a18b5225322df6224dac7c076bf87ed94c36f1", kill_on_drop: false }` [INFO] [stdout] e54f2f7a58a25d5b400439d296a18b5225322df6224dac7c076bf87ed94c36f1 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb933577067cccdd58be5abf430a3ca656b62c54610207f1b3bc38ea76621ace [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" "fb933577067cccdd58be5abf430a3ca656b62c54610207f1b3bc38ea76621ace", 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[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] = help: add `#![feature(try_blocks)]` to the crate attributes to enable [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] 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] = help: add `#![feature(try_blocks)]` to the crate attributes to enable [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] 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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [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[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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, 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" "fb933577067cccdd58be5abf430a3ca656b62c54610207f1b3bc38ea76621ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb933577067cccdd58be5abf430a3ca656b62c54610207f1b3bc38ea76621ace", kill_on_drop: false }` [INFO] [stdout] fb933577067cccdd58be5abf430a3ca656b62c54610207f1b3bc38ea76621ace