[INFO] cloning repository https://github.com/rampus-bit/cabin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rampus-bit/cabin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frampus-bit%2Fcabin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frampus-bit%2Fcabin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] def67364deac06ad3c361517a6cf617449f3a619 [INFO] checking rampus-bit/cabin against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frampus-bit%2Fcabin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rampus-bit/cabin on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rampus-bit/cabin [INFO] finished tweaking git repo https://github.com/rampus-bit/cabin [INFO] tweaked toml for git repo https://github.com/rampus-bit/cabin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rampus-bit/cabin already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded youchoose v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b199dd806cf4e084ce470de8b5a7d4db1a7c0a667a42de35f8724682d4114f1c [INFO] running `Command { std: "docker" "start" "-a" "b199dd806cf4e084ce470de8b5a7d4db1a7c0a667a42de35f8724682d4114f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b199dd806cf4e084ce470de8b5a7d4db1a7c0a667a42de35f8724682d4114f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b199dd806cf4e084ce470de8b5a7d4db1a7c0a667a42de35f8724682d4114f1c", kill_on_drop: false }` [INFO] [stdout] b199dd806cf4e084ce470de8b5a7d4db1a7c0a667a42de35f8724682d4114f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2710f66ca36f9ef488af71570cf1602ae5c0be09fbf2ce161a8cb7dfca028fb [INFO] running `Command { std: "docker" "start" "-a" "e2710f66ca36f9ef488af71570cf1602ae5c0be09fbf2ce161a8cb7dfca028fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking tui v0.15.0 [INFO] [stderr] Checking youchoose v0.1.1 [INFO] [stderr] Checking cabin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if let Event::Input(key) = events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- this expression has type `Result, RecvError>` [INFO] [stdout] | | [INFO] [stdout] | expected `Result, RecvError>`, found `Event<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, RecvError>` [INFO] [stdout] found enum `util::Event<_>` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 75 | if let Ok(Event::Input(key)) = events.next() { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn main() -> Result<(), Box> { [INFO] [stdout] | -------------------------- expected `Result<(), Box>` because of this return type [INFO] [stdout] ... [INFO] [stdout] 27 | loop { [INFO] [stdout] | ---- this loop is expected to be of type `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] ... [INFO] [stdout] 77 | break; [INFO] [stdout] | ^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: give the `break` a value of the expected type [INFO] [stdout] | [INFO] [stdout] 77 | break Ok(()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if let Event::Input(key) = events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------------- this expression has type `Result, RecvError>` [INFO] [stdout] | | [INFO] [stdout] | expected `Result, RecvError>`, found `Event<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, RecvError>` [INFO] [stdout] found enum `util::Event<_>` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 75 | if let Ok(Event::Input(key)) = events.next() { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn main() -> Result<(), Box> { [INFO] [stdout] | -------------------------- expected `Result<(), Box>` because of this return type [INFO] [stdout] ... [INFO] [stdout] 27 | loop { [INFO] [stdout] | ---- this loop is expected to be of type `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] ... [INFO] [stdout] 77 | break; [INFO] [stdout] | ^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: give the `break` a value of the expected type [INFO] [stdout] | [INFO] [stdout] 77 | break Ok(()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cabin` (bin "cabin") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cabin` (bin "cabin" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e2710f66ca36f9ef488af71570cf1602ae5c0be09fbf2ce161a8cb7dfca028fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2710f66ca36f9ef488af71570cf1602ae5c0be09fbf2ce161a8cb7dfca028fb", kill_on_drop: false }` [INFO] [stdout] e2710f66ca36f9ef488af71570cf1602ae5c0be09fbf2ce161a8cb7dfca028fb