[INFO] cloning repository https://github.com/johnt7/sampleRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnt7/sampleRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnt7%2FsampleRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnt7%2FsampleRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cda715b9d692549e59d6ac9ac582fdeff0e255ff [INFO] checking johnt7/sampleRust against try#af54b6062f33b99e418444700f3a823ef0214052 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnt7%2FsampleRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnt7/sampleRust on toolchain af54b6062f33b99e418444700f3a823ef0214052 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnt7/sampleRust [INFO] finished tweaking git repo https://github.com/johnt7/sampleRust [INFO] tweaked toml for git repo https://github.com/johnt7/sampleRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/johnt7/sampleRust 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" "+af54b6062f33b99e418444700f3a823ef0214052" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 087b8dbae92b1441bd8e6c9f533f2436bd1fdfe5edc91d192efa6772c53cbe9c [INFO] running `Command { std: "docker" "start" "-a" "087b8dbae92b1441bd8e6c9f533f2436bd1fdfe5edc91d192efa6772c53cbe9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "087b8dbae92b1441bd8e6c9f533f2436bd1fdfe5edc91d192efa6772c53cbe9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "087b8dbae92b1441bd8e6c9f533f2436bd1fdfe5edc91d192efa6772c53cbe9c", kill_on_drop: false }` [INFO] [stdout] 087b8dbae92b1441bd8e6c9f533f2436bd1fdfe5edc91d192efa6772c53cbe9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+af54b6062f33b99e418444700f3a823ef0214052" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fc73e4bccbc856a70bd0d87373fc15bf8655a763c602c216737bc99e78f7e2d [INFO] running `Command { std: "docker" "start" "-a" "5fc73e4bccbc856a70bd0d87373fc15bf8655a763c602c216737bc99e78f7e2d", kill_on_drop: false }` [INFO] [stderr] Checking demoproj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | match fallible2jt(x) { [INFO] [stdout] | -------------- this expression has type `Jtres` [INFO] [stdout] 87 | Ok(s) => println!("worked 2={}", s), [INFO] [stdout] | ^^^^^ expected `Jtres`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Jtres` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | match fallible2jt(x) { [INFO] [stdout] | -------------- this expression has type `Jtres` [INFO] [stdout] 87 | Ok(s) => println!("worked 2={}", s), [INFO] [stdout] | ^^^^^ expected `Jtres`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Jtres` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 86 | match fallible2jt(x) { [INFO] [stdout] | -------------- this expression has type `Jtres` [INFO] [stdout] 87 | Ok(s) => println!("worked 2={}", s), [INFO] [stdout] 88 | Err(e) => println!("error 2={}", e) [INFO] [stdout] | ^^^^^^ expected `Jtres`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Jtres` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 86 | match fallible2jt(x) { [INFO] [stdout] | -------------- this expression has type `Jtres` [INFO] [stdout] 87 | Ok(s) => println!("worked 2={}", s), [INFO] [stdout] 88 | Err(e) => println!("error 2={}", e) [INFO] [stdout] | ^^^^^^ expected `Jtres`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Jtres` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let a = 42; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let a = 42; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let b = 10; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let b = 10; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `foo` is assigned to, but never used [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut foo: Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_foo` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `foo` is assigned to, but never used [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut foo: Option; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_foo` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foo` is never read [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | foo = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foo` is never read [INFO] [stdout] --> src/main.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | foo = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foo` is never read [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | foo = Some(3); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foo` is never read [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | foo = Some(3); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demoproj` (bin "demoproj") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `demoproj` (bin "demoproj" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fc73e4bccbc856a70bd0d87373fc15bf8655a763c602c216737bc99e78f7e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc73e4bccbc856a70bd0d87373fc15bf8655a763c602c216737bc99e78f7e2d", kill_on_drop: false }` [INFO] [stdout] 5fc73e4bccbc856a70bd0d87373fc15bf8655a763c602c216737bc99e78f7e2d