[INFO] cloning repository https://github.com/XingRay/learning-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XingRay/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXingRay%2Flearning-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXingRay%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ad422bfa8256feef88e8d13d37ecd6b765be6c1 [INFO] checking XingRay/learning-rust/3ad422bfa8256feef88e8d13d37ecd6b765be6c1 against master#2972b5e59f1c5529b6ba770437812fd83ab4ebd4 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXingRay%2Flearning-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XingRay/learning-rust [INFO] finished tweaking git repo https://github.com/XingRay/learning-rust [INFO] tweaked toml for git repo https://github.com/XingRay/learning-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XingRay/learning-rust on toolchain 2972b5e59f1c5529b6ba770437812fd83ab4ebd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XingRay/learning-rust 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" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6676a920d0882698c9a667389be604798636be42ba003de8e0c3f30ac574ad6a [INFO] running `Command { std: "docker" "start" "-a" "6676a920d0882698c9a667389be604798636be42ba003de8e0c3f30ac574ad6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6676a920d0882698c9a667389be604798636be42ba003de8e0c3f30ac574ad6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6676a920d0882698c9a667389be604798636be42ba003de8e0c3f30ac574ad6a", kill_on_drop: false }` [INFO] [stdout] 6676a920d0882698c9a667389be604798636be42ba003de8e0c3f30ac574ad6a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f625937c477f7c1a17fa3484d2945c1d80180d374e9c8f013ef8eb082a55a677 [INFO] running `Command { std: "docker" "start" "-a" "f625937c477f7c1a17fa3484d2945c1d80180d374e9c8f013ef8eb082a55a677", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking lesson025_hashmap v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson025_hashmap) [INFO] [stderr] Checking lesson076_directory_traversal v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson076_directory_traversal) [INFO] [stderr] Checking lesson017_generics v0.1.0 (/opt/rustwide/workdir/chapter04-pattern-and-generics/lesson017_generics) [INFO] [stderr] Checking lesson018_pattern_matching v0.1.0 (/opt/rustwide/workdir/chapter04-pattern-and-generics/lesson018_pattern_matching) [INFO] [stderr] Checking lesson015_option_enum v0.1.0 (/opt/rustwide/workdir/chapter03-struct-and-enum/lesson015_option_enum) [INFO] [stderr] Checking lesson005_control_flow v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson005_control_flow) [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> chapter04-pattern-and-generics/lesson017_generics/src/main.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 273 | impl Stack { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson028_iterator_adapters v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson028_iterator_adapters) [INFO] [stdout] warning: variant `DrawLine` is never constructed [INFO] [stdout] --> chapter04-pattern-and-generics/lesson018_pattern_matching/src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 111 | enum DrawCommand { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 112 | SetColor(Color), [INFO] [stdout] 113 | DrawLine { start: Point, end: Point }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Apple`, `Banana`, and `Durian` are never constructed [INFO] [stdout] --> chapter04-pattern-and-generics/lesson018_pattern_matching/src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | enum Fruit { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 173 | Apple, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | Banana, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 175 | Cherry, [INFO] [stdout] 176 | Durian, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fruit` 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 `y` and `z` are never read [INFO] [stdout] --> chapter04-pattern-and-generics/lesson018_pattern_matching/src/main.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 355 | struct Point3D { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 356 | x: i32, [INFO] [stdout] 357 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 358 | z: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> chapter04-pattern-and-generics/lesson018_pattern_matching/src/main.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | Rectangle { width: f64, height: f64 }, [INFO] [stdout] | --------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Shape` 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 `base` and `height` are never read [INFO] [stdout] --> chapter04-pattern-and-generics/lesson018_pattern_matching/src/main.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | Triangle { base: f64, height: f64 }, [INFO] [stdout] | -------- ^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson081_udp v0.1.0 (/opt/rustwide/workdir/chapter16-networking/lesson081_udp) [INFO] [stderr] Checking lesson086_ffi_c_interop v0.1.0 (/opt/rustwide/workdir/chapter17-unsafe-and-ffi/lesson086_ffi_c_interop) [INFO] [stderr] Checking lesson061_proc_macro_workshop v0.1.0 (/opt/rustwide/workdir/chapter12-macros/lesson061_proc_macro_workshop) [INFO] [stderr] Checking lesson073_stdin_stdout v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson073_stdin_stdout) [INFO] [stderr] Checking lesson002_variables v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson002_variables) [INFO] [stdout] warning: fields `host`, `port`, `max_connections`, and `timeout_secs` are never read [INFO] [stdout] --> chapter12-macros/lesson061_proc_macro_workshop/src/main.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 499 | struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 500 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 501 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 502 | max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 503 | timeout_secs: u64, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson036_closure_basics v0.1.0 (/opt/rustwide/workdir/chapter08-closures-and-functional/lesson036_closure_basics) [INFO] [stderr] Checking lesson044_weak_reference v0.1.0 (/opt/rustwide/workdir/chapter09-smart-pointers/lesson044_weak_reference) [INFO] [stderr] Checking lesson079_tcp_server v0.1.0 (/opt/rustwide/workdir/chapter16-networking/lesson079_tcp_server) [INFO] [stderr] Checking lesson087_extern_functions v0.1.0 (/opt/rustwide/workdir/chapter17-unsafe-and-ffi/lesson087_extern_functions) [INFO] [stderr] Checking lesson099_state_pattern v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson099_state_pattern) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter09-smart-pointers/lesson044_weak_reference/src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LeakyList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - Cons(i32, RefCell>), [INFO] [stdout] 26 + Cons((), RefCell>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson085_raw_pointers v0.1.0 (/opt/rustwide/workdir/chapter17-unsafe-and-ffi/lesson085_raw_pointers) [INFO] [stderr] Checking lesson003_data_types v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson003_data_types) [INFO] [stderr] Checking lesson041_rc_arc v0.1.0 (/opt/rustwide/workdir/chapter09-smart-pointers/lesson041_rc_arc) [INFO] [stderr] Checking lesson026_hashset v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson026_hashset) [INFO] [stderr] Checking lesson100_observer_pattern v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson100_observer_pattern) [INFO] [stderr] Checking lesson024_vector v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson024_vector) [INFO] [stderr] Checking lesson071_workspace v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson071_workspace) [INFO] [stdout] warning: function `simple_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn simple_server() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_simple` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn handle_client_simple(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multithreaded_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn multithreaded_server() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_threaded` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn handle_client_threaded(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_based_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn line_based_server() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_line_based` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn handle_client_line_based(stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo_server_with_timeout` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn echo_server_with_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson037_closure_as_param v0.1.0 (/opt/rustwide/workdir/chapter08-closures-and-functional/lesson037_closure_as_param) [INFO] [stderr] Checking lesson020_panic v0.1.0 (/opt/rustwide/workdir/chapter05-error-handling/lesson020_panic) [INFO] [stdout] warning: method `get_title` is never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl BlogPost { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 119 | /// 获取标题(任何状态都可以查看标题) [INFO] [stdout] 120 | fn get_title(&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 `disconnect` is never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Connection { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | fn disconnect(self) -> Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `can_publish` are never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 228 | trait DocumentState: fmt::Display { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 229 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 230 | fn can_edit(&self) -> bool; [INFO] [stdout] 231 | fn can_publish(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson012_struct_basics v0.1.0 (/opt/rustwide/workdir/chapter03-struct-and-enum/lesson012_struct_basics) [INFO] [stderr] Checking lesson074_file_read_write v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson074_file_read_write) [INFO] [stderr] Checking lesson050_send_sync v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson050_send_sync) [INFO] [stderr] Checking lesson031_trait_bounds v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson031_trait_bounds) [INFO] [stderr] Checking lesson057_declarative_macros v0.1.0 (/opt/rustwide/workdir/chapter12-macros/lesson057_declarative_macros) [INFO] [stdout] warning: struct `Kilometer` is never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson012_struct_basics/src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Kilometer; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> chapter12-macros/lesson057_declarative_macros/src/main.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | make_struct!(Point { x: f64, y: f64 }); [INFO] [stdout] | ----- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> chapter12-macros/lesson057_declarative_macros/src/main.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | make_struct!(Color { r: u8, g: u8, b: u8 }); [INFO] [stdout] | ----- ^ ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson008_ownership v0.1.0 (/opt/rustwide/workdir/chapter02-ownership/lesson008_ownership) [INFO] [stderr] Checking lesson045_threads v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson045_threads) [INFO] [stderr] Checking lesson001_helloworld v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson001_helloworld) [INFO] [stderr] Checking lesson016_match_expression v0.1.0 (/opt/rustwide/workdir/chapter03-struct-and-enum/lesson016_match_expression) [INFO] [stderr] Checking lesson068_packages_crates v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson068_packages_crates) [INFO] [stderr] Checking lesson072_publish_crate v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson072_publish_crate) [INFO] [stderr] Checking lesson043_deref_drop v0.1.0 (/opt/rustwide/workdir/chapter09-smart-pointers/lesson043_deref_drop) [INFO] [stderr] Checking lesson075_path_operations v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson075_path_operations) [INFO] [stderr] Checking lesson070_cargo_features v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson070_cargo_features) [INFO] [stderr] Checking lesson004_functions v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson004_functions) [INFO] [stderr] Checking lesson014_enum_basics v0.1.0 (/opt/rustwide/workdir/chapter03-struct-and-enum/lesson014_enum_basics) [INFO] [stderr] Checking lesson030_trait_basics v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson030_trait_basics) [INFO] [stderr] Checking lesson084_unsafe_basics v0.1.0 (/opt/rustwide/workdir/chapter17-unsafe-and-ffi/lesson084_unsafe_basics) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 115 - Boolean(bool), [INFO] [stdout] 115 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigValue` 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] 116 - List(Vec), [INFO] [stdout] 116 + List(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bool` is never used [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl ConfigValue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson093_sqlx_basics v0.1.0 (/opt/rustwide/workdir/chapter19-database/lesson093_sqlx_basics) [INFO] [stdout] warning: variants `Alabama` and `NewYork` are never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson016_match_expression/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum UsState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | NewYork, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fahrenheit` is never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson016_match_expression/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum Temperature { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 57 | Celsius(f64), [INFO] [stdout] 58 | Fahrenheit(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Temperature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson094_diesel_orm v0.1.0 (/opt/rustwide/workdir/chapter19-database/lesson094_diesel_orm) [INFO] [stderr] Checking lesson095_sea_orm v0.1.0 (/opt/rustwide/workdir/chapter19-database/lesson095_sea_orm) [INFO] [stderr] Checking lesson027_iterator_basics v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson027_iterator_basics) [INFO] [stderr] Checking lesson069_use_and_pub v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson069_use_and_pub) [INFO] [stderr] Checking lesson029_custom_iterator v0.1.0 (/opt/rustwide/workdir/chapter06-collections-and-iterators/lesson029_custom_iterator) [INFO] [stderr] Checking lesson047_shared_state v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson047_shared_state) [INFO] [stderr] Checking lesson042_refcell v0.1.0 (/opt/rustwide/workdir/chapter09-smart-pointers/lesson042_refcell) [INFO] [stderr] Checking lesson058_macro_rules_advanced v0.1.0 (/opt/rustwide/workdir/chapter12-macros/lesson058_macro_rules_advanced) [INFO] [stderr] Checking lesson011_lifetime_basics v0.1.0 (/opt/rustwide/workdir/chapter02-ownership/lesson011_lifetime_basics) [INFO] [stderr] Checking lesson007_strings v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson007_strings) [INFO] [stderr] Checking lesson062_unit_tests v0.1.0 (/opt/rustwide/workdir/chapter13-testing/lesson062_unit_tests) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] | | ------ field in this variant [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] | | --------- fields in this variant [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] | | -------- fields in this variant [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson023_custom_errors v0.1.0 (/opt/rustwide/workdir/chapter05-error-handling/lesson023_custom_errors) [INFO] [stdout] warning: function `simple_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn simple_server() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_simple` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn handle_client_simple(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multithreaded_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn multithreaded_server() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_threaded` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn handle_client_threaded(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_based_server` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn line_based_server() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client_line_based` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn handle_client_line_based(stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo_server_with_timeout` is never used [INFO] [stdout] --> chapter16-networking/lesson079_tcp_server/src/main.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn echo_server_with_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson080_tcp_client v0.1.0 (/opt/rustwide/workdir/chapter16-networking/lesson080_tcp_client) [INFO] [stderr] Checking lesson067_module_system v0.1.0 (/opt/rustwide/workdir/chapter14-cargo-and-modules/lesson067_module_system) [INFO] [stderr] Checking lesson035_newtype_pattern v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson035_newtype_pattern) [INFO] [stderr] Checking lesson098_builder_pattern v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson098_builder_pattern) [INFO] [stdout] warning: function `basic_tcp_client` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn basic_tcp_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_with_timeout` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn client_with_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_with_bufreader` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn client_with_bufreader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_read_all_data` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn client_read_all_data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_http_get` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn raw_http_get() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson034_associated_types v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson034_associated_types) [INFO] [stderr] Checking lesson033_trait_objects v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson033_trait_objects) [INFO] [stderr] Checking lesson101_command_pattern v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson101_command_pattern) [INFO] [stdout] warning: fields `from`, `to`, `subject`, `body`, `cc`, and `attachments` are never read [INFO] [stdout] --> chapter20-design-patterns/lesson098_builder_pattern/src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 182 | struct Email { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | to: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 185 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 186 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | cc: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 188 | attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, `avatar_url`, and `age` are never read [INFO] [stdout] --> chapter20-design-patterns/lesson098_builder_pattern/src/main.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct UserProfile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 272 | username: String, // 必选 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | email: String, // 必选 [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | avatar_url: Option, // 可选 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | age: Option, // 可选 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson064_doc_tests v0.1.0 (/opt/rustwide/workdir/chapter13-testing/lesson064_doc_tests) [INFO] [stdout] warning: fields `from`, `to`, `subject`, `body`, `cc`, and `attachments` are never read [INFO] [stdout] --> chapter20-design-patterns/lesson098_builder_pattern/src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 182 | struct Email { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | from: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | to: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 185 | subject: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 186 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | cc: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] 188 | attachments: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, `avatar_url`, and `age` are never read [INFO] [stdout] --> chapter20-design-patterns/lesson098_builder_pattern/src/main.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 271 | struct UserProfile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 272 | username: String, // 必选 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | email: String, // 必选 [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | avatar_url: Option, // 可选 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 277 | age: Option, // 可选 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson063_integration_tests v0.1.0 (/opt/rustwide/workdir/chapter13-testing/lesson063_integration_tests) [INFO] [stdout] warning: function `basic_tcp_client` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn basic_tcp_client() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_with_timeout` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn client_with_timeout() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_with_bufreader` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn client_with_bufreader() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_read_all_data` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn client_read_all_data() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_http_get` is never used [INFO] [stdout] --> chapter16-networking/lesson080_tcp_client/src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn raw_http_get() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson021_result_type v0.1.0 (/opt/rustwide/workdir/chapter05-error-handling/lesson021_result_type) [INFO] [stderr] Checking lesson096_redis_client v0.1.0 (/opt/rustwide/workdir/chapter19-database/lesson096_redis_client) [INFO] [stderr] Checking lesson066_mocking v0.1.0 (/opt/rustwide/workdir/chapter13-testing/lesson066_mocking) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> chapter09-smart-pointers/lesson041_rc_arc/src/main.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | Cons(i32, Rc), [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 87 - Cons(i32, Rc), [INFO] [stdout] 87 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson013_struct_methods v0.1.0 (/opt/rustwide/workdir/chapter03-struct-and-enum/lesson013_struct_methods) [INFO] [stderr] Checking lesson049_atomic v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson049_atomic) [INFO] [stderr] Checking lesson010_slices v0.1.0 (/opt/rustwide/workdir/chapter02-ownership/lesson010_slices) [INFO] [stderr] Checking lesson022_error_propagation v0.1.0 (/opt/rustwide/workdir/chapter05-error-handling/lesson022_error_propagation) [INFO] [stderr] Checking lesson040_box v0.1.0 (/opt/rustwide/workdir/chapter09-smart-pointers/lesson040_box) [INFO] [stderr] Checking lesson006_comments v0.1.0 (/opt/rustwide/workdir/chapter01-basic/lesson006_comments) [INFO] [stderr] Checking lesson046_message_passing v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson046_message_passing) [INFO] [stderr] Checking lesson048_mutex_rwlock v0.1.0 (/opt/rustwide/workdir/chapter10-concurrency/lesson048_mutex_rwlock) [INFO] [stderr] Checking lesson059_derive_macros v0.1.0 (/opt/rustwide/workdir/chapter12-macros/lesson059_derive_macros) [INFO] [stderr] Checking lesson060_attribute_macros v0.1.0 (/opt/rustwide/workdir/chapter12-macros/lesson060_attribute_macros) [INFO] [stderr] Checking lesson103_mini_project_web_api v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson103_mini_project_web_api) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 115 - Boolean(bool), [INFO] [stdout] 115 + Boolean(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigValue` 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] 116 - List(Vec), [INFO] [stdout] 116 + List(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bool` is never used [INFO] [stdout] --> chapter03-struct-and-enum/lesson014_enum_basics/src/main.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl ConfigValue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kilometer` is never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson012_struct_basics/src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Kilometer; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `email` are never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson012_struct_basics/src/main.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 267 | struct OwnedUser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 268 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 269 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OwnedUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson102_mini_project_cli_tool v0.1.0 (/opt/rustwide/workdir/chapter20-design-patterns/lesson102_mini_project_cli_tool) [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> chapter20-design-patterns/lesson103_mini_project_web_api/src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> chapter20-design-patterns/lesson103_mini_project_web_api/src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `age`, and `grades` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | grades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | Suspended { reason: String }, [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Active` and `Inactive` are never constructed [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 56 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson019_if_let_while_let v0.1.0 (/opt/rustwide/workdir/chapter04-pattern-and-generics/lesson019_if_let_while_let) [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 76 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 77 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson083_http_server_basics v0.1.0 (/opt/rustwide/workdir/chapter16-networking/lesson083_http_server_basics) [INFO] [stdout] warning: fields `name`, `age`, and `grades` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Student { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | grades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Student` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 83 | name: String, // String 没有实现 Copy [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `debug`, `max_connections`, and `tags` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 150 | host: String, // 默认 "" [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | port: u16, // 默认 0 [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | debug: bool, // 默认 false [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | max_connections: u32, // 默认 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | tags: Vec, // 默认 vec![] [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: field `reason` is never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | Suspended { reason: String }, [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Active` and `Inactive` are never constructed [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 56 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` 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] --> chapter12-macros/lesson059_derive_macros/src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 76 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 77 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 83 | name: String, // String 没有实现 Copy [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `debug`, `max_connections`, and `tags` are never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 150 | host: String, // 默认 "" [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | port: u16, // 默认 0 [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | debug: bool, // 默认 false [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | max_connections: u32, // 默认 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | tags: Vec, // 默认 vec![] [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: variants `Trace`, `Debug`, `Warn`, and `Error` are never constructed [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 160 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | struct Password(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Trace`, `Debug`, `Warn`, and `Error` are never constructed [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 160 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> chapter12-macros/lesson059_derive_macros/src/main.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | struct Password(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson038_fn_traits v0.1.0 (/opt/rustwide/workdir/chapter08-closures-and-functional/lesson038_fn_traits) [INFO] [stderr] Checking lesson009_references v0.1.0 (/opt/rustwide/workdir/chapter02-ownership/lesson009_references) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> chapter03-struct-and-enum/lesson015_option_enum/src/main.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 358 | struct Company { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 359 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Company` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> chapter12-macros/lesson057_declarative_macros/src/main.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | make_struct!(Point { x: f64, y: f64 }); [INFO] [stdout] | ----- ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> chapter12-macros/lesson057_declarative_macros/src/main.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | make_struct!(Color { r: u8, g: u8, b: u8 }); [INFO] [stdout] | ----- ^ ^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn parse(stream: &TcpStream) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `MethodNotAllowed`, and `InternalServerError` are never constructed [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 191 | enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 194 | BadRequest, // 400 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 195 | NotFound, // 404 [INFO] [stdout] 196 | MethodNotAllowed, // 405 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | InternalServerError, // 500 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn handle_connection(mut stream: TcpStream, router: &Router) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn run_server(addr: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson065_benchmark v0.1.0 (/opt/rustwide/workdir/chapter13-testing/lesson065_benchmark) [INFO] [stdout] warning: method `get_title` is never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl BlogPost { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 119 | /// 获取标题(任何状态都可以查看标题) [INFO] [stdout] 120 | fn get_title(&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 `disconnect` is never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Connection { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | fn disconnect(self) -> Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `can_publish` are never used [INFO] [stdout] --> chapter20-design-patterns/lesson099_state_pattern/src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 228 | trait DocumentState: fmt::Display { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 229 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 230 | fn can_edit(&self) -> bool; [INFO] [stdout] 231 | fn can_publish(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `max_connections`, and `timeout_secs` are never read [INFO] [stdout] --> chapter12-macros/lesson061_proc_macro_workshop/src/main.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 499 | struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 500 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 501 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 502 | max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 503 | timeout_secs: u64, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking lesson039_functional_combinators v0.1.0 (/opt/rustwide/workdir/chapter08-closures-and-functional/lesson039_functional_combinators) [INFO] [stderr] Checking lesson032_common_traits v0.1.0 (/opt/rustwide/workdir/chapter07-traits-and-advanced-types/lesson032_common_traits) [INFO] [stdout] warning: variants `Alabama` and `NewYork` are never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson016_match_expression/src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum UsState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | NewYork, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fahrenheit` is never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson016_match_expression/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum Temperature { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 57 | Celsius(f64), [INFO] [stdout] 58 | Fahrenheit(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Temperature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Middle` is never constructed [INFO] [stdout] --> chapter03-struct-and-enum/lesson016_match_expression/src/main.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 389 | enum Button { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 392 | Middle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Button` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> chapter04-pattern-and-generics/lesson019_if_let_while_let/src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 52 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | Dime, [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> chapter04-pattern-and-generics/lesson019_if_let_while_let/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 69 | name: String, [INFO] [stdout] 70 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Inactive` is never constructed [INFO] [stdout] --> chapter04-pattern-and-generics/lesson019_if_let_while_let/src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | enum Status { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 95 | Active(String), [INFO] [stdout] 96 | Inactive, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Null` is never constructed [INFO] [stdout] --> chapter04-pattern-and-generics/lesson019_if_let_while_let/src/main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 342 | enum JsonValue { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 343 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonValue` 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 `name` is never used [INFO] [stdout] --> chapter09-smart-pointers/lesson040_box/src/main.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 125 | trait Animal { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 126 | fn name(&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: field `0` is never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] | | ------ field in this variant [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] | | --------- fields in this variant [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> chapter12-macros/lesson058_macro_rules_advanced/src/main.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | / make_enum!(Shape { [INFO] [stdout] 310 | | Circle(f64), [INFO] [stdout] 311 | | Rectangle(f64, f64), [INFO] [stdout] 312 | | Triangle(f64, f64, f64), [INFO] [stdout] | | -------- fields in this variant [INFO] [stdout] 313 | | Point, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `make_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 296 - $( $variant $(( $($field_ty),* ))?, )* [INFO] [stdout] 296 + $( $variant $(( $(()),* ))?, )* [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct HttpRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn parse(stream: &TcpStream) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `MethodNotAllowed`, and `InternalServerError` are never constructed [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 191 | enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 194 | BadRequest, // 400 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 195 | NotFound, // 404 [INFO] [stdout] 196 | MethodNotAllowed, // 405 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 197 | InternalServerError, // 500 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn handle_connection(mut stream: TcpStream, router: &Router) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> chapter16-networking/lesson083_http_server_basics/src/main.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | fn run_server(addr: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking lesson077_serde_json v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson077_serde_json) [INFO] [stderr] Checking lesson097_mongodb v0.1.0 (/opt/rustwide/workdir/chapter19-database/lesson097_mongodb) [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking lesson054_async_channels v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson054_async_channels) [INFO] [stderr] Checking lesson055_select_join v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson055_select_join) [INFO] [stderr] Checking lesson051_async_await_basics v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson051_async_await_basics) [INFO] [stderr] Checking lesson052_future_trait v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson052_future_trait) [INFO] [stderr] Checking lesson053_tokio_runtime v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson053_tokio_runtime) [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking lesson056_async_streams v0.1.0 (/opt/rustwide/workdir/chapter11-async-programming/lesson056_async_streams) [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking lesson078_serde_toml_yaml v0.1.0 (/opt/rustwide/workdir/chapter15-io-and-filesystem/lesson078_serde_toml_yaml) [INFO] [stderr] Checking actix-http v3.12.0 [INFO] [stderr] Checking actix-web v4.13.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking lesson088_actix_web_basics v0.1.0 (/opt/rustwide/workdir/chapter18-web-development/lesson088_actix_web_basics) [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking lesson082_http_client_reqwest v0.1.0 (/opt/rustwide/workdir/chapter16-networking/lesson082_http_client_reqwest) [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> chapter16-networking/lesson082_http_client_reqwest/src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | struct HttpBinPostResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpBinPostResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> chapter16-networking/lesson082_http_client_reqwest/src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 219 | struct HttpBinPostResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpBinPostResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lesson091_middleware v0.1.0 (/opt/rustwide/workdir/chapter18-web-development/lesson091_middleware) [INFO] [stderr] Checking lesson090_rest_api v0.1.0 (/opt/rustwide/workdir/chapter18-web-development/lesson090_rest_api) [INFO] [stderr] Checking lesson092_websocket v0.1.0 (/opt/rustwide/workdir/chapter18-web-development/lesson092_websocket) [INFO] [stderr] Checking lesson089_axum_basics v0.1.0 (/opt/rustwide/workdir/chapter18-web-development/lesson089_axum_basics) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.67s [INFO] running `Command { std: "docker" "inspect" "f625937c477f7c1a17fa3484d2945c1d80180d374e9c8f013ef8eb082a55a677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f625937c477f7c1a17fa3484d2945c1d80180d374e9c8f013ef8eb082a55a677", kill_on_drop: false }` [INFO] [stdout] f625937c477f7c1a17fa3484d2945c1d80180d374e9c8f013ef8eb082a55a677