[INFO] cloning repository https://github.com/xmas7/rust-tutorials
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmas7/rust-tutorials" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-tutorials", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-tutorials'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 862aca94441dd9bf662f267debfb7157068086b0
[INFO] testing xmas7/rust-tutorials against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmas7%2Frust-tutorials" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xmas7/rust-tutorials
[INFO] finished tweaking git repo https://github.com/xmas7/rust-tutorials
[INFO] tweaked toml for git repo https://github.com/xmas7/rust-tutorials written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xmas7/rust-tutorials on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xmas7/rust-tutorials 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded borsh-derive v0.9.1
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.9.1
[INFO] [stderr]   Downloaded quote v1.0.10
[INFO] [stderr]   Downloaded arr_macro_impl v0.1.3
[INFO] [stderr]   Downloaded toml v0.5.8
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.19
[INFO] [stderr]   Downloaded borsh v0.9.1
[INFO] [stderr]   Downloaded ahash v0.4.7
[INFO] [stderr]   Downloaded proc-macro2 v1.0.32
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded proc-macro-crate v0.1.5
[INFO] [stderr]   Downloaded arr_macro v0.1.3
[INFO] [stderr]   Downloaded borsh-derive-internal v0.9.1
[INFO] [stderr]   Downloaded serde v1.0.130
[INFO] [stderr]   Downloaded syn v1.0.81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2161049001fe2427e3732f8c4401ad2825c8268edbc88da078495e73faaeba0
[INFO] running `Command { std: "docker" "start" "-a" "f2161049001fe2427e3732f8c4401ad2825c8268edbc88da078495e73faaeba0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2161049001fe2427e3732f8c4401ad2825c8268edbc88da078495e73faaeba0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2161049001fe2427e3732f8c4401ad2825c8268edbc88da078495e73faaeba0", kill_on_drop: false }`
[INFO] [stdout] f2161049001fe2427e3732f8c4401ad2825c8268edbc88da078495e73faaeba0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52eee83a05b44dbf990f416e4eb55383cfcf96466590e16dd8a1e558a27b282b
[INFO] running `Command { std: "docker" "start" "-a" "52eee83a05b44dbf990f416e4eb55383cfcf96466590e16dd8a1e558a27b282b", 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]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-schema-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]    Compiling arr_macro v0.1.3
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling borsh v0.9.1
[INFO] [stderr]    Compiling example v0.1.0 (/opt/rustwide/workdir)
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.27s
[INFO] running `Command { std: "docker" "inspect" "52eee83a05b44dbf990f416e4eb55383cfcf96466590e16dd8a1e558a27b282b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52eee83a05b44dbf990f416e4eb55383cfcf96466590e16dd8a1e558a27b282b", kill_on_drop: false }`
[INFO] [stdout] 52eee83a05b44dbf990f416e4eb55383cfcf96466590e16dd8a1e558a27b282b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39691ca7bd45f00ef963e985914849f1967966accde10831ac5ada0fe2727599
[INFO] running `Command { std: "docker" "start" "-a" "39691ca7bd45f00ef963e985914849f1967966accde10831ac5ada0fe2727599", kill_on_drop: false }`
[INFO] [stderr]    Compiling example v0.1.0 (/opt/rustwide/workdir)
[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]    = note: this warning originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:599:0
[INFO] [stdout]   ::: /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:603:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]   ::: /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:607: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] [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: `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: `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] running `Command { std: "docker" "inspect" "39691ca7bd45f00ef963e985914849f1967966accde10831ac5ada0fe2727599", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39691ca7bd45f00ef963e985914849f1967966accde10831ac5ada0fe2727599", kill_on_drop: false }`
[INFO] [stdout] 39691ca7bd45f00ef963e985914849f1967966accde10831ac5ada0fe2727599
