[INFO] cloning repository https://github.com/ryohei-emori/rust-learning-codebase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryohei-emori/rust-learning-codebase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryohei-emori%2Frust-learning-codebase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryohei-emori%2Frust-learning-codebase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3c874e0d613ff6a94868cd763a31d729dbf9b3a [INFO] checking ryohei-emori/rust-learning-codebase against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryohei-emori%2Frust-learning-codebase" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryohei-emori/rust-learning-codebase [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ryohei-emori/rust-learning-codebase [INFO] tweaked toml for git repo https://github.com/ryohei-emori/rust-learning-codebase written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryohei-emori/rust-learning-codebase on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryohei-emori/rust-learning-codebase 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ryohei-emori/rust-learning-codebase against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryohei-emori%2Frust-learning-codebase" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryohei-emori/rust-learning-codebase [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ryohei-emori/rust-learning-codebase [INFO] tweaked toml for git repo https://github.com/ryohei-emori/rust-learning-codebase written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryohei-emori/rust-learning-codebase on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryohei-emori/rust-learning-codebase 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82541a726e32fa0279e2313482ba0b52ab3ada3c4de65b239ec719baa57c9b2a [INFO] running `Command { std: "docker" "start" "-a" "82541a726e32fa0279e2313482ba0b52ab3ada3c4de65b239ec719baa57c9b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82541a726e32fa0279e2313482ba0b52ab3ada3c4de65b239ec719baa57c9b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82541a726e32fa0279e2313482ba0b52ab3ada3c4de65b239ec719baa57c9b2a", kill_on_drop: false }` [INFO] [stdout] 82541a726e32fa0279e2313482ba0b52ab3ada3c4de65b239ec719baa57c9b2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60374a73f7a37c4b95335df1563d927e6f3e46c2f26e4036499498ee3e7c9ba6 [INFO] running `Command { std: "docker" "start" "-a" "60374a73f7a37c4b95335df1563d927e6f3e46c2f26e4036499498ee3e7c9ba6", kill_on_drop: false }` [INFO] [stderr] Checking rust-learning-codebase v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `say_hello` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 515 | macro_rules! say_hello { [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: `create_function` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | macro_rules! create_function { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `calculate` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:531:14 [INFO] [stdout] | [INFO] [stdout] 531 | macro_rules! calculate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | macro_rules! hashmap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_all` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 551 | macro_rules! print_all { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `say_hello` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 515 | macro_rules! say_hello { [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: `create_function` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | macro_rules! create_function { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `calculate` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:531:14 [INFO] [stdout] | [INFO] [stdout] 531 | macro_rules! calculate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `hashmap` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | macro_rules! hashmap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `print_all` [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:551:14 [INFO] [stdout] | [INFO] [stdout] 551 | macro_rules! print_all { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_first_word` is never used [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 224 | impl Sentence { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | fn get_first_word(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce_and_return_part` is never used [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 367 | struct Chapter<'a, 'b> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 368 | title: &'a str, [INFO] [stdout] 369 | content: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/chapters/chapter05_structs_enums.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [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] 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] 269 - V4(u8, u8, u8, u8), [INFO] [stdout] 269 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chapters/chapter05_structs_enums.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 270 - V6(String), [INFO] [stdout] 270 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/chapters/chapter06_traits.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/chapters/chapter06_traits.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator2` is never used [INFO] [stdout] --> src/chapters/chapter06_traits.rs:604:7 [INFO] [stdout] | [INFO] [stdout] 604 | trait Iterator2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_super_concise` is never used [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn read_file_super_concise(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 279 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 280 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 281 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `name`, `age`, and `email` are never read [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 540 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 541 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 542 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 543 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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] --> src/chapters/chapter09_generics.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | struct MixedPoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 136 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 137 | y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MixedPoint` 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 `to_meters` is never used [INFO] [stdout] --> src/chapters/chapter09_generics.rs:780:8 [INFO] [stdout] | [INFO] [stdout] 779 | impl Distance { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 780 | fn to_meters(self) -> Distance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/chapters/chapter09_generics.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 804 | impl Connection { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn disconnect(self) -> Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `timeout` are never read [INFO] [stdout] --> src/chapters/chapter09_generics.rs:823:5 [INFO] [stdout] | [INFO] [stdout] 822 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 823 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 824 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 825 | timeout: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `0` and `1` are never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 278 - Cons(i32, Box), [INFO] [stdout] 278 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 286 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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 `host`, `port`, `max_connections`, and `timeout` are never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 631 | struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 632 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 633 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 634 | max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 635 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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 `get_first_word` is never used [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 224 | impl Sentence { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | fn get_first_word(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce_and_return_part` is never used [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/chapters/chapter04_lifetimes.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 367 | struct Chapter<'a, 'b> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 368 | title: &'a str, [INFO] [stdout] 369 | content: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/chapters/chapter05_structs_enums.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [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] 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] 269 - V4(u8, u8, u8, u8), [INFO] [stdout] 269 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chapters/chapter05_structs_enums.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 270 - V6(String), [INFO] [stdout] 270 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/chapters/chapter06_traits.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/chapters/chapter06_traits.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Iterator2` is never used [INFO] [stdout] --> src/chapters/chapter06_traits.rs:604:7 [INFO] [stdout] | [INFO] [stdout] 604 | trait Iterator2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_super_concise` is never used [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn read_file_super_concise(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 279 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 280 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 281 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `name`, `age`, and `email` are never read [INFO] [stdout] --> src/chapters/chapter07_error_handling.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 540 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 541 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 542 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 543 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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] --> src/chapters/chapter09_generics.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | struct MixedPoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 136 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 137 | y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MixedPoint` 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 `to_meters` is never used [INFO] [stdout] --> src/chapters/chapter09_generics.rs:780:8 [INFO] [stdout] | [INFO] [stdout] 779 | impl Distance { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 780 | fn to_meters(self) -> Distance { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/chapters/chapter09_generics.rs:809:8 [INFO] [stdout] | [INFO] [stdout] 804 | impl Connection { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 809 | fn disconnect(self) -> Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `timeout` are never read [INFO] [stdout] --> src/chapters/chapter09_generics.rs:823:5 [INFO] [stdout] | [INFO] [stdout] 822 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 823 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 824 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 825 | timeout: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `0` and `1` are never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 278 - Cons(i32, Box), [INFO] [stdout] 278 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 286 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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 `host`, `port`, `max_connections`, and `timeout` are never read [INFO] [stdout] --> src/chapters/chapter10_advanced.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 631 | struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 632 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 633 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 634 | max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 635 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` 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 1.26s [INFO] running `Command { std: "docker" "inspect" "60374a73f7a37c4b95335df1563d927e6f3e46c2f26e4036499498ee3e7c9ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60374a73f7a37c4b95335df1563d927e6f3e46c2f26e4036499498ee3e7c9ba6", kill_on_drop: false }` [INFO] [stdout] 60374a73f7a37c4b95335df1563d927e6f3e46c2f26e4036499498ee3e7c9ba6