[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmblode%2Frsh" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mblode/rsh on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 927c438061493a319d650eee2b252c1a091612d6090f622ee2f8d836f414ab2f [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" "927c438061493a319d650eee2b252c1a091612d6090f622ee2f8d836f414ab2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "927c438061493a319d650eee2b252c1a091612d6090f622ee2f8d836f414ab2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "927c438061493a319d650eee2b252c1a091612d6090f622ee2f8d836f414ab2f", kill_on_drop: false }` [INFO] [stdout] 927c438061493a319d650eee2b252c1a091612d6090f622ee2f8d836f414ab2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f682f08ac48965e7e88a5b62923fec0a846a7b3ca4d5bb65a6429e49384bde7a [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" "f682f08ac48965e7e88a5b62923fec0a846a7b3ca4d5bb65a6429e49384bde7a", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [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 mio v0.7.7 [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: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: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[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[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[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[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] 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] 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: could not compile `rsh` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f682f08ac48965e7e88a5b62923fec0a846a7b3ca4d5bb65a6429e49384bde7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f682f08ac48965e7e88a5b62923fec0a846a7b3ca4d5bb65a6429e49384bde7a", kill_on_drop: false }` [INFO] [stdout] f682f08ac48965e7e88a5b62923fec0a846a7b3ca4d5bb65a6429e49384bde7a