[INFO] cloning repository https://github.com/mblode/rsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mblode/rsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmblode%2Frsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmblode%2Frsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b4ae57543de9a8cbb166765cd37c63943e25321 [INFO] checking mblode/rsh against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmblode%2Frsh" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mblode/rsh on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mblode/rsh [INFO] finished tweaking git repo https://github.com/mblode/rsh [INFO] tweaked toml for git repo https://github.com/mblode/rsh written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/mblode/rsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c30aa56322ef1cc986707133384e9d73cab2d0057a1f39278326fefe721d75c7 [INFO] running `Command { std: "docker" "start" "-a" "c30aa56322ef1cc986707133384e9d73cab2d0057a1f39278326fefe721d75c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c30aa56322ef1cc986707133384e9d73cab2d0057a1f39278326fefe721d75c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30aa56322ef1cc986707133384e9d73cab2d0057a1f39278326fefe721d75c7", kill_on_drop: false }` [INFO] [stdout] c30aa56322ef1cc986707133384e9d73cab2d0057a1f39278326fefe721d75c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95153d3fed1ee6c4caf22dc4146c8593443e19d758036cbe58d9871a23b2e54f [INFO] running `Command { std: "docker" "start" "-a" "95153d3fed1ee6c4caf22dc4146c8593443e19d758036cbe58d9871a23b2e54f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let doc = Document::open(file_name); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | Document::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Document::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let doc = Document::open(file_name); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | Document::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Document` [INFO] [stdout] --> src/prompt.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Document::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `should_quit` on type `&mut Prompt` [INFO] [stdout] --> src/prompt.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | if self.should_quit { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process_keypress` found for mutable reference `&mut Prompt` in the current scope [INFO] [stdout] --> src/prompt.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | if let Err(error) = self.process_keypress() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stdout] --> src/prompt.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | "exit" => return, [INFO] [stdout] | ^^^^^^ return type is not `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prompt.rs:125:59 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(mut final_command) = previous_command { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 126 | | // block until the final command has finished [INFO] [stdout] 127 | | final_command.wait().unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_________^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `should_quit` on type `&mut Prompt` [INFO] [stdout] --> src/prompt.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | if self.should_quit { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `theme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prompt.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0069, E0308, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0069`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process_keypress` found for mutable reference `&mut Prompt` in the current scope [INFO] [stdout] --> src/prompt.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | if let Err(error) = self.process_keypress() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut Prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsh` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()` [INFO] [stdout] --> src/prompt.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | "exit" => return, [INFO] [stdout] | ^^^^^^ return type is not `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prompt.rs:125:59 [INFO] [stdout] | [INFO] [stdout] 125 | if let Some(mut final_command) = previous_command { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 126 | | // block until the final command has finished [INFO] [stdout] 127 | | final_command.wait().unwrap(); [INFO] [stdout] 128 | | } [INFO] [stdout] | |_________^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prompt.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0069, E0308, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0069`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "95153d3fed1ee6c4caf22dc4146c8593443e19d758036cbe58d9871a23b2e54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95153d3fed1ee6c4caf22dc4146c8593443e19d758036cbe58d9871a23b2e54f", kill_on_drop: false }` [INFO] [stdout] 95153d3fed1ee6c4caf22dc4146c8593443e19d758036cbe58d9871a23b2e54f