[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 beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj5ik2o%2Fsandbox-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/j5ik2o/sandbox-rs on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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-7/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" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ddff63ec871107520eb35115bc39ce8d27a2660050c8f1bea0dd0c0dc294bfdd
[INFO] running `Command { std: "docker" "start" "-a" "ddff63ec871107520eb35115bc39ce8d27a2660050c8f1bea0dd0c0dc294bfdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddff63ec871107520eb35115bc39ce8d27a2660050c8f1bea0dd0c0dc294bfdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddff63ec871107520eb35115bc39ce8d27a2660050c8f1bea0dd0c0dc294bfdd", kill_on_drop: false }`
[INFO] [stdout] ddff63ec871107520eb35115bc39ce8d27a2660050c8f1bea0dd0c0dc294bfdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a96a48e012dc1fd79b95760a6c09c24447a07f5b27d8b496971c9323eec0c9b
[INFO] running `Command { std: "docker" "start" "-a" "2a96a48e012dc1fd79b95760a6c09c24447a07f5b27d8b496971c9323eec0c9b", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling 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 instant v0.1.10
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling bigdecimal v0.1.2
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling tailcall-impl v0.1.6
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]    Compiling tailcall v0.1.6
[INFO] [stderr]    Compiling 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] 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 function `one` is never used
[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 `zero` is never used
[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 `abs` is never used
[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 `rem` is never used
[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_zero` is never used
[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_non_zero` is never used
[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: variants `Leaf` and `Branch` are never constructed
[INFO] [stdout]   --> src/node.rs:6:3
[INFO] [stdout]    |
[INFO] [stdout] 5  |   pub enum Node<T> {
[INFO] [stdout]    |            ---- variants in this enum
[INFO] [stdout] 6  | /   Leaf {
[INFO] [stdout] 7  | |     value: T,
[INFO] [stdout] 8  | |   },
[INFO] [stdout]    | |___^
[INFO] [stdout] 9  | /   Branch {
[INFO] [stdout] 10 | |     left: Arc<Node<T>>,
[INFO] [stdout] 11 | |     value: T,
[INFO] [stdout] 12 | |     right: Arc<Node<T>>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_vec` is never used
[INFO] [stdout]   --> src/node.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub fn from_vec(values: &[T]) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of_leaf` is never used
[INFO] [stdout]   --> src/node.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 |   pub fn of_leaf(value: T) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of_branch` is never used
[INFO] [stdout]   --> src/node.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn of_branch(left: Node<T>, value: T, right: Node<T>) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find` is never used
[INFO] [stdout]   --> src/node.rs:85:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |   pub fn find(&'a self, value: T) -> Option<&'a Node<T>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `map` is never used
[INFO] [stdout]   --> src/node.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub fn map<B, F>(&'a self, mut f: F) -> Node<B>
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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: 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] 7  | |     value: &'a T,
[INFO] [stdout] 8  | |   },
[INFO] [stdout]    | |___^
[INFO] [stdout] 9  | /   Branch {
[INFO] [stdout] 10 | |     left: Arc<RefNode<'a, T>>,
[INFO] [stdout] 11 | |     value: &'a T,
[INFO] [stdout] 12 | |     right: Arc<RefNode<'a, T>>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_vec` is never used
[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 `of_leaf` is never used
[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 `of_branch` is never used
[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 `find` is never used
[INFO] [stdout]   --> src/ref_node.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 |   pub fn find(&'a self, value: T) -> Option<&'a RefNode<T>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `map` is never used
[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 `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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 `new` is never used
[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 `new` is never used
[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 `new` is never used
[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 `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] 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] 60 |   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:69:10
[INFO] [stdout]    |
[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] 82 |   pub fn new(id: MessageId, sender_id: MemberId, text: MessageText) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `members` and `messages` are never read
[INFO] [stdout]    --> src/thread.rs:99:3
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct Thread {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 99  |   id: ThreadId,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout] 100 |   members: Vec<Member>,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |   messages: Vec<Message>,
[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 function `new` is never used
[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_member_id` is never used
[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 `add_message` is never used
[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 `add_messages` is never used
[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 `remove_messages` is never used
[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 `messages` is never used
[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 `add_members` is never used
[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 `remove_members` is never used
[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 `convert_to_idx` is never used
[INFO] [stdout]    --> src/thread.rs:159:6
[INFO] [stdout]     |
[INFO] [stdout] 159 |   fn convert_to_idx<ID, M>(members: &Vec<M>, member_ids: &[ID]) -> Vec<usize>
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `members` is never used
[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 `new` is never used
[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 `new` is never used
[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 `add_user_name0` is never used
[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 `add_user_name1` is never used
[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 `add_user_name2` is never used
[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: 56 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 45.67s
[INFO] running `Command { std: "docker" "inspect" "2a96a48e012dc1fd79b95760a6c09c24447a07f5b27d8b496971c9323eec0c9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a96a48e012dc1fd79b95760a6c09c24447a07f5b27d8b496971c9323eec0c9b", kill_on_drop: false }`
[INFO] [stdout] 2a96a48e012dc1fd79b95760a6c09c24447a07f5b27d8b496971c9323eec0c9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 661bbfb219368511d1504cc029944317d1a6244becfb91b92d6abbd8c83c88eb
[INFO] running `Command { std: "docker" "start" "-a" "661bbfb219368511d1504cc029944317d1a6244becfb91b92d6abbd8c83c88eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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 function `one` is never used
[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 `zero` is never used
[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 `abs` is never used
[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 `rem` is never used
[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_zero` is never used
[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_non_zero` is never used
[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: variants `Leaf` and `Branch` are never constructed
[INFO] [stdout]   --> src/node.rs:6:3
[INFO] [stdout]    |
[INFO] [stdout] 5  |   pub enum Node<T> {
[INFO] [stdout]    |            ---- variants in this enum
[INFO] [stdout] 6  | /   Leaf {
[INFO] [stdout] 7  | |     value: T,
[INFO] [stdout] 8  | |   },
[INFO] [stdout]    | |___^
[INFO] [stdout] 9  | /   Branch {
[INFO] [stdout] 10 | |     left: Arc<Node<T>>,
[INFO] [stdout] 11 | |     value: T,
[INFO] [stdout] 12 | |     right: Arc<Node<T>>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_vec` is never used
[INFO] [stdout]   --> src/node.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |   pub fn from_vec(values: &[T]) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of_leaf` is never used
[INFO] [stdout]   --> src/node.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 |   pub fn of_leaf(value: T) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of_branch` is never used
[INFO] [stdout]   --> src/node.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn of_branch(left: Node<T>, value: T, right: Node<T>) -> Node<T> {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `find` is never used
[INFO] [stdout]   --> src/node.rs:85:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |   pub fn find(&'a self, value: T) -> Option<&'a Node<T>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `map` is never used
[INFO] [stdout]   --> src/node.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub fn map<B, F>(&'a self, mut f: F) -> Node<B>
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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: 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] 7  | |     value: &'a T,
[INFO] [stdout] 8  | |   },
[INFO] [stdout]    | |___^
[INFO] [stdout] 9  | /   Branch {
[INFO] [stdout] 10 | |     left: Arc<RefNode<'a, T>>,
[INFO] [stdout] 11 | |     value: &'a T,
[INFO] [stdout] 12 | |     right: Arc<RefNode<'a, T>>,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_vec` is never used
[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 `of_leaf` is never used
[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 `of_branch` is never used
[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 `find` is never used
[INFO] [stdout]   --> src/ref_node.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 |   pub fn find(&'a self, value: T) -> Option<&'a RefNode<T>> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `map` is never used
[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 `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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 `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 `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 function `remove_messages` is never used
[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 `remove_members` is never used
[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 `convert_to_idx` is never used
[INFO] [stdout]    --> src/thread.rs:159:6
[INFO] [stdout]     |
[INFO] [stdout] 159 |   fn convert_to_idx<ID, M>(members: &Vec<M>, member_ids: &[ID]) -> Vec<usize>
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add_user_name1` is never used
[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 `add_user_name2` is never used
[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: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.98s
[INFO] running `Command { std: "docker" "inspect" "661bbfb219368511d1504cc029944317d1a6244becfb91b92d6abbd8c83c88eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "661bbfb219368511d1504cc029944317d1a6244becfb91b92d6abbd8c83c88eb", kill_on_drop: false }`
[INFO] [stdout] 661bbfb219368511d1504cc029944317d1a6244becfb91b92d6abbd8c83c88eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9402253e7c51f1674b0ca2a2bf59cc4b72293ce12cf215a49167750374493eb1
[INFO] running `Command { std: "docker" "start" "-a" "9402253e7c51f1674b0ca2a2bf59cc4b72293ce12cf215a49167750374493eb1", kill_on_drop: false }`
[INFO] [stderr] warning: function `main1` is never used
[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: variants `USD` and `JPY` are never constructed
[INFO] [stderr]  --> src/currency.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum Currency {
[INFO] [stderr]   |          -------- variants in this enum
[INFO] [stderr] 5 |   USD,
[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] 
[INFO] [stderr] warning: associated function `one` is never used
[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 `zero` is never used
[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 `abs` is never used
[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 `rem` is never used
[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_zero` is never used
[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_non_zero` is never used
[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: variants `Leaf` and `Branch` are never constructed
[INFO] [stderr]   --> src/node.rs:6:3
[INFO] [stderr]    |
[INFO] [stderr] 5  |   pub enum Node<T> {
[INFO] [stderr]    |            ---- variants in this enum
[INFO] [stderr] 6  | /   Leaf {
[INFO] [stderr] 7  | |     value: T,
[INFO] [stderr] 8  | |   },
[INFO] [stderr]    | |___^
[INFO] [stderr] 9  | /   Branch {
[INFO] [stderr] 10 | |     left: Arc<Node<T>>,
[INFO] [stderr] 11 | |     value: T,
[INFO] [stderr] 12 | |     right: Arc<Node<T>>,
[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] 
[INFO] [stderr] warning: associated function `from_vec` is never used
[INFO] [stderr]   --> src/node.rs:62:10
[INFO] [stderr]    |
[INFO] [stderr] 62 |   pub fn from_vec(values: &[T]) -> Node<T> {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `of_leaf` is never used
[INFO] [stderr]   --> src/node.rs:73:10
[INFO] [stderr]    |
[INFO] [stderr] 73 |   pub fn of_leaf(value: T) -> Node<T> {
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `of_branch` is never used
[INFO] [stderr]   --> src/node.rs:77:10
[INFO] [stderr]    |
[INFO] [stderr] 77 |   pub fn of_branch(left: Node<T>, value: T, right: Node<T>) -> Node<T> {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `find` is never used
[INFO] [stderr]   --> src/node.rs:85:10
[INFO] [stderr]    |
[INFO] [stderr] 85 |   pub fn find(&'a self, value: T) -> Option<&'a Node<T>> {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `map` is never used
[INFO] [stderr]   --> src/node.rs:99:10
[INFO] [stderr]    |
[INFO] [stderr] 99 |   pub fn map<B, F>(&'a self, mut f: F) -> Node<B>
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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: variants `Leaf` and `Branch` are never constructed
[INFO] [stderr]   --> src/ref_node.rs:6:3
[INFO] [stderr]    |
[INFO] [stderr] 5  |   pub enum RefNode<'a, T> {
[INFO] [stderr]    |            ------- variants in this enum
[INFO] [stderr] 6  | /   Leaf {
[INFO] [stderr] 7  | |     value: &'a T,
[INFO] [stderr] 8  | |   },
[INFO] [stderr]    | |___^
[INFO] [stderr] 9  | /   Branch {
[INFO] [stderr] 10 | |     left: Arc<RefNode<'a, T>>,
[INFO] [stderr] 11 | |     value: &'a T,
[INFO] [stderr] 12 | |     right: Arc<RefNode<'a, T>>,
[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] 
[INFO] [stderr] warning: associated function `from_vec` is never used
[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 `of_leaf` is never used
[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 `of_branch` is never used
[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 `find` is never used
[INFO] [stderr]   --> src/ref_node.rs:87:10
[INFO] [stderr]    |
[INFO] [stderr] 87 |   pub fn find(&'a self, value: T) -> Option<&'a RefNode<T>> {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `map` is never used
[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 `as_value` is never used
[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 `size` is never used
[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 `as_max` is never used
[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 `as_min` is never used
[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 `name` is never read
[INFO] [stderr]   --> src/thread.rs:41:3
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct Member {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] 40 |   id: MemberId,
[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] 
[INFO] [stderr] warning: field `text` is never read
[INFO] [stderr]   --> src/thread.rs:78:3
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub struct Message {
[INFO] [stderr]    |            ------- field in this struct
[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] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]   --> src/thread.rs:99:3
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub struct Thread {
[INFO] [stderr]    |            ------ field in this struct
[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] 
[INFO] [stderr] warning: associated function `remove_messages` is never used
[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 `remove_members` is never used
[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 `convert_to_idx` is never used
[INFO] [stderr]    --> src/thread.rs:159:6
[INFO] [stderr]     |
[INFO] [stderr] 159 |   fn convert_to_idx<ID, M>(members: &Vec<M>, member_ids: &[ID]) -> Vec<usize>
[INFO] [stderr]     |      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `add_user_name1` is never used
[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 `add_user_name2` is never used
[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 38 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.59s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sandbox_rs-c75a27185b18d68d)
[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.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9402253e7c51f1674b0ca2a2bf59cc4b72293ce12cf215a49167750374493eb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9402253e7c51f1674b0ca2a2bf59cc4b72293ce12cf215a49167750374493eb1", kill_on_drop: false }`
[INFO] [stdout] 9402253e7c51f1674b0ca2a2bf59cc4b72293ce12cf215a49167750374493eb1
