[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmblode%2Frsh" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mblode/rsh on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-5/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c620819ccf914bfb633457a7eec402aebe0e5a75a27b07a802dc8a146c7dc2 [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" "86c620819ccf914bfb633457a7eec402aebe0e5a75a27b07a802dc8a146c7dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c620819ccf914bfb633457a7eec402aebe0e5a75a27b07a802dc8a146c7dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c620819ccf914bfb633457a7eec402aebe0e5a75a27b07a802dc8a146c7dc2", kill_on_drop: false }` [INFO] [stdout] 86c620819ccf914bfb633457a7eec402aebe0e5a75a27b07a802dc8a146c7dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eda6cad648427b3d2af759ff09897d124787db2d7d2ccafb8c0f59db428251c5 [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" "eda6cad648427b3d2af759ff09897d124787db2d7d2ccafb8c0f59db428251c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking shellexpand v2.1.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking parking_lot v0.11.1 [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[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[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: 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[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] [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] [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" "eda6cad648427b3d2af759ff09897d124787db2d7d2ccafb8c0f59db428251c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda6cad648427b3d2af759ff09897d124787db2d7d2ccafb8c0f59db428251c5", kill_on_drop: false }` [INFO] [stdout] eda6cad648427b3d2af759ff09897d124787db2d7d2ccafb8c0f59db428251c5