[INFO] cloning repository https://github.com/polunzh/rust-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/polunzh/rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolunzh%2Frust-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolunzh%2Frust-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21e3bd366cb3d0fc9a0bca59fef1d5b696f1b7bb
[INFO] checking polunzh/rust-demo against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolunzh%2Frust-demo" "/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/polunzh/rust-demo
[INFO] finished tweaking git repo https://github.com/polunzh/rust-demo
[INFO] tweaked toml for git repo https://github.com/polunzh/rust-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/polunzh/rust-demo on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/polunzh/rust-demo 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679
[INFO] running `Command { std: "docker" "start" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679", 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" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679", 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" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]     Checking function v0.1.0 (/opt/rustwide/workdir/function)
[INFO] [stderr]     Checking match_demo v0.1.0 (/opt/rustwide/workdir/match_demo)
[INFO] [stderr]     Checking hello_world v0.1.0 (/opt/rustwide/workdir/hello_world)
[INFO] [stderr]     Checking control-flow v0.1.0 (/opt/rustwide/workdir/control-flow)
[INFO] [stderr]     Checking slice v0.1.0 (/opt/rustwide/workdir/slice)
[INFO] [stderr]     Checking variables v0.1.0 (/opt/rustwide/workdir/variables)
[INFO] [stderr]     Checking integer v0.1.0 (/opt/rustwide/workdir/integer)
[INFO] [stderr]     Checking enum_demo v0.1.0 (/opt/rustwide/workdir/enum_demo)
[INFO] [stderr]     Checking ownership v0.1.0 (/opt/rustwide/workdir/ownership)
[INFO] [stderr]     Checking compound v0.1.0 (/opt/rustwide/workdir/compound)
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 |   let a: i8 = 127;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 |   let a: i8 = -127;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 |   let a: u8 = 255;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind1` is never used
[INFO] [stdout]  --> enum_demo/src/main.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum IpAddrKind1 {
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> enum_demo/src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   V4(u8, u8, u8, u8),
[INFO] [stdout]   |   -- ^^  ^^  ^^  ^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 7 -   V4(u8, u8, u8, u8),
[INFO] [stdout] 7 +   V4((), (), (), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> enum_demo/src/main.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum IpAddrKind2 {
[INFO] [stdout]   |      ----------- variant in this enum
[INFO] [stdout] 7 |   V4(u8, u8, u8, u8),
[INFO] [stdout] 8 |   V6(String),
[INFO] [stdout]   |   ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> match_demo/src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut count = 0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> match_demo/src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     count += 1;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dim` are never constructed
[INFO] [stdout]   --> match_demo/src/main.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout]  8 |   Penny,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]  9 |   Nickel,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   Dim,
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IpAddrKind1` is never used
[INFO] [stdout]  --> enum_demo/src/main.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum IpAddrKind1 {
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> enum_demo/src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   V4(u8, u8, u8, u8),
[INFO] [stdout]   |   -- ^^  ^^  ^^  ^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 7 -   V4(u8, u8, u8, u8),
[INFO] [stdout] 7 +   V4((), (), (), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V6` is never constructed
[INFO] [stdout]  --> enum_demo/src/main.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum IpAddrKind2 {
[INFO] [stdout]   |      ----------- variant in this enum
[INFO] [stdout] 7 |   V4(u8, u8, u8, u8),
[INFO] [stdout] 8 |   V6(String),
[INFO] [stdout]   |   ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> function/src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     y + 5; // 语句
[INFO] [stdout]    |     ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let _ = y + 5; // 语句
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 |   let a: i8 = 127;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 |   let a: i8 = -127;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> integer/src/main.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 |   let a: u8 = 255;
[INFO] [stdout]   |       ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> function/src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     y + 5; // 语句
[INFO] [stdout]    |     ^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let _ = y + 5; // 语句
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `count` is assigned to, but never used
[INFO] [stdout]   --> match_demo/src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut count = 0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_count` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `count` is never read
[INFO] [stdout]   --> match_demo/src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     count += 1;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dim` are never constructed
[INFO] [stdout]   --> match_demo/src/main.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum Coin {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout]  8 |   Penny,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]  9 |   Nickel,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 10 |   Dim,
[INFO] [stdout]    |   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking guessing_game v0.1.0 (/opt/rustwide/workdir/guessing_game)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s
[INFO] running `Command { std: "docker" "inspect" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679", kill_on_drop: false }`
[INFO] [stdout] d78cdc85f4ee7adf9d56f8dfdc3eaa95a5c5c4116b34a2d00372ffa51fe4e679
