[INFO] cloning repository https://github.com/j5ik2o/sandbox-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j5ik2o/sandbox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df47ac15d773a357caf7d93c3cd4319c65b74477 [INFO] checking j5ik2o/sandbox-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j5ik2o/sandbox-rs 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/j5ik2o/sandbox-rs [INFO] finished tweaking git repo https://github.com/j5ik2o/sandbox-rs [INFO] tweaked toml for git repo https://github.com/j5ik2o/sandbox-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/j5ik2o/sandbox-rs 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tailcall-impl v0.1.6 [INFO] [stderr] Downloaded tailcall v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 674c67bfb5a7b4e2b212a25780d0fb77c8671a2ae738c2f5c23d679d77c82e7b [INFO] running `Command { std: "docker" "start" "-a" "674c67bfb5a7b4e2b212a25780d0fb77c8671a2ae738c2f5c23d679d77c82e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "674c67bfb5a7b4e2b212a25780d0fb77c8671a2ae738c2f5c23d679d77c82e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "674c67bfb5a7b4e2b212a25780d0fb77c8671a2ae738c2f5c23d679d77c82e7b", kill_on_drop: false }` [INFO] [stdout] 674c67bfb5a7b4e2b212a25780d0fb77c8671a2ae738c2f5c23d679d77c82e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6de5ae2852fef7b7e211100319ee8754291659f1b0230c32f299d6d792dbedd4 [INFO] running `Command { std: "docker" "start" "-a" "6de5ae2852fef7b7e211100319ee8754291659f1b0230c32f299d6d792dbedd4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tailcall-impl v0.1.6 [INFO] [stderr] Checking tailcall v0.1.6 [INFO] [stderr] Checking sandbox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main1` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/address_book.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 4 | impl AddressEntryId { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 5 | pub(crate) fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USD` and `JPY` are never constructed [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Currency { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | USD, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | JPY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Currency` 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: associated items `one`, `zero`, `abs`, `rem`, `is_zero`, and `is_non_zero` are never used [INFO] [stdout] --> src/money.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl Money { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn one(currency: Currency) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn zero(currency: Currency) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn abs(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn rem(self, n: BigDecimal) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_non_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `Branch` are never constructed [INFO] [stdout] --> src/node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Leaf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: multiple associated items are never used [INFO] [stdout] --> src/node.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 58 | / impl<'a, T: Clone> Node [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | T: PartialOrd + 'a, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 61 | { [INFO] [stdout] 62 | pub fn from_vec(values: &[T]) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn of_leaf(value: T) -> Node { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn of_branch(left: Node, value: T, right: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn find(&'a self, value: T) -> Option<&'a Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn map(&'a self, mut f: F) -> Node [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `Branch` are never constructed [INFO] [stdout] --> src/ref_node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RefNode<'a, T> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Leaf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefNode` 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: multiple associated items are never used [INFO] [stdout] --> src/ref_node.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 58 | / impl<'a, T: Clone> RefNode<'a, T> [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | &'a T: PartialOrd, [INFO] [stdout] 61 | | T: PartialOrd, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn from_vec(values: &'a [T]) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn of_leaf(value: &'a T) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn of_branch(left: RefNode<'a, T>, value: &'a T, right: RefNode<'a, T>) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn find(&'a self, value: T) -> Option<&'a RefNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn map<'b, B, F>(&'a self, mut f: F) -> RefNode<'b, B> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/thread.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Entity [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn id(&self) -> &ID; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl ThreadId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl MemberId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 32 | impl MemberName { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | id: MemberId, [INFO] [stdout] 41 | name: MemberName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` 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: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Member { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(id: MemberId, name: MemberName) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 59 | impl MessageId { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/thread.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MessageText(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MessageText` 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: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 68 | impl MessageText { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 69 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender_id` and `text` are never read [INFO] [stdout] --> src/thread.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 76 | id: MessageId, [INFO] [stdout] 77 | sender_id: MemberId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | text: MessageText, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 81 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 82 | pub fn new(id: MessageId, sender_id: MemberId, text: MessageText) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/thread.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` 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: multiple associated items are never used [INFO] [stdout] --> src/thread.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 104 | impl Thread { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 105 | pub fn new(id: ThreadId, members: &[Member], messages: &[Message]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn is_member_id(&self, member_id: &MemberId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_message(&mut self, message: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn add_messages(&mut self, messages: &[Message]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn remove_messages(&mut self, message_ids: &[MessageId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn messages(&self) -> &[Message] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn add_members(&mut self, members: &[Member]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn remove_members(&mut self, member_ids: &[MemberId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn convert_to_idx(members: &Vec, member_ids: &[ID]) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn members(&self) -> &[Member] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserName` is never constructed [INFO] [stdout] --> src/user_names.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserName(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserName` 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: associated function `new` is never used [INFO] [stdout] --> src/user_names.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | impl UserName { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 5 | pub fn new(value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserNames` is never constructed [INFO] [stdout] --> src/user_names.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserNames(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserNames` 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: associated items `new`, `add_user_name0`, `add_user_name1`, and `add_user_name2` are never used [INFO] [stdout] --> src/user_names.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserNames { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_user_name0(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_user_name1(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_user_name2(mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main1` is never used [INFO] [stdout] --> src/main.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn main1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `USD` and `JPY` are never constructed [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Currency { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | USD, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | JPY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Currency` 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: associated items `one`, `zero`, `abs`, `rem`, `is_zero`, and `is_non_zero` are never used [INFO] [stdout] --> src/money.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl Money { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 25 | pub fn one(currency: Currency) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn zero(currency: Currency) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn abs(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn rem(self, n: BigDecimal) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_non_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `Branch` are never constructed [INFO] [stdout] --> src/node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Leaf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: multiple associated items are never used [INFO] [stdout] --> src/node.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 58 | / impl<'a, T: Clone> Node [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | T: PartialOrd + 'a, [INFO] [stdout] | |_____________________- associated items in this implementation [INFO] [stdout] 61 | { [INFO] [stdout] 62 | pub fn from_vec(values: &[T]) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn of_leaf(value: T) -> Node { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn of_branch(left: Node, value: T, right: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn find(&'a self, value: T) -> Option<&'a Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn map(&'a self, mut f: F) -> Node [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `Branch` are never constructed [INFO] [stdout] --> src/ref_node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RefNode<'a, T> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Leaf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefNode` 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: multiple associated items are never used [INFO] [stdout] --> src/ref_node.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 58 | / impl<'a, T: Clone> RefNode<'a, T> [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | &'a T: PartialOrd, [INFO] [stdout] 61 | | T: PartialOrd, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn from_vec(values: &'a [T]) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn of_leaf(value: &'a T) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn of_branch(left: RefNode<'a, T>, value: &'a T, right: RefNode<'a, T>) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn find(&'a self, value: T) -> Option<&'a RefNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn map<'b, B, F>(&'a self, mut f: F) -> RefNode<'b, B> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/thread.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Entity [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn id(&self) -> &ID; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Member { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 40 | id: MemberId, [INFO] [stdout] 41 | name: MemberName, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` 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: field `0` is never read [INFO] [stdout] --> src/thread.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MessageText(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MessageText` 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: field `text` is never read [INFO] [stdout] --> src/thread.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Message { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | text: MessageText, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: field `id` is never read [INFO] [stdout] --> src/thread.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Thread { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | id: ThreadId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thread` 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: associated items `remove_messages`, `remove_members`, and `convert_to_idx` are never used [INFO] [stdout] --> src/thread.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 104 | impl Thread { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn remove_messages(&mut self, message_ids: &[MessageId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn remove_members(&mut self, member_ids: &[MemberId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn convert_to_idx(members: &Vec, member_ids: &[ID]) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/user_names.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UserName` 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: methods `add_user_name1` and `add_user_name2` are never used [INFO] [stdout] --> src/user_names.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserNames { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_user_name1(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_user_name2(mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | tokio::join!(h1, h2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "6de5ae2852fef7b7e211100319ee8754291659f1b0230c32f299d6d792dbedd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de5ae2852fef7b7e211100319ee8754291659f1b0230c32f299d6d792dbedd4", kill_on_drop: false }` [INFO] [stdout] 6de5ae2852fef7b7e211100319ee8754291659f1b0230c32f299d6d792dbedd4