[INFO] cloning repository https://github.com/Krishna-Sivakumar/rxd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Krishna-Sivakumar/rxd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrishna-Sivakumar%2Frxd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrishna-Sivakumar%2Frxd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c90ea3e2d8173cc933180209976d9a15c0096872 [INFO] checking Krishna-Sivakumar/rxd against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrishna-Sivakumar%2Frxd" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Krishna-Sivakumar/rxd [INFO] finished tweaking git repo https://github.com/Krishna-Sivakumar/rxd [INFO] tweaked toml for git repo https://github.com/Krishna-Sivakumar/rxd written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Krishna-Sivakumar/rxd on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Krishna-Sivakumar/rxd 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4 [INFO] running `Command { std: "docker" "start" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rxd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | if let Err(e) = revert::revert(inhandle, outhandle, options) { [INFO] [stdout] | ^^^^^^ -------------------------------------------- this expression has type `()` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inhandle` [INFO] [stdout] --> src/revert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | inhandle: Box, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inhandle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outhandle` [INFO] [stdout] --> src/revert.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | outhandle: Box, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outhandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/revert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | options: Options, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut inhandle: Box, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | mut inhandle: Box, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rxd` (bin "rxd") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | if let Err(e) = revert::revert(inhandle, outhandle, options) { [INFO] [stdout] | ^^^^^^ -------------------------------------------- this expression has type `()` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inhandle` [INFO] [stdout] --> src/revert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | inhandle: Box, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inhandle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outhandle` [INFO] [stdout] --> src/revert.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | outhandle: Box, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outhandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/revert.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | options: Options, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | mut inhandle: Box, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | mut inhandle: Box, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rxd` (bin "rxd" test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4", kill_on_drop: false }` [INFO] [stdout] 51c12bae07f81a85eff119d8c26ba71643c7e7ac9deef61f4235b862ce758cc4