[INFO] cloning repository https://github.com/viraj124/rust-examples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viraj124/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviraj124%2Frust-examples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviraj124%2Frust-examples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d8afde8327c435097a396e9ea74377216af4d2e
[INFO] checking viraj124/rust-examples against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviraj124%2Frust-examples" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  31% (3334/10604)
Updating files:  32% (3394/10604)
Updating files:  33% (3500/10604)
Updating files:  34% (3606/10604)
Updating files:  35% (3712/10604)
Updating files:  36% (3818/10604)
Updating files:  37% (3924/10604)
Updating files:  38% (4030/10604)
Updating files:  39% (4136/10604)
Updating files:  40% (4242/10604)
Updating files:  41% (4348/10604)
Updating files:  42% (4454/10604)
Updating files:  43% (4560/10604)
Updating files:  44% (4666/10604)
Updating files:  45% (4772/10604)
Updating files:  46% (4878/10604)
Updating files:  47% (4984/10604)
Updating files:  48% (5090/10604)
Updating files:  49% (5196/10604)
Updating files:  50% (5302/10604)
Updating files:  51% (5409/10604)
Updating files:  52% (5515/10604)
Updating files:  53% (5621/10604)
Updating files:  54% (5727/10604)
Updating files:  55% (5833/10604)
Updating files:  56% (5939/10604)
Updating files:  57% (6045/10604)
Updating files:  58% (6151/10604)
Updating files:  59% (6257/10604)
Updating files:  60% (6363/10604)
Updating files:  61% (6469/10604)
Updating files:  62% (6575/10604)
Updating files:  63% (6681/10604)
Updating files:  64% (6787/10604)
Updating files:  65% (6893/10604)
Updating files:  66% (6999/10604)
Updating files:  67% (7105/10604)
Updating files:  68% (7211/10604)
Updating files:  69% (7317/10604)
Updating files:  70% (7423/10604)
Updating files:  71% (7529/10604)
Updating files:  72% (7635/10604)
Updating files:  72% (7638/10604)
Updating files:  73% (7741/10604)
Updating files:  74% (7847/10604)
Updating files:  75% (7953/10604)
Updating files:  76% (8060/10604)
Updating files:  77% (8166/10604)
Updating files:  78% (8272/10604)
Updating files:  79% (8378/10604)
Updating files:  80% (8484/10604)
Updating files:  81% (8590/10604)
Updating files:  82% (8696/10604)
Updating files:  83% (8802/10604)
Updating files:  84% (8908/10604)
Updating files:  84% (8996/10604)
Updating files:  85% (9014/10604)
Updating files:  86% (9120/10604)
Updating files:  86% (9184/10604)
Updating files:  87% (9226/10604)
Updating files:  88% (9332/10604)
Updating files:  88% (9423/10604)
Updating files:  89% (9438/10604)
Updating files:  90% (9544/10604)
Updating files:  90% (9551/10604)
Updating files:  91% (9650/10604)
Updating files:  92% (9756/10604)
Updating files:  93% (9862/10604)
Updating files:  93% (9923/10604)
Updating files:  94% (9968/10604)
Updating files:  95% (10074/10604)
Updating files:  96% (10180/10604)
Updating files:  97% (10286/10604)
Updating files:  98% (10392/10604)
Updating files:  99% (10498/10604)
Updating files: 100% (10604/10604)
Updating files: 100% (10604/10604), done.
[INFO] started tweaking git repo https://github.com/viraj124/rust-examples
[INFO] finished tweaking git repo https://github.com/viraj124/rust-examples
[INFO] tweaked toml for git repo https://github.com/viraj124/rust-examples written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/viraj124/rust-examples on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/viraj124/rust-examples 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 059d0872c7b0dae6d4b4b96c5bb193e2aad19b76d68a636185b2c22f56db5238
[INFO] running `Command { std: "docker" "start" "-a" "059d0872c7b0dae6d4b4b96c5bb193e2aad19b76d68a636185b2c22f56db5238", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "059d0872c7b0dae6d4b4b96c5bb193e2aad19b76d68a636185b2c22f56db5238", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "059d0872c7b0dae6d4b4b96c5bb193e2aad19b76d68a636185b2c22f56db5238", kill_on_drop: false }`
[INFO] [stdout] 059d0872c7b0dae6d4b4b96c5bb193e2aad19b76d68a636185b2c22f56db5238
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24cbdf5659424cdef57beab1c30978c8cdc2dc719556cbeec421ddeb2af3da81
[INFO] running `Command { std: "docker" "start" "-a" "24cbdf5659424cdef57beab1c30978c8cdc2dc719556cbeec421ddeb2af3da81", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]     Checking dtoa v1.0.11
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]     Checking servo_arc v0.3.0
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]     Checking getopts v0.2.24
[INFO] [stderr]     Checking ego-tree v0.6.3
[INFO] [stderr]     Checking ch11-testing v0.1.0 (/opt/rustwide/workdir/ch11-testing)
[INFO] [stderr]     Checking ch15-smart-pointers v0.1.0 (/opt/rustwide/workdir/ch15-smart-pointers)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> ch11-testing/src/lib.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |         if(self.width < 10) {
[INFO] [stdout]    |           ^               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 12 -         if(self.width < 10) {
[INFO] [stdout] 12 +         if self.width < 10  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isLargerThan` should have a snake case name
[INFO] [stdout]  --> ch11-testing/src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn isLargerThan(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `is_larger_than`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ch12-minigrep-project v0.1.0 (/opt/rustwide/workdir/ch12-minigrep-project)
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> ch11-testing/src/main.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if (add(1, 4) == 5) {
[INFO] [stdout]    |            ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -         if (add(1, 4) == 5) {
[INFO] [stdout] 38 +         if add(1, 4) == 5  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     if (finder.isSensitive) {
[INFO] [stdout]    |        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     if (finder.isSensitive) {
[INFO] [stdout] 27 +     if finder.isSensitive  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `finderConfig` should have a snake case name
[INFO] [stdout]  --> ch12-minigrep-project/src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let finderConfig = Finder::new(env::args());
[INFO] [stdout]   |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `finder_config`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isSensitive` should have a snake case name
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     isSensitive: bool
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `is_sensitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isSensitive` should have a snake case name
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let isSensitive = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: convert the identifier to snake case: `is_sensitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> ch15-smart-pointers/src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;  // Reference cycle demonstration in lib.rs
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `New_List` should have an upper camel case name
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:253:6
[INFO] [stdout]     |
[INFO] [stdout] 253 | enum New_List {
[INFO] [stdout]     |      ^^^^^^^^ help: convert the identifier to upper camel case: `NewList`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stdout] warning: function `test_with_Result` should have a snake case name
[INFO] [stdout]   --> ch11-testing/src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn test_with_Result() -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_with_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ch08-common-collections v0.1.0 (/opt/rustwide/workdir/ch08-common-collections)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> ch15-smart-pointers/src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;  // Reference cycle demonstration in lib.rs
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `New_List` should have an upper camel case name
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:253:6
[INFO] [stdout]     |
[INFO] [stdout] 253 | enum New_List {
[INFO] [stdout]     |      ^^^^^^^^ help: convert the identifier to upper camel case: `NewList`
[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: field `1` is never read
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:254:28
[INFO] [stdout]     |
[INFO] [stdout] 254 |     Cons(Rc<RefCell<i32>>, Rc<New_List>),
[INFO] [stdout]     |     ----                   ^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `New_List` 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] 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] 254 -     Cons(Rc<RefCell<i32>>, Rc<New_List>),
[INFO] [stdout] 254 +     Cons(Rc<RefCell<i32>>, ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> ch15-smart-pointers/src/lib.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 8 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 8 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout]  34 | fn main() {
[INFO] [stdout]     | --------- move the `impl` block outside of this function `main`
[INFO] [stdout] ...
[INFO] [stdout] 128 |     impl<'a, T> Email<'a, T>
[INFO] [stdout]     |     ^^^^^^^^^^^^-----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Email` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Email` is never constructed
[INFO] [stdout]   --> ch15-smart-pointers/src/main.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Email<'a, T: Messenger> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `messenger`, `max`, and `value` are never read
[INFO] [stdout]   --> ch15-smart-pointers/src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Email<'a, T: Messenger> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 29 |     messenger: &'a T,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 30 |     max: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     value: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_value` are never used
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | /     impl<'a, T> Email<'a, T>
[INFO] [stdout] 129 | |     where
[INFO] [stdout] 130 | |         T: Messenger,
[INFO] [stdout]     | |_____________________- associated items in this implementation
[INFO] [stdout] 131 |       {
[INFO] [stdout] 132 |           fn new(messenger: &'a T, max: usize) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |           fn set_value(&mut self, value: usize) {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `1` is never read
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:254:28
[INFO] [stdout]     |
[INFO] [stdout] 254 |     Cons(Rc<RefCell<i32>>, Rc<New_List>),
[INFO] [stdout]     |     ----                   ^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `New_List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 254 -     Cons(Rc<RefCell<i32>>, Rc<New_List>),
[INFO] [stdout] 254 +     Cons(Rc<RefCell<i32>>, ()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> ch15-smart-pointers/src/lib.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout]   |     ---- ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 8 -     Cons(i32, RefCell<Rc<List>>),
[INFO] [stdout] 8 +     Cons((), RefCell<Rc<List>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> ch15-smart-pointers/src/main.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout]  34 | fn main() {
[INFO] [stdout]     | --------- move the `impl` block outside of this function `main`
[INFO] [stdout] ...
[INFO] [stdout] 128 |     impl<'a, T> Email<'a, T>
[INFO] [stdout]     |     ^^^^^^^^^^^^-----^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `Email` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr] error: could not compile `ch15-smart-pointers` (bin "ch15-smart-pointers") due to 1 previous error; 7 warnings emitted
[INFO] [stdout] warning: unused imports: `ErrorKind` and `self`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, ErrorKind};
[INFO] [stdout]   |               ^^^^        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `spead` should have an upper camel case name
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |     enum spead {
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spead`
[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: `Read`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, ErrorKind};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `third`
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Some(third) => println!("third"),
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_third`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let s = format!("{s1}-{s2}-{s3}");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> ch08-common-collections/src/main.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let f = File::open("file.txt");
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind` and `self`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, ErrorKind};
[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 import: `std::error::Error`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `spead` should have an upper camel case name
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |     enum spead {
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spead`
[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: `ch11_testing::Rectangle`
[INFO] [stdout]  --> ch11-testing/src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ch11_testing::Rectangle;
[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 import: `Read`
[INFO] [stdout]  --> ch08-common-collections/src/main.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, ErrorKind};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `third`
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Some(third) => println!("third"),
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_third`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let s = format!("{s1}-{s2}-{s3}");
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> ch08-common-collections/src/main.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     let f = File::open("file.txt");
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Decimal(f32),
[INFO] [stdout]    |         ------- ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 41 -         Decimal(f32),
[INFO] [stdout] 41 +         Decimal(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> ch08-common-collections/src/main.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         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] 42 -         Text(String)
[INFO] [stdout] 42 +         Text(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     if (finder.isSensitive) {
[INFO] [stdout]    |        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     if (finder.isSensitive) {
[INFO] [stdout] 27 +     if finder.isSensitive  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `finderConfig` should have a snake case name
[INFO] [stdout]  --> ch12-minigrep-project/src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let finderConfig = Finder::new(env::args());
[INFO] [stdout]   |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `finder_config`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isSensitive` should have a snake case name
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     isSensitive: bool
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `is_sensitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `isSensitive` should have a snake case name
[INFO] [stdout]   --> ch12-minigrep-project/src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let isSensitive = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: convert the identifier to snake case: `is_sensitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "24cbdf5659424cdef57beab1c30978c8cdc2dc719556cbeec421ddeb2af3da81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24cbdf5659424cdef57beab1c30978c8cdc2dc719556cbeec421ddeb2af3da81", kill_on_drop: false }`
[INFO] [stdout] 24cbdf5659424cdef57beab1c30978c8cdc2dc719556cbeec421ddeb2af3da81
