[INFO] cloning repository https://github.com/shiinazuki/study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiinazuki/study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinazuki%2Fstudy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinazuki%2Fstudy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 691165d60e4d1ed8cffd7da5600384af829a6aaf [INFO] checking shiinazuki/study against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinazuki%2Fstudy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shiinazuki/study on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shiinazuki/study [INFO] finished tweaking git repo https://github.com/shiinazuki/study [INFO] tweaked toml for git repo https://github.com/shiinazuki/study written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shiinazuki/study 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acb634e1b96cc4ca20b5696f09091cb6c86c5ea57b240d39722dd8bf2b725c35 [INFO] running `Command { std: "docker" "start" "-a" "acb634e1b96cc4ca20b5696f09091cb6c86c5ea57b240d39722dd8bf2b725c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acb634e1b96cc4ca20b5696f09091cb6c86c5ea57b240d39722dd8bf2b725c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb634e1b96cc4ca20b5696f09091cb6c86c5ea57b240d39722dd8bf2b725c35", kill_on_drop: false }` [INFO] [stdout] acb634e1b96cc4ca20b5696f09091cb6c86c5ea57b240d39722dd8bf2b725c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a322eec51173620870c41ef07b17b72974a7270c138665b55aade4d4580a870e [INFO] running `Command { std: "docker" "start" "-a" "a322eec51173620870c41ef07b17b72974a7270c138665b55aade4d4580a870e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking chapt8_collections v0.1.0 (/opt/rustwide/workdir/chapt8_collections) [INFO] [stderr] Checking chapt17_rust_object v0.1.0 (/opt/rustwide/workdir/chapt17_rust_object) [INFO] [stderr] Checking chapt20_web_server v0.1.0 (/opt/rustwide/workdir/chapt20_web_server) [INFO] [stderr] Checking chapt12_io_item v0.1.0 (/opt/rustwide/workdir/chapt12_io_item) [INFO] [stderr] Checking chapt11_test v0.1.0 (/opt/rustwide/workdir/chapt11_test) [INFO] [stderr] Checking chapt9_error v0.1.0 (/opt/rustwide/workdir/chapt9_error) [INFO] [stderr] Checking chapt13_closures_iterators v0.1.0 (/opt/rustwide/workdir/chapt13_closures_iterators) [INFO] [stderr] Checking chapt10_trait v0.1.0 (/opt/rustwide/workdir/chapt10_trait) [INFO] [stderr] Checking chapt3_variables v0.1.0 (/opt/rustwide/workdir/chapt3_variables) [INFO] [stderr] Checking a_standard v0.1.0 (/opt/rustwide/workdir/a_standard) [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> chapt17_rust_object/src/lib.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> chapt11_test/src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn greeting(name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn longest_one<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> chapt11_test/src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> chapt11_test/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 19 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Guess` is never constructed [INFO] [stdout] --> chapt11_test/src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Import<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> chapt11_test/src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Guess { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(value: i32) -> Guess { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `level` and `announce_and_return_part` are never used [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a, 'b> Import<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 108 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn announce_and_return_part(&'a self, announcement: &'b str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 134 | part: &'a str, [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: function `longest_one` is never used [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn longest_one<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> chapt8_collections/src/vect.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chapt8_collections/src/vect.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut v = vec![1, 2, 3, 4, 5, 6, 7, 8, 9]; [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: variable does not need to be mutable [INFO] [stdout] --> chapt8_collections/src/vect.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut v = vec![1, 2, 3, 4, 5, 6]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> chapt13_closures_iterators/src/bin/closures.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 123 | width: u32, [INFO] [stdout] 124 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` 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: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 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] 57 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 58 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 59 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> chapt10_trait/src/bin/generics.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct De { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 80 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 81 | y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `De` 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: methods `x` and `y` are never used [INFO] [stdout] --> chapt10_trait/src/bin/generics.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Point { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 100 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn y(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> chapt10_trait/src/bin/generics.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Point { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 109 | fn distance_from_origin(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | label: String::from({ "Ok" }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 7 - label: String::from({ "Ok" }), [INFO] [stdout] 7 + label: String::from("Ok"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Screen_Two` should have an upper camel case name [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Screen_Two { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ScreenTwo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen::components` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub components: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Screen::components` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen_Two` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Screen_Two { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Screen_Two` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen_Two` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Screen_Two [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | T: Draw, [INFO] [stdout] | |____________^ implementation `Screen_Two` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapt6_enum_match v0.1.0 (/opt/rustwide/workdir/chapt6_enum_match) [INFO] [stderr] Checking chapt16_concurrent_program v0.1.0 (/opt/rustwide/workdir/chapt16_concurrent_program) [INFO] [stderr] Checking chapt15_smart_pointer v0.1.0 (/opt/rustwide/workdir/chapt15_smart_pointer) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | label: String::from({ "Ok" }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 7 - label: String::from({ "Ok" }), [INFO] [stdout] 7 + label: String::from("Ok"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Screen_Two` should have an upper camel case name [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Screen_Two { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ScreenTwo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny` and `Nickel` are never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/match.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coin` 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: variant `Alabama` is never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/match.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum UsState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 14 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen::components` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub components: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Screen::components` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen_Two` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Screen_Two { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `Screen_Two` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is more private than the item `Screen_Two` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / impl Screen_Two [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | T: Draw, [INFO] [stdout] | |____________^ implementation `Screen_Two` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Draw` is only usable at visibility `pub(crate)` [INFO] [stdout] --> chapt17_rust_object/src/bin/trait.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | trait Draw { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapt4_ownership v0.1.0 (/opt/rustwide/workdir/chapt4_ownership) [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrNew` 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] 17 | V4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrNew` 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] 18 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrOnther` 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] 23 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrOnther` 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] 24 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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] 74 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 72 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | Write(String), [INFO] [stdout] 75 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapt1_hello_world v0.1.0 (/opt/rustwide/workdir/chapt1_hello_world) [INFO] [stderr] Checking chapt5_struct v0.1.0 (/opt/rustwide/workdir/chapt5_struct) [INFO] [stdout] warning: type `List_Rc` should have an upper camel case name [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum List_Rc { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ListRc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let b = List_Rc::Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let c = List_Rc::Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Cons(T, Rc>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List_Rc` 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] 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] 46 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/box.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Cons(T, Box>), [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] = note: `#[warn(dead_code)]` 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] 26 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Cons(T, Rc>>), [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] 52 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny` and `Nickel` are never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/match.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Coin` 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 `value` and `children` are never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcycle.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 93 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | children: RefCell>>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Alabama` is never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/match.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum UsState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 14 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` 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] --> chapt10_trait/src/bin/generics.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | struct De { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 80 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 81 | y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `De` 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: methods `x` and `y` are never used [INFO] [stdout] --> chapt10_trait/src/bin/generics.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Point { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 100 | fn x(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn y(&self) -> &T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> chapt10_trait/src/bin/generics.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Point { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 109 | fn distance_from_origin(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active`, `username`, and `email` are never read [INFO] [stdout] --> chapt5_struct/src/bin/struct.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | username: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | email: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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: unused variable: `t` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | fn _some_function(t: &T, u: &U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | fn _some_function(t: &T, u: &U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | fn _some_function_siple(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn _some_function_siple(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | fn _notify_more(summary: &(impl Summary + Display)) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | fn _notify_more_bound(summary: &T) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary1` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | fn _notify_second(summary1: &impl Summary, summary2: &impl Summary) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary2` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | fn _notify_second(summary1: &impl Summary, summary2: &impl Summary) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary1` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | fn _notify_same(summary1: &T, summary2: &T) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary2` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | fn _notify_same(summary1: &T, summary2: &T) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 45 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Pair { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 52 | fn cmp_display(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returns_summarizable` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 154 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 171 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> chapt17_rust_object/src/lib.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn longest_one<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Import` is never constructed [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Import<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `level` and `announce_and_return_part` are never used [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl<'a, 'b> Import<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 108 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn announce_and_return_part(&'a self, announcement: &'b str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 134 | part: &'a str, [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: function `longest_one` is never used [INFO] [stdout] --> chapt10_trait/src/bin/lifetime.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn longest_one<'a>(x: &'a str, y: &str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `List_Rc` should have an upper camel case name [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum List_Rc { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ListRc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let b = List_Rc::Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let c = List_Rc::Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Cons(T, Rc>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List_Rc` 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] 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] 46 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/rc.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Cons(T, Rc>>), [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] 52 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcell.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Cons(T, Rc>), [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] = note: `#[warn(dead_code)]` 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] 69 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `age` are never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcell.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 78 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | age: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> chapt11_test/src/lib.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | use std::{thread, time::{self, Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcycle.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 93 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | children: RefCell>>, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcell.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Cons(T, Rc>), [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] = note: `#[warn(dead_code)]` 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] 69 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `age` are never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/refcell.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 78 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | age: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> chapt11_test/src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn greeting(name: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> chapt11_test/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct Guess { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 37 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct IpAddr { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrNew` 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] 17 | V4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrNew` 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] 18 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrOnther` 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] 23 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrOnther` 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] 24 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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] 74 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> chapt6_enum_match/src/bin/enum.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 72 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | Write(String), [INFO] [stdout] 75 | ChangeColor(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapt14_cargo v0.1.0 (/opt/rustwide/workdir/chapt14_cargo) [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 100 | fn _some_function(t: &T, u: &U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:100:64 [INFO] [stdout] | [INFO] [stdout] 100 | fn _some_function(t: &T, u: &U) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | fn _some_function_siple(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn _some_function_siple(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | fn _notify_more(summary: &(impl Summary + Display)) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | fn _notify_more_bound(summary: &T) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary1` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | fn _notify_second(summary1: &impl Summary, summary2: &impl Summary) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary2` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | fn _notify_second(summary1: &impl Summary, summary2: &impl Summary) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary1` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | fn _notify_same(summary1: &T, summary2: &T) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `summary2` [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | fn _notify_same(summary1: &T, summary2: &T) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_summary2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `option_get_or_insert_default` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> a_standard/src/bin/option.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_get_or_insert_default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Pair { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 45 | fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cmp_display` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Pair { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 52 | fn cmp_display(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `returns_summarizable` is never used [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn returns_summarizable() -> impl Summary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 154 | struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> chapt10_trait/src/bin/trait.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 171 | struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 174 | reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 175 | retweet: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapt15_smart_pointer/src/bin/box.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Cons(T, Box>), [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] = note: `#[warn(dead_code)]` 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] 26 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chapt18_patterns v0.1.0 (/opt/rustwide/workdir/chapt18_patterns) [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> chapt13_closures_iterators/src/bin/closures.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 123 | width: u32, [INFO] [stdout] 124 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` 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: unused variable: `v` [INFO] [stdout] --> chapt8_collections/src/vect.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let v: Vec = Vec::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> chapt8_collections/src/vect.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut v = vec![1, 2, 3, 4, 5, 6, 7, 8, 9]; [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: variable does not need to be mutable [INFO] [stdout] --> chapt8_collections/src/vect.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut v = vec![1, 2, 3, 4, 5, 6]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 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] 57 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 58 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapt8_collections/src/vect.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 59 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `active`, `username`, and `email` are never read [INFO] [stdout] --> chapt5_struct/src/bin/struct.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | username: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | email: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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: the feature `option_get_or_insert_default` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> a_standard/src/bin/option.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_get_or_insert_default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to write `/opt/rustwide/target/debug/.fingerprint/chapt5_struct-732b4d7aa6a85495/test-bin-struct` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaCOn65i" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quote` (lib) due to 1 previous error [INFO] [stderr] error: could not compile `proc-macro2` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/bin/rustc --crate-name proc_macro2 --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.86/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=6ebef8d4d6d4ba9c -C extra-filename=-7dfd055de710dc86 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-b240505bfd42d77c.rmeta --cap-lints allow --cap-lints=forbid --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` (exit status: 101) [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaLQl95h/lib.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaO3weNO" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] error: could not compile `a_standard` (bin "option" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetalBM63h" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmeta3waQ6B" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetacrVBnX" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `a_standard` (bin "res" test) due to 1 previous error [INFO] [stderr] error: could not compile `libc` (lib) due to 1 previous error [INFO] [stderr] error: could not compile `a_standard` (bin "vect" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a322eec51173620870c41ef07b17b72974a7270c138665b55aade4d4580a870e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a322eec51173620870c41ef07b17b72974a7270c138665b55aade4d4580a870e", kill_on_drop: false }` [INFO] [stdout] a322eec51173620870c41ef07b17b72974a7270c138665b55aade4d4580a870e