[INFO] cloning repository https://github.com/roackb2/rust_hello_world [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roackb2/rust_hello_world" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froackb2%2Frust_hello_world", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froackb2%2Frust_hello_world'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c9eac6bcbd50e36c5077ab1fe9c5816129c0013 [INFO] checking roackb2/rust_hello_world against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froackb2%2Frust_hello_world" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roackb2/rust_hello_world on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roackb2/rust_hello_world [INFO] finished tweaking git repo https://github.com/roackb2/rust_hello_world [INFO] tweaked toml for git repo https://github.com/roackb2/rust_hello_world written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/roackb2/rust_hello_world 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.paic [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bda50238839a5cbf7420f8e92f6097962293bb30983d5aa2241b39fc80f4fddb [INFO] running `Command { std: "docker" "start" "-a" "bda50238839a5cbf7420f8e92f6097962293bb30983d5aa2241b39fc80f4fddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bda50238839a5cbf7420f8e92f6097962293bb30983d5aa2241b39fc80f4fddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda50238839a5cbf7420f8e92f6097962293bb30983d5aa2241b39fc80f4fddb", kill_on_drop: false }` [INFO] [stdout] bda50238839a5cbf7420f8e92f6097962293bb30983d5aa2241b39fc80f4fddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd97f3d427911870128c733d9224a011c8796a4774d6ada6e997a64ff68904b [INFO] running `Command { std: "docker" "start" "-a" "ccd97f3d427911870128c733d9224a011c8796a4774d6ada6e997a64ff68904b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: profile.release.paic [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking rust_hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::node::Node` [INFO] [stdout] --> src/bst/b_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `io`, and `string` [INFO] [stdout] --> src/todo/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error, io, string}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `io`, and `string` [INFO] [stdout] --> src/todo/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{error, io, string}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::node::Node` [INFO] [stdout] --> src/bst/b_tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::linked_list::test_list` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::linked_list::test_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::linked_list::test_list` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::linked_list::test_list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/playground/collections.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | let mut v = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playground/error_handling.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Err(err) => panic!("Failed to read") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/playground/collections.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | let mut v = vec![ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/playground/error_handling.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Err(err) => panic!("Failed to read") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/merkle_tree/node.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn insert(&mut self, data: Transaction) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/merkle_tree/node.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn insert(&mut self, txn: Transaction) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf` [INFO] [stdout] --> src/merkle_tree/node.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | Node::Leaf(leaf) => (), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/merkle_tree/utils.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = DefaultHasher::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/merkle_tree/utils.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_str_hash(s: &str, hasher: &H) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/linked_list/list.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(value: i32) -> List { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/merkle_tree/node.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn insert(&mut self, data: Transaction) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txn` [INFO] [stdout] --> src/merkle_tree/node.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn insert(&mut self, txn: Transaction) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf` [INFO] [stdout] --> src/merkle_tree/node.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | Node::Leaf(leaf) => (), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_leaf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/merkle_tree/utils.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = DefaultHasher::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/merkle_tree/utils.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_str_hash(s: &str, hasher: &H) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/linked_list/list.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(value: i32) -> List { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `list::Node` is more private than the item `list::Link::More::0` [INFO] [stdout] --> src/linked_list/list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | More(Box) [INFO] [stdout] | ^^^^^^^^^ field `list::Link::More::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `list::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/linked_list/list.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/playground/structs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Color (i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/playground/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/playground/enums.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | struct Date (u32, u32, u32); [INFO] [stdout] | ---- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Date` 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 `direction` is never read [INFO] [stdout] --> src/playground/enums.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | direction: TransferDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `amount`, `attendant`, `direction`, and `due_date` are never read [INFO] [stdout] --> src/playground/enums.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 30 | struct ScheduledPayment { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 31 | amount: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | attendant: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | direction: TransferDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | due_date: Date [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduledPayment` 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 `document_id` and `content` are never read [INFO] [stdout] --> src/playground/enums.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 38 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 39 | document_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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] --> src/playground/enums.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | Loan(ScheduledPayment), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transfer` 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] 56 | Loan(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Noop` is never constructed [INFO] [stdout] --> src/playground/enums.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 54 | enum Transfer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Noop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transfer` 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 `event_name` is never read [INFO] [stdout] --> src/playground/collections.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | struct NotifyPayload { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NotifyPayload` 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 `content` is never read [INFO] [stdout] --> src/playground/collections.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | struct StreamPayload { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | content: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamPayload` 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] --> src/playground/collections.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | Notify(NotifyPayload), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Notify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/playground/collections.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Stream(StreamPayload), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Stream(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_simple` is never used [INFO] [stdout] --> src/playground/error_handling.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_file_simple(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collect` is never used [INFO] [stdout] --> src/bst/b_tree.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl BTree { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn collect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CollectCb` is never used [INFO] [stdout] --> src/bst/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type CollectCb = fn(&Node, &mut Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collect` is never used [INFO] [stdout] --> src/bst/node.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Node { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn collect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collect` is never used [INFO] [stdout] --> src/bst/link.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Link { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn collect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TraverseCb` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type TraverseCb = fn(&Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl LeafNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, data: Transaction) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_child_hash` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_child_hash(left: u64, right: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_full` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 59 | impl InternalNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/merkle_tree/node.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 95 | Leaf(Box), [INFO] [stdout] 96 | Internal(Box), [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: methods `insert`, `is_full`, and `traverse` are never used [INFO] [stdout] --> src/merkle_tree/node.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 100 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 101 | pub fn insert(&mut self, txn: Transaction) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn traverse(&self, pre_cb: TraverseCb, in_cb: TraverseCb, post_cb: TraverseCb) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_str_hash` is never used [INFO] [stdout] --> src/merkle_tree/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_str_hash(s: &str, hasher: &H) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_list` is never used [INFO] [stdout] --> src/linked_list/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_list() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/list.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Link` is never used [INFO] [stdout] --> src/linked_list/list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/linked_list/list.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl List { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: i32) -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Number(i64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 5 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | String(&'a str), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 6 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Object(HashMap<&'a str, JSON<'a>>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Object(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Array(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 9 | Array(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `list::Node` is more private than the item `list::Link::More::0` [INFO] [stdout] --> src/linked_list/list.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | More(Box) [INFO] [stdout] | ^^^^^^^^^ field `list::Link::More::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `list::Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/linked_list/list.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/playground/structs.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Color (i32, i32, i32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> src/playground/structs.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Empty; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/playground/enums.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | struct Date (u32, u32, u32); [INFO] [stdout] | ---- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Date` 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 `direction` is never read [INFO] [stdout] --> src/playground/enums.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | direction: TransferDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `amount`, `attendant`, `direction`, and `due_date` are never read [INFO] [stdout] --> src/playground/enums.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 30 | struct ScheduledPayment { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 31 | amount: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | attendant: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | direction: TransferDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | due_date: Date [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduledPayment` 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 `document_id` and `content` are never read [INFO] [stdout] --> src/playground/enums.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 38 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 39 | document_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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] --> src/playground/enums.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | Loan(ScheduledPayment), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Transfer` 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] 56 | Loan(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Noop` is never constructed [INFO] [stdout] --> src/playground/enums.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 54 | enum Transfer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Noop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transfer` 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 `event_name` is never read [INFO] [stdout] --> src/playground/collections.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | struct NotifyPayload { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | event_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NotifyPayload` 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 `content` is never read [INFO] [stdout] --> src/playground/collections.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | struct StreamPayload { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | content: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamPayload` 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] --> src/playground/collections.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | Notify(NotifyPayload), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Notify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/playground/collections.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Stream(StreamPayload), [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Stream(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_simple` is never used [INFO] [stdout] --> src/playground/error_handling.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_file_simple(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TraverseCb` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type TraverseCb = fn(&Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl LeafNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, data: Transaction) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_child_hash` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_child_hash(left: u64, right: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_full` is never used [INFO] [stdout] --> src/merkle_tree/node.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 59 | impl InternalNode { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/merkle_tree/node.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 95 | Leaf(Box), [INFO] [stdout] 96 | Internal(Box), [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: methods `insert`, `is_full`, and `traverse` are never used [INFO] [stdout] --> src/merkle_tree/node.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 100 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 101 | pub fn insert(&mut self, txn: Transaction) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn traverse(&self, pre_cb: TraverseCb, in_cb: TraverseCb, post_cb: TraverseCb) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_str_hash` is never used [INFO] [stdout] --> src/merkle_tree/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_str_hash(s: &str, hasher: &H) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_list` is never used [INFO] [stdout] --> src/linked_list/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_list() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/list.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Link` is never used [INFO] [stdout] --> src/linked_list/list.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/linked_list/list.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl List { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: i32) -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Number(i64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 5 | Number(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | String(&'a str), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 6 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Object(HashMap<&'a str, JSON<'a>>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Object(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/json/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Array(Vec>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JSON` has derived impls for the traits `Clone` and `Debug`, but these are 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] 9 | Array(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "ccd97f3d427911870128c733d9224a011c8796a4774d6ada6e997a64ff68904b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd97f3d427911870128c733d9224a011c8796a4774d6ada6e997a64ff68904b", kill_on_drop: false }` [INFO] [stdout] ccd97f3d427911870128c733d9224a011c8796a4774d6ada6e997a64ff68904b