[INFO] cloning repository https://github.com/iLeepop/rust_base
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iLeepop/rust_base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiLeepop%2Frust_base", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiLeepop%2Frust_base'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1b37f821de65febea520018f55757483daf339e
[INFO] checking iLeepop/rust_base against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiLeepop%2Frust_base" "/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/iLeepop/rust_base
[INFO] finished tweaking git repo https://github.com/iLeepop/rust_base
[INFO] tweaked toml for git repo https://github.com/iLeepop/rust_base written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iLeepop/rust_base on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iLeepop/rust_base 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14f9c9994e6898de6255eff1fe53e2857db3e5bdafe59184383637d3a80ec17a
[INFO] running `Command { std: "docker" "start" "-a" "14f9c9994e6898de6255eff1fe53e2857db3e5bdafe59184383637d3a80ec17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14f9c9994e6898de6255eff1fe53e2857db3e5bdafe59184383637d3a80ec17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14f9c9994e6898de6255eff1fe53e2857db3e5bdafe59184383637d3a80ec17a", kill_on_drop: false }`
[INFO] [stdout] 14f9c9994e6898de6255eff1fe53e2857db3e5bdafe59184383637d3a80ec17a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6c59380d92cecd2848d3b588cca9edc23b92c9464e405caffb611b937753390
[INFO] running `Command { std: "docker" "start" "-a" "a6c59380d92cecd2848d3b588cca9edc23b92c9464e405caffb611b937753390", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_base v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Numeral_System` should have an upper camel case name
[INFO] [stdout]   --> src/base_type.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub enum Numeral_System {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NumeralSystem`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/traits.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::fmt::{Debug, Display, Result};
[INFO] [stdout]   |                                    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `oops`
[INFO] [stdout]  --> src/rule.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     macro_rules! oops {
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `ten`
[INFO] [stdout]   --> src/rule.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     macro_rules! ten {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `next`
[INFO] [stdout]   --> src/rule.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     macro_rules! next {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignedIntegers` is never constructed
[INFO] [stdout]  --> src/base_type.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct SignedIntegers {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnsignedIntegers` is never constructed
[INFO] [stdout]   --> src/base_type.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub struct UnsignedIntegers {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Numeral_System` is never used
[INFO] [stdout]   --> src/base_type.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub enum Numeral_System {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FloatPoint` is never constructed
[INFO] [stdout]   --> src/base_type.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     struct FloatPoint {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Boolean` is never constructed
[INFO] [stdout]   --> src/base_type.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     struct Boolean {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Char` is never constructed
[INFO] [stdout]   --> src/base_type.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     struct Char {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tuples` is never constructed
[INFO] [stdout]   --> src/base_type.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     struct Tuples {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Array` is never constructed
[INFO] [stdout]   --> src/base_type.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     struct Array {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ex` is never constructed
[INFO] [stdout]   --> src/base_type.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |     struct Ex {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `In` is never used
[INFO] [stdout]   --> src/base_type.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |     enum In {
[INFO] [stdout]    |          ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GT` is never constructed
[INFO] [stdout]  --> src/generic_type.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     struct GT<T> {
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_member` are never used
[INFO] [stdout]   --> src/generic_type.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     impl<T: Debug> GT<T> {
[INFO] [stdout]    |     -------------------- associated items in this implementation
[INFO] [stdout] 14 |         fn new(member: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |         fn set_member(&mut self, m: T) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Obj` is never constructed
[INFO] [stdout]  --> src/traits.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     struct Obj<T> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/traits.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     impl<T: Debug> Obj<T> {
[INFO] [stdout]    |     --------------------- associated function in this implementation
[INFO] [stdout] 15 |         fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Show` is never used
[INFO] [stdout]   --> src/traits.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     trait Show {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/traits.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     struct Rectangle {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/traits.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     impl Rectangle {
[INFO] [stdout]    |     -------------- associated function in this implementation
[INFO] [stdout] 49 |         fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Compare` is never used
[INFO] [stdout]   --> src/traits.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 |     trait Compare<Rhs=Self> {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run1` is never used
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn run1() {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Numeral_System` should have an upper camel case name
[INFO] [stdout]   --> src/base_type.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub enum Numeral_System {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NumeralSystem`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/traits.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::fmt::{Debug, Display, Result};
[INFO] [stdout]   |                                    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/base_flow_control.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let c = if b > 50 { 80 } else { 130 };
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/base_flow_control.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let b = match light {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RED` and `YELLOW` are never constructed
[INFO] [stdout]   --> src/base_flow_control.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         enum Traffical {
[INFO] [stdout]    |              --------- variants in this enum
[INFO] [stdout] 47 |             RED,
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 48 |             GREEN,
[INFO] [stdout] 49 |             YELLOW,
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignedIntegers` is never constructed
[INFO] [stdout]  --> src/base_type.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct SignedIntegers {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnsignedIntegers` is never constructed
[INFO] [stdout]   --> src/base_type.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub struct UnsignedIntegers {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Numeral_System` is never used
[INFO] [stdout]   --> src/base_type.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub enum Numeral_System {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FloatPoint` is never constructed
[INFO] [stdout]   --> src/base_type.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     struct FloatPoint {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Boolean` is never constructed
[INFO] [stdout]   --> src/base_type.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     struct Boolean {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Char` is never constructed
[INFO] [stdout]   --> src/base_type.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     struct Char {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tuples` is never constructed
[INFO] [stdout]   --> src/base_type.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     struct Tuples {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Array` is never constructed
[INFO] [stdout]   --> src/base_type.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     struct Array {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ex` is never constructed
[INFO] [stdout]   --> src/base_type.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |     struct Ex {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `A`, `D`, and `C` are never constructed
[INFO] [stdout]   --> src/base_type.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     enum In {
[INFO] [stdout]    |          -- variants in this enum
[INFO] [stdout] 85 |         // 第一个枚举默认为 0
[INFO] [stdout] 86 |         A,
[INFO] [stdout]    |         ^
[INFO] [stdout] 87 |         // 后面依次递增 D为1
[INFO] [stdout] 88 |         D,
[INFO] [stdout]    |         ^
[INFO] [stdout] ...
[INFO] [stdout] 92 |         C,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `member` is never read
[INFO] [stdout]  --> src/generic_type.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     struct GT<T> {
[INFO] [stdout]   |            -- field in this struct
[INFO] [stdout] 9 |         member: T,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `GT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_member` is never used
[INFO] [stdout]   --> src/generic_type.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     impl<T: Debug> GT<T> {
[INFO] [stdout]    |     -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |         fn set_member(&mut self, m: T) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/traits.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |     struct Obj<T> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout]  9 |         name: String,
[INFO] [stdout] 10 |         value: T,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Obj` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "a6c59380d92cecd2848d3b588cca9edc23b92c9464e405caffb611b937753390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6c59380d92cecd2848d3b588cca9edc23b92c9464e405caffb611b937753390", kill_on_drop: false }`
[INFO] [stdout] a6c59380d92cecd2848d3b588cca9edc23b92c9464e405caffb611b937753390
