[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] testing j5ik2o/sandbox-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j5ik2o/sandbox-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-22/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tailcall v0.1.6 [INFO] [stderr] Downloaded tailcall-impl v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 488766b0540193a66ff4a7a3816ca8c42492a8abce04d9af0d33ac96b63d1160 [INFO] running `Command { std: "docker" "start" "-a" "488766b0540193a66ff4a7a3816ca8c42492a8abce04d9af0d33ac96b63d1160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "488766b0540193a66ff4a7a3816ca8c42492a8abce04d9af0d33ac96b63d1160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488766b0540193a66ff4a7a3816ca8c42492a8abce04d9af0d33ac96b63d1160", kill_on_drop: false }` [INFO] [stdout] 488766b0540193a66ff4a7a3816ca8c42492a8abce04d9af0d33ac96b63d1160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a02c7507d48d3e916ffc5918d5a43c8cfc737ff11777d42a1073e50ad455303 [INFO] running `Command { std: "docker" "start" "-a" "8a02c7507d48d3e916ffc5918d5a43c8cfc737ff11777d42a1073e50ad455303", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [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 instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tailcall-impl v0.1.6 [INFO] [stderr] Compiling tailcall v0.1.6 [INFO] [stderr] Compiling sandbox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `main1` [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 is never used: `new` [INFO] [stdout] --> src/address_book.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `USD` [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | USD, [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] --> src/currency.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JPY` [INFO] [stdout] --> src/currency.rs:6:3 [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] --> src/currency.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/money.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn one(currency: Currency) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/money.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn zero(currency: Currency) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/money.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn abs(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rem` [INFO] [stdout] --> src/money.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn rem(self, n: BigDecimal) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> src/money.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_non_zero` [INFO] [stdout] --> src/money.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_non_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | / Leaf { [INFO] [stdout] 7 | | value: T, [INFO] [stdout] 8 | | }, [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] --> src/node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/node.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / Branch { [INFO] [stdout] 10 | | left: Arc>, [INFO] [stdout] 11 | | value: T, [INFO] [stdout] 12 | | right: Arc>, [INFO] [stdout] 13 | | }, [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] --> src/node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/node.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn from_vec(values: &[T]) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_leaf` [INFO] [stdout] --> src/node.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn of_leaf(value: T) -> Node { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_branch` [INFO] [stdout] --> src/node.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn of_branch(left: Node, value: T, right: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/node.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn find(&'a self, value: T) -> Option<&'a Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/node.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn map(&'a self, mut f: F) -> Node [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_value` [INFO] [stdout] --> src/node.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/node.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_max` [INFO] [stdout] --> src/node.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_min` [INFO] [stdout] --> src/node.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/ref_node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | / Leaf { [INFO] [stdout] 7 | | value: &'a T, [INFO] [stdout] 8 | | }, [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] --> src/ref_node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/ref_node.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / Branch { [INFO] [stdout] 10 | | left: Arc>, [INFO] [stdout] 11 | | value: &'a T, [INFO] [stdout] 12 | | right: Arc>, [INFO] [stdout] 13 | | }, [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] --> src/ref_node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/ref_node.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_vec(values: &'a [T]) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_leaf` [INFO] [stdout] --> src/ref_node.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn of_leaf(value: &'a T) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_branch` [INFO] [stdout] --> src/ref_node.rs:79:10 [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] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/ref_node.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn find(&'a self, value: T) -> Option<&'a RefNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/ref_node.rs:101:10 [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] [INFO] [stdout] warning: associated function is never used: `as_value` [INFO] [stdout] --> src/ref_node.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/ref_node.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_max` [INFO] [stdout] --> src/ref_node.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_min` [INFO] [stdout] --> src/ref_node.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [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] --> src/thread.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(id: MemberId, name: MemberName) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(value: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender_id` [INFO] [stdout] --> src/thread.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | sender_id: MemberId, [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] --> src/thread.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/thread.rs:78:3 [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] --> src/thread.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new(id: MessageId, sender_id: MemberId, text: MessageText) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/thread.rs:99:3 [INFO] [stdout] | [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] --> src/thread.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `members` [INFO] [stdout] --> src/thread.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | members: Vec, [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] --> src/thread.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `messages` [INFO] [stdout] --> src/thread.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | messages: Vec, [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] --> src/thread.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new(id: ThreadId, members: &[Member], messages: &[Message]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_member_id` [INFO] [stdout] --> src/thread.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_member_id(&self, member_id: &MemberId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_message` [INFO] [stdout] --> src/thread.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn add_message(&mut self, message: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_messages` [INFO] [stdout] --> src/thread.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn add_messages(&mut self, messages: &[Message]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_messages` [INFO] [stdout] --> src/thread.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn remove_messages(&mut self, message_ids: &[MessageId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `messages` [INFO] [stdout] --> src/thread.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn messages(&self) -> &[Message] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_members` [INFO] [stdout] --> src/thread.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn add_members(&mut self, members: &[Member]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_members` [INFO] [stdout] --> src/thread.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn remove_members(&mut self, member_ids: &[MemberId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_idx` [INFO] [stdout] --> src/thread.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | fn convert_to_idx(members: &Vec, member_ids: &[ID]) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `members` [INFO] [stdout] --> src/thread.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn members(&self) -> &[Member] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/user_names.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn new(value: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/user_names.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_user_name0` [INFO] [stdout] --> src/user_names.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add_user_name0(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_user_name1` [INFO] [stdout] --> src/user_names.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add_user_name1(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_user_name2` [INFO] [stdout] --> src/user_names.rs:27:10 [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: `#[warn(unused_must_use)]` on by default [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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "8a02c7507d48d3e916ffc5918d5a43c8cfc737ff11777d42a1073e50ad455303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a02c7507d48d3e916ffc5918d5a43c8cfc737ff11777d42a1073e50ad455303", kill_on_drop: false }` [INFO] [stdout] 8a02c7507d48d3e916ffc5918d5a43c8cfc737ff11777d42a1073e50ad455303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14df6368cf86e3b01d35697efbee97d7a7e3f892b89f914594fcf4d2a890aa2c [INFO] running `Command { std: "docker" "start" "-a" "14df6368cf86e3b01d35697efbee97d7a7e3f892b89f914594fcf4d2a890aa2c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sandbox-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `main1` [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: variant is never constructed: `USD` [INFO] [stdout] --> src/currency.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | USD, [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] --> src/currency.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JPY` [INFO] [stdout] --> src/currency.rs:6:3 [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] --> src/currency.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/money.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn one(currency: Currency) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/money.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn zero(currency: Currency) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/money.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn abs(self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rem` [INFO] [stdout] --> src/money.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn rem(self, n: BigDecimal) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> src/money.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_non_zero` [INFO] [stdout] --> src/money.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_non_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | / Leaf { [INFO] [stdout] 7 | | value: T, [INFO] [stdout] 8 | | }, [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] --> src/node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/node.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / Branch { [INFO] [stdout] 10 | | left: Arc>, [INFO] [stdout] 11 | | value: T, [INFO] [stdout] 12 | | right: Arc>, [INFO] [stdout] 13 | | }, [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] --> src/node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/node.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn from_vec(values: &[T]) -> Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_leaf` [INFO] [stdout] --> src/node.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn of_leaf(value: T) -> Node { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_branch` [INFO] [stdout] --> src/node.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn of_branch(left: Node, value: T, right: Node) -> Node { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/node.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn find(&'a self, value: T) -> Option<&'a Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/node.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn map(&'a self, mut f: F) -> Node [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_value` [INFO] [stdout] --> src/node.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/node.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_max` [INFO] [stdout] --> src/node.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_min` [INFO] [stdout] --> src/node.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/ref_node.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | / Leaf { [INFO] [stdout] 7 | | value: &'a T, [INFO] [stdout] 8 | | }, [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] --> src/ref_node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/ref_node.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | / Branch { [INFO] [stdout] 10 | | left: Arc>, [INFO] [stdout] 11 | | value: &'a T, [INFO] [stdout] 12 | | right: Arc>, [INFO] [stdout] 13 | | }, [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] --> src/ref_node.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/ref_node.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_vec(values: &'a [T]) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_leaf` [INFO] [stdout] --> src/ref_node.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn of_leaf(value: &'a T) -> RefNode<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of_branch` [INFO] [stdout] --> src/ref_node.rs:79:10 [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] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/ref_node.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn find(&'a self, value: T) -> Option<&'a RefNode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/ref_node.rs:101:10 [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] [INFO] [stdout] warning: associated function is never used: `as_value` [INFO] [stdout] --> src/ref_node.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn as_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/ref_node.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_max` [INFO] [stdout] --> src/ref_node.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn as_max(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_min` [INFO] [stdout] --> src/ref_node.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn as_min(&self) -> &T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/thread.rs:41:3 [INFO] [stdout] | [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] --> src/thread.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `text` [INFO] [stdout] --> src/thread.rs:78:3 [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] --> src/thread.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/thread.rs:99:3 [INFO] [stdout] | [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] --> src/thread.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_messages` [INFO] [stdout] --> src/thread.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn remove_messages(&mut self, message_ids: &[MessageId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_members` [INFO] [stdout] --> src/thread.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn remove_members(&mut self, member_ids: &[MemberId]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `convert_to_idx` [INFO] [stdout] --> src/thread.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | fn convert_to_idx(members: &Vec, member_ids: &[ID]) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_user_name1` [INFO] [stdout] --> src/user_names.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add_user_name1(&mut self, user_name: UserName) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_user_name2` [INFO] [stdout] --> src/user_names.rs:27:10 [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: `#[warn(unused_must_use)]` on by default [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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "14df6368cf86e3b01d35697efbee97d7a7e3f892b89f914594fcf4d2a890aa2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14df6368cf86e3b01d35697efbee97d7a7e3f892b89f914594fcf4d2a890aa2c", kill_on_drop: false }` [INFO] [stdout] 14df6368cf86e3b01d35697efbee97d7a7e3f892b89f914594fcf4d2a890aa2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae8b042c9f5e62a2ddad74c0472c445baab3e9296e934655620ef6c1b1707269 [INFO] running `Command { std: "docker" "start" "-a" "ae8b042c9f5e62a2ddad74c0472c445baab3e9296e934655620ef6c1b1707269", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `main1` [INFO] [stderr] --> src/main.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn main1() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `USD` [INFO] [stderr] --> src/currency.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | USD, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Currency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/currency.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `JPY` [INFO] [stderr] --> src/currency.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | JPY, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Currency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/currency.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `one` [INFO] [stderr] --> src/money.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn one(currency: Currency) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `zero` [INFO] [stderr] --> src/money.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn zero(currency: Currency) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `abs` [INFO] [stderr] --> src/money.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn abs(self) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rem` [INFO] [stderr] --> src/money.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn rem(self, n: BigDecimal) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_zero` [INFO] [stderr] --> src/money.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn is_zero(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_non_zero` [INFO] [stderr] --> src/money.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn is_non_zero(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Leaf` [INFO] [stderr] --> src/node.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | / Leaf { [INFO] [stderr] 7 | | value: T, [INFO] [stderr] 8 | | }, [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/node.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Branch` [INFO] [stderr] --> src/node.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | / Branch { [INFO] [stderr] 10 | | left: Arc>, [INFO] [stderr] 11 | | value: T, [INFO] [stderr] 12 | | right: Arc>, [INFO] [stderr] 13 | | }, [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/node.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_vec` [INFO] [stderr] --> src/node.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn from_vec(values: &[T]) -> Node { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_leaf` [INFO] [stderr] --> src/node.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn of_leaf(value: T) -> Node { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_branch` [INFO] [stderr] --> src/node.rs:77:10 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn of_branch(left: Node, value: T, right: Node) -> Node { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/node.rs:85:10 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn find(&'a self, value: T) -> Option<&'a Node> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `map` [INFO] [stderr] --> src/node.rs:99:10 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn map(&'a self, mut f: F) -> Node [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_value` [INFO] [stderr] --> src/node.rs:123:10 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn as_value(&self) -> &T { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/node.rs:166:10 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_max` [INFO] [stderr] --> src/node.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn as_max(&self) -> &T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_min` [INFO] [stderr] --> src/node.rs:180:10 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn as_min(&self) -> &T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Leaf` [INFO] [stderr] --> src/ref_node.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | / Leaf { [INFO] [stderr] 7 | | value: &'a T, [INFO] [stderr] 8 | | }, [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] note: `RefNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ref_node.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Branch` [INFO] [stderr] --> src/ref_node.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | / Branch { [INFO] [stderr] 10 | | left: Arc>, [INFO] [stderr] 11 | | value: &'a T, [INFO] [stderr] 12 | | right: Arc>, [INFO] [stderr] 13 | | }, [INFO] [stderr] | |___^ [INFO] [stderr] | [INFO] [stderr] note: `RefNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ref_node.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_vec` [INFO] [stderr] --> src/ref_node.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn from_vec(values: &'a [T]) -> RefNode<'a, T> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_leaf` [INFO] [stderr] --> src/ref_node.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn of_leaf(value: &'a T) -> RefNode<'a, T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `of_branch` [INFO] [stderr] --> src/ref_node.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn of_branch(left: RefNode<'a, T>, value: &'a T, right: RefNode<'a, T>) -> RefNode<'a, T> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/ref_node.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn find(&'a self, value: T) -> Option<&'a RefNode> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `map` [INFO] [stderr] --> src/ref_node.rs:101:10 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn map<'b, B, F>(&'a self, mut f: F) -> RefNode<'b, B> [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_value` [INFO] [stderr] --> src/ref_node.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn as_value(&self) -> &T { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/ref_node.rs:158:10 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_max` [INFO] [stderr] --> src/ref_node.rs:165:10 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn as_max(&self) -> &T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_min` [INFO] [stderr] --> src/ref_node.rs:172:10 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn as_min(&self) -> &T { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/thread.rs:41:3 [INFO] [stderr] | [INFO] [stderr] 41 | name: MemberName, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Member` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/thread.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `text` [INFO] [stderr] --> src/thread.rs:78:3 [INFO] [stderr] | [INFO] [stderr] 78 | text: MessageText, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/thread.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/thread.rs:99:3 [INFO] [stderr] | [INFO] [stderr] 99 | id: ThreadId, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Thread` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/thread.rs:97:10 [INFO] [stderr] | [INFO] [stderr] 97 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_messages` [INFO] [stderr] --> src/thread.rs:135:10 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn remove_messages(&mut self, message_ids: &[MessageId]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_members` [INFO] [stderr] --> src/thread.rs:151:10 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn remove_members(&mut self, member_ids: &[MemberId]) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `convert_to_idx` [INFO] [stderr] --> src/thread.rs:159:6 [INFO] [stderr] | [INFO] [stderr] 159 | fn convert_to_idx(members: &Vec, member_ids: &[ID]) -> Vec [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_user_name1` [INFO] [stderr] --> src/user_names.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn add_user_name1(&mut self, user_name: UserName) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_user_name2` [INFO] [stderr] --> src/user_names.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn add_user_name2(mut self, user_name: UserName) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 0 that must be used [INFO] [stderr] --> src/main.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | tokio::join!(h1, h2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` in tuple element 1 that must be used [INFO] [stderr] --> src/main.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | tokio::join!(h1, h2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sandbox-rs` (bin "sandbox-rs" test) generated 41 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sandbox_rs-c1a797c2c9354fe8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test address_book::test::test_address_book ... ok [INFO] [stdout] test thread::tests::test_thread ... ok [INFO] [stdout] test user_names::tests::test_add_user_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae8b042c9f5e62a2ddad74c0472c445baab3e9296e934655620ef6c1b1707269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8b042c9f5e62a2ddad74c0472c445baab3e9296e934655620ef6c1b1707269", kill_on_drop: false }` [INFO] [stdout] ae8b042c9f5e62a2ddad74c0472c445baab3e9296e934655620ef6c1b1707269