[INFO] cloning repository https://github.com/Pranay1998/LearnRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pranay1998/LearnRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay1998%2FLearnRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay1998%2FLearnRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3248c03fadaa7b02d0cec7278ec8bcce36d0db60 [INFO] building Pranay1998/LearnRust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranay1998%2FLearnRust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pranay1998/LearnRust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pranay1998/LearnRust [INFO] finished tweaking git repo https://github.com/Pranay1998/LearnRust [INFO] tweaked toml for git repo https://github.com/Pranay1998/LearnRust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pranay1998/LearnRust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aa49f4ed51d21a0fb9de295aba6f6d17a20b9e5409498307210b465be596b43 [INFO] running `Command { std: "docker" "start" "-a" "4aa49f4ed51d21a0fb9de295aba6f6d17a20b9e5409498307210b465be596b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa49f4ed51d21a0fb9de295aba6f6d17a20b9e5409498307210b465be596b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa49f4ed51d21a0fb9de295aba6f6d17a20b9e5409498307210b465be596b43", kill_on_drop: false }` [INFO] [stdout] 4aa49f4ed51d21a0fb9de295aba6f6d17a20b9e5409498307210b465be596b43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78dab20686defed6aec6246704ee374d22a632b29b1b17e43c458b8bc879cb8f [INFO] running `Command { std: "docker" "start" "-a" "78dab20686defed6aec6246704ee374d22a632b29b1b17e43c458b8bc879cb8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/memory_leak.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | _ => println!("Default case, x = {:?}", x), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pattern_matching.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | Some(50) | None => println!("Got 50"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | Some(y) => println!("Matched, y = {y}"), // notice how y is shadowed here [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 44 | _ => println!("Default case, x = {:?}", x), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pattern_matching.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/pattern_matching.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/pattern_matching.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/structs.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | struct Color(u32, u32, u32); // tuple stuck [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/enums.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 12 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | V6(String) [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | V6(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/traits.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub content: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/traits.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub retweet: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/smart_pointers.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Cons(Rc>, Rc>), // Indirection [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 5 | Cons((), ()), // Indirection [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Messanger` is never used [INFO] [stdout] --> src/smart_pointers.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Messanger { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitTracker` is never constructed [INFO] [stdout] --> src/smart_pointers.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LimitTracker<'a, T: Messanger> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_value` are never used [INFO] [stdout] --> src/smart_pointers.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 39 | / impl<'a, T> LimitTracker<'a, T> [INFO] [stdout] 40 | | where [INFO] [stdout] 41 | | T: Messanger, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 42 | { [INFO] [stdout] 43 | pub fn new(messenger: &'a T, max: usize) -> LimitTracker<'a, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_value(&mut self, value: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/memory_leak.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Cons(i32, RefCell>), [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] 7 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> src/memory_leak.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | parent: RefCell>, [INFO] [stdout] 26 | 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] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `label` are never read [INFO] [stdout] --> src/oop.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Button { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> src/oop.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "78dab20686defed6aec6246704ee374d22a632b29b1b17e43c458b8bc879cb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78dab20686defed6aec6246704ee374d22a632b29b1b17e43c458b8bc879cb8f", kill_on_drop: false }` [INFO] [stdout] 78dab20686defed6aec6246704ee374d22a632b29b1b17e43c458b8bc879cb8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4df9f2be70d67ed2457565e660d81d2790a87ca1699806aa9f951de049f07a [INFO] running `Command { std: "docker" "start" "-a" "8d4df9f2be70d67ed2457565e660d81d2790a87ca1699806aa9f951de049f07a", kill_on_drop: false }` [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/memory_leak.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pattern_matching.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | _ => println!("Default case, x = {:?}", x), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pattern_matching.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | Some(50) | None => println!("Got 50"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | Some(y) => println!("Matched, y = {y}"), // notice how y is shadowed here [INFO] [stdout] | ------- matches some of the same values [INFO] [stdout] 44 | _ => println!("Default case, x = {:?}", x), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pattern_matching.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/pattern_matching.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/pattern_matching.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let (x, y, z) = (1, 2,3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/structs.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | struct Color(u32, u32, u32); // tuple stuck [INFO] [stdout] | ----- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/enums.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 12 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | V6(String) [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | V6(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/traits.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NewsArticle { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub content: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reply` and `retweet` are never read [INFO] [stdout] --> src/traits.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub retweet: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/smart_pointers.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Cons(Rc>, Rc>), // Indirection [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 5 | Cons((), ()), // Indirection [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/memory_leak.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Cons(i32, RefCell>), [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] 7 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> src/memory_leak.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | parent: RefCell>, [INFO] [stdout] 26 | 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] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `label` are never read [INFO] [stdout] --> src/oop.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Button { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> src/oop.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "8d4df9f2be70d67ed2457565e660d81d2790a87ca1699806aa9f951de049f07a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4df9f2be70d67ed2457565e660d81d2790a87ca1699806aa9f951de049f07a", kill_on_drop: false }` [INFO] [stdout] 8d4df9f2be70d67ed2457565e660d81d2790a87ca1699806aa9f951de049f07a