[INFO] cloning repository https://github.com/smart0126/rust-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smart0126/rust-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmart0126%2Frust-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmart0126%2Frust-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0fc9520e4e1c6dcc43e5b968034372046e27baa4
[INFO] checking smart0126/rust-tutorial against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmart0126%2Frust-tutorial" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/smart0126/rust-tutorial
[INFO] finished tweaking git repo https://github.com/smart0126/rust-tutorial
[INFO] tweaked toml for git repo https://github.com/smart0126/rust-tutorial written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smart0126/rust-tutorial on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/smart0126/rust-tutorial 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.9.1
[INFO] [stderr]   Downloaded ahash v0.4.7
[INFO] [stderr]   Downloaded borsh-derive v0.9.1
[INFO] [stderr]   Downloaded borsh v0.9.1
[INFO] [stderr]   Downloaded borsh-derive-internal v0.9.1
[INFO] [stderr]   Downloaded arr_macro v0.1.3
[INFO] [stderr]   Downloaded arr_macro_impl v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee
[INFO] running `Command { std: "docker" "start" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee", 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" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee", 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" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling arr_macro_impl v0.1.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]     Checking arr_macro v0.1.3
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]     Checking borsh v0.9.1
[INFO] [stderr]     Checking example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> examples/closures.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let res = f(10);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> examples/struct.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let y = x.to_string();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_first_name` is never used
[INFO] [stdout]   --> examples/struct.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Person {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn set_first_name(&mut self, first: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/main.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x: u32 = 0;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> examples/iterator.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Foo {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] 37 |     name: String
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/main.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let x: u32 = 0;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> examples/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     match somefn() {
[INFO] [stdout] 53 | |
[INFO] [stdout] 54 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 55 |
[INFO] [stdout] 56 |       println!()
[INFO] [stdout]    |       ^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `None` and `Some(_)` not covered
[INFO] [stdout]   --> examples/mod.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 |     match somefn() {
[INFO] [stdout]    |           ^^^^^^^^ patterns `None` and `Some(_)` not covered
[INFO] [stdout]    |
[INFO] [stdout] note: `Option<u32>` defined here
[INFO] [stdout]   --> /rustc/36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6/library/core/src/option.rs:598:0
[INFO] [stdout]   ::: /rustc/36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6/library/core/src/option.rs:602:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]   ::: /rustc/36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6/library/core/src/option.rs:606:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]    = note: the matched value is of type `Option<u32>`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 52 |     match somefn() {
[INFO] [stdout] 53 +         None | Some(_) => todo!(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example` (example "mod") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee", kill_on_drop: false }`
[INFO] [stdout] 117acb886116905d646c17960ee1aa6c5e61f4b501a1aa8a31f2e8c987890bee
