[INFO] cloning repository https://github.com/AdamHarries/type-inference [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamHarries/type-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df86a34b5ec3981096a3d700ee22f4c3fa13cfe9 [INFO] checking AdamHarries/type-inference/df86a34b5ec3981096a3d700ee22f4c3fa13cfe9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdamHarries/type-inference on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdamHarries/type-inference [INFO] finished tweaking git repo https://github.com/AdamHarries/type-inference [INFO] tweaked toml for git repo https://github.com/AdamHarries/type-inference written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdamHarries/type-inference 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebd5eddb214b32f811dbb1d76e5ef8ecdba5c07b06565dd29242e96a61b2b469 [INFO] running `Command { std: "docker" "start" "-a" "ebd5eddb214b32f811dbb1d76e5ef8ecdba5c07b06565dd29242e96a61b2b469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebd5eddb214b32f811dbb1d76e5ef8ecdba5c07b06565dd29242e96a61b2b469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd5eddb214b32f811dbb1d76e5ef8ecdba5c07b06565dd29242e96a61b2b469", kill_on_drop: false }` [INFO] [stdout] ebd5eddb214b32f811dbb1d76e5ef8ecdba5c07b06565dd29242e96a61b2b469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94f84647a09c54eb5d87e38b0c0e01b7708f5b96a3eb98101316678584f43e24 [INFO] running `Command { std: "docker" "start" "-a" "94f84647a09c54eb5d87e38b0c0e01b7708f5b96a3eb98101316678584f43e24", kill_on_drop: false }` [INFO] [stderr] Checking infer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/lib.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | None => panic!("Variable no longer in context!"); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 69 | None => panic!("Variable no longer in context!"), [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/lib.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | None => panic!("Variable no longer in context!"); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 69 | None => panic!("Variable no longer in context!"), [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/context.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | _ => Type::Unit, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/context.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 271 | Type::Unit => Type::Unit, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 272 | v @ Type::Var(_) => v, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 273 | Type::EVar(ref alpha) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 280 | Type::Arr(a, b) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 284 | _ => Type::Unit, [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/context.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | _ => Type::Unit, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/context.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 271 | Type::Unit => Type::Unit, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 272 | v @ Type::Var(_) => v, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] 273 | Type::EVar(ref alpha) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 280 | Type::Arr(a, b) => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 284 | _ => Type::Unit, [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infer` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `infer` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "94f84647a09c54eb5d87e38b0c0e01b7708f5b96a3eb98101316678584f43e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f84647a09c54eb5d87e38b0c0e01b7708f5b96a3eb98101316678584f43e24", kill_on_drop: false }` [INFO] [stdout] 94f84647a09c54eb5d87e38b0c0e01b7708f5b96a3eb98101316678584f43e24