[INFO] fetching crate briliang_exercise 0.1.0...
[INFO] checking briliang_exercise-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate briliang_exercise 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate briliang_exercise 0.1.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate briliang_exercise 0.1.0
[INFO] finished tweaking crates.io crate briliang_exercise 0.1.0
[INFO] tweaked toml for crates.io crate briliang_exercise 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67dab005d621b7ab35b75e2e08930bb37408e904b4887d205e4462d363f884ab
[INFO] running `Command { std: "docker" "start" "-a" "67dab005d621b7ab35b75e2e08930bb37408e904b4887d205e4462d363f884ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67dab005d621b7ab35b75e2e08930bb37408e904b4887d205e4462d363f884ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67dab005d621b7ab35b75e2e08930bb37408e904b4887d205e4462d363f884ab", kill_on_drop: false }`
[INFO] [stdout] 67dab005d621b7ab35b75e2e08930bb37408e904b4887d205e4462d363f884ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2aaa083316c5513aa6cb10fb0e02f55579255cef9b6b9c937f7b378eba89194
[INFO] running `Command { std: "docker" "start" "-a" "c2aaa083316c5513aa6cb10fb0e02f55579255cef9b6b9c937f7b378eba89194", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking briliang_exercise v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/structure/mod.rs:78:22
[INFO] [stdout]    |
[INFO] [stdout] 78 |         struct Car {};
[INFO] [stdout]    |                      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/functional_feature/mod.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let mut counter = Counter::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tests/integration_test.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Guess {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 74 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Guess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `1` and `2` are never read
[INFO] [stdout]   --> tests/structure/mod.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |         struct Color(i32, i32, i32);
[INFO] [stdout]    |                -----      ^^^  ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 63 |         struct Color(i32, (), ());
[INFO] [stdout]    |                           ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> tests/structure/mod.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         struct Point(i32, i32, i32);
[INFO] [stdout]    |                ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 65 |         struct Point((), (), ());
[INFO] [stdout]    |                      ~~  ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |         V4(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |         V4(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |         V6(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 |         V6(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `address` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     struct IpAddr {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 17 |         kind: IpAddrKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |         address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Move { x: i32, y: i32 },
[INFO] [stdout]    |             ----   ^       ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Write(String),
[INFO] [stdout]    |             ----- ^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Write(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |             ChangeColor(i32, i32, i32),
[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] 60 |             ChangeColor((), (), ()),
[INFO] [stdout]    |                         ~~  ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> tests/module/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub struct BreakFast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 33 |         pub toast: String,
[INFO] [stdout] 34 |         seasonal_fruit: String
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakFast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Int(i32),
[INFO] [stdout]    |             --- ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Int(()),
[INFO] [stdout]    |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Float(f64),
[INFO] [stdout]    |             ----- ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Float(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Text(String),
[INFO] [stdout]    |             ---- ^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Text(()),
[INFO] [stdout]    |                  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/generic_trait_lifetime/mod.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         struct Point<T> {
[INFO] [stdout]    |                ----- fields in this struct
[INFO] [stdout] 75 |             x: T,
[INFO] [stdout]    |             ^
[INFO] [stdout] 76 |             y: T,
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/generic_trait_lifetime/mod.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         struct Point2<T, U> {
[INFO] [stdout]    |                ------ fields in this struct
[INFO] [stdout] 83 |             x: T,
[INFO] [stdout]    |             ^
[INFO] [stdout] 84 |             y: U,
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]    --> tests/generic_trait_lifetime/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     struct ImportantExcerpt<'a, T> {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] 354 |         part: &'a str,
[INFO] [stdout] 355 |         x: T,
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ImportantExcerpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/collections/mod.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         &hello[0..1];
[INFO] [stdout]     |         ^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let _ = &hello[0..1];
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "c2aaa083316c5513aa6cb10fb0e02f55579255cef9b6b9c937f7b378eba89194", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2aaa083316c5513aa6cb10fb0e02f55579255cef9b6b9c937f7b378eba89194", kill_on_drop: false }`
[INFO] [stdout] c2aaa083316c5513aa6cb10fb0e02f55579255cef9b6b9c937f7b378eba89194
[INFO] checking briliang_exercise-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate briliang_exercise 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate briliang_exercise 0.1.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate briliang_exercise 0.1.0
[INFO] finished tweaking crates.io crate briliang_exercise 0.1.0
[INFO] tweaked toml for crates.io crate briliang_exercise 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91f9c39ea35f807019c38a47e6bcc0c5feae84b20333817265773c3643519fdd
[INFO] running `Command { std: "docker" "start" "-a" "91f9c39ea35f807019c38a47e6bcc0c5feae84b20333817265773c3643519fdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91f9c39ea35f807019c38a47e6bcc0c5feae84b20333817265773c3643519fdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91f9c39ea35f807019c38a47e6bcc0c5feae84b20333817265773c3643519fdd", kill_on_drop: false }`
[INFO] [stdout] 91f9c39ea35f807019c38a47e6bcc0c5feae84b20333817265773c3643519fdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e2484d2740470146931d0bace67ae7a4efe82348f0ffe94567ea063c2ebb392
[INFO] running `Command { std: "docker" "start" "-a" "6e2484d2740470146931d0bace67ae7a4efe82348f0ffe94567ea063c2ebb392", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking briliang_exercise v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/structure/mod.rs:78:22
[INFO] [stdout]    |
[INFO] [stdout] 78 |         struct Car {};
[INFO] [stdout]    |                      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/functional_feature/mod.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let mut counter = Counter::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tests/integration_test.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Guess {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 74 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Guess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `1` and `2` are never read
[INFO] [stdout]   --> tests/structure/mod.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |         struct Color(i32, i32, i32);
[INFO] [stdout]    |                -----      ^^^  ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 63 |         struct Color(i32, (), ());
[INFO] [stdout]    |                           ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> tests/structure/mod.rs:65:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |         struct Point(i32, i32, i32);
[INFO] [stdout]    |                ----- ^^^  ^^^  ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 65 |         struct Point((), (), ());
[INFO] [stdout]    |                      ~~  ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |         V4(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 |         V4(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |         V6(String),
[INFO] [stdout]    |         -- ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 12 |         V6(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `address` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     struct IpAddr {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 17 |         kind: IpAddrKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |         address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Move { x: i32, y: i32 },
[INFO] [stdout]    |             ----   ^       ^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/enums/mod.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Write(String),
[INFO] [stdout]    |             ----- ^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Write(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> tests/enums/mod.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |             ChangeColor(i32, i32, i32),
[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] 60 |             ChangeColor((), (), ()),
[INFO] [stdout]    |                         ~~  ~~  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `seasonal_fruit` is never read
[INFO] [stdout]   --> tests/module/mod.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub struct BreakFast {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] 33 |         pub toast: String,
[INFO] [stdout] 34 |         seasonal_fruit: String
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BreakFast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Int(i32),
[INFO] [stdout]    |             --- ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Int(()),
[INFO] [stdout]    |                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Float(f64),
[INFO] [stdout]    |             ----- ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Float(()),
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/collections/mod.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Text(String),
[INFO] [stdout]    |             ---- ^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Text(()),
[INFO] [stdout]    |                  ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/generic_trait_lifetime/mod.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         struct Point<T> {
[INFO] [stdout]    |                ----- fields in this struct
[INFO] [stdout] 75 |             x: T,
[INFO] [stdout]    |             ^
[INFO] [stdout] 76 |             y: T,
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> tests/generic_trait_lifetime/mod.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         struct Point2<T, U> {
[INFO] [stdout]    |                ------ fields in this struct
[INFO] [stdout] 83 |             x: T,
[INFO] [stdout]    |             ^
[INFO] [stdout] 84 |             y: U,
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `x` is never read
[INFO] [stdout]    --> tests/generic_trait_lifetime/mod.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |     struct ImportantExcerpt<'a, T> {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] 354 |         part: &'a str,
[INFO] [stdout] 355 |         x: T,
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ImportantExcerpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/structure/mod.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 | /         impl Rectangle {
[INFO] [stdout] 126 | |             fn can_hold(&self, rectangle: &Rectangle) -> bool {
[INFO] [stdout] 127 | |                 self.width * self.height > rectangle.width * rectangle.height
[INFO] [stdout] 128 | |             }
[INFO] [stdout] 129 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_struct_method2`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/structure/mod.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 | /         impl Rectangle {
[INFO] [stdout] 141 | |             fn square(size: u32) -> Rectangle {
[INFO] [stdout] 142 | |                 Rectangle { width: size, height: size }
[INFO] [stdout] 143 | |             }
[INFO] [stdout] 144 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_associated_function`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> tests/collections/mod.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         &hello[0..1];
[INFO] [stdout]     |         ^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let _ = &hello[0..1];
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/generic_trait_lifetime/mod.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 | /         impl<'a, T> ImportantExcerpt<'a, T> {
[INFO] [stdout] 436 | |             //self 为啥不用生命周期声明？因为默认规则一已经在编译器添加
[INFO] [stdout] 437 | |             fn level(&self) -> i32 {
[INFO] [stdout] 438 | |                 3
[INFO] [stdout] ...   |
[INFO] [stdout] 444 | |             }
[INFO] [stdout] 445 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `test_lifetime_annotation_in_method_definition`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `briliang_exercise` (test "integration_test") due to 4 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6e2484d2740470146931d0bace67ae7a4efe82348f0ffe94567ea063c2ebb392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e2484d2740470146931d0bace67ae7a4efe82348f0ffe94567ea063c2ebb392", kill_on_drop: false }`
[INFO] [stdout] 6e2484d2740470146931d0bace67ae7a4efe82348f0ffe94567ea063c2ebb392
