[INFO] cloning repository https://github.com/nyeogmi/batircd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nyeogmi/batircd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyeogmi%2Fbatircd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyeogmi%2Fbatircd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55cfe1e712617d15a109fcf075c7a610e9812596
[INFO] testing nyeogmi/batircd against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyeogmi%2Fbatircd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nyeogmi/batircd
[INFO] finished tweaking git repo https://github.com/nyeogmi/batircd
[INFO] tweaked toml for git repo https://github.com/nyeogmi/batircd written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nyeogmi/batircd on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nyeogmi/batircd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.39
[INFO] [stderr]   Downloaded syn v1.0.95
[INFO] [stderr]   Downloaded unicode-ident v1.0.0
[INFO] [stderr]   Downloaded tokio v1.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6adbfaaf590423bf6652309c66f66a74596c27bed7edcf1b3d8979907c4c53bb
[INFO] running `Command { std: "docker" "start" "-a" "6adbfaaf590423bf6652309c66f66a74596c27bed7edcf1b3d8979907c4c53bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6adbfaaf590423bf6652309c66f66a74596c27bed7edcf1b3d8979907c4c53bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6adbfaaf590423bf6652309c66f66a74596c27bed7edcf1b3d8979907c4c53bb", kill_on_drop: false }`
[INFO] [stdout] 6adbfaaf590423bf6652309c66f66a74596c27bed7edcf1b3d8979907c4c53bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4410dd59627ed20b42d4e7bf480aa2719b256546928a44a6404134de8df5121f
[INFO] running `Command { std: "docker" "start" "-a" "4410dd59627ed20b42d4e7bf480aa2719b256546928a44a6404134de8df5121f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tokio v1.18.2
[INFO] [stderr]    Compiling batircd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/parse.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MessageIn` and `R2U`
[INFO] [stdout]  --> src/user.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{room::RoomID, protocol::{R2U, U2R, IRCString, Command, ToUser, U2U}, cancel::Cancel, sock::{Sock, MessageIn, MessageOut},...
[INFO] [stdout]   |                                      ^^^                                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Not`
[INFO] [stdout]  --> src/world.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, ops::Not};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Key` and `SlotMap`
[INFO] [stdout]  --> src/world.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use slotmap::{SlotMap, Key};
[INFO] [stdout]   |               ^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UnboundedReceiver`, `UnboundedSender`, and `broadcast`
[INFO] [stdout]  --> src/world.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::{sync::{broadcast, mpsc::{UnboundedReceiver, UnboundedSender}}, net::TcpListener};
[INFO] [stdout]   |                    ^^^^^^^^^         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RoomID`, `Room`, `UserID`, and `User`
[INFO] [stdout]  --> src/world.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{room::{Room, RoomID}, user::{User, UserID}, sock::Sock, directory::{Directory, DirectoryRoot}};
[INFO] [stdout]   |                    ^^^^  ^^^^^^          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `room`
[INFO] [stdout]    --> src/user.rs:201:33
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_room`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/user.rs:201:47
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stdout]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rooms` is never read
[INFO] [stdout]   --> src/directory.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct DirectoryData {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 24 |     rooms: SlotMap<RoomID, Room>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_drop`, `user_get_mailbox`, `user_by_nick`, and `user_get_nick` are never used
[INFO] [stdout]   --> src/directory.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Directory {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn user_drop(&self, user_id: UserID) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn user_get_mailbox(&self, user_id: UserID) -> Option<mpsc::Sender<ToUser>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn user_by_nick(&self, nick: &IRCString) -> Option<UserID> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_drop` and `user_get_nick` are never used
[INFO] [stdout]    --> src/directory.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl DirectoryData {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn user_drop(&mut self, user_id: UserID) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user` is never read
[INFO] [stdout]   --> src/protocol.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Part { user: UserID },
[INFO] [stdout]    |     ----   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Kill`, `Join`, and `Privmsg` are never constructed
[INFO] [stdout]   --> src/protocol.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum U2R {  // user to room
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 41 |     Kill {},
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Join { 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Privmsg {
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Join`, `Part`, and `Privmsg` are never constructed
[INFO] [stdout]   --> src/protocol.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum R2U {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 55 |     Join { user: UserID },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 56 |     Part { user: UserID },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 57 |     Privmsg {
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `R2U` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Room` is never constructed
[INFO] [stdout]   --> src/protocol.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum ToUser {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 68 |     Room { room_id: RoomID, message: R2U },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `mailbox`, `cancel`, and `snapshot` are never read
[INFO] [stdout]   --> src/room.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Room {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 11 |     id: RoomID, mailbox: mpsc::Sender<U2R>,
[INFO] [stdout]    |     ^^          ^^^^^^^
[INFO] [stdout] 12 |     cancel: Cancel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     snapshot: watch::Receiver<RoomSnapshot>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoomState` is never constructed
[INFO] [stdout]   --> src/room.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct RoomState {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_members` is never read
[INFO] [stdout]   --> src/room.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct RoomSnapshot {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 33 |     pub n_members: usize,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomSnapshot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Member` is never constructed
[INFO] [stdout]   --> src/room.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Member {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/room.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Room {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn new(id: RoomID) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/room.rs:72:14
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl RoomState {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  72 |     async fn flow(mut self) {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn touch_snapshot(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     async fn send(&mut self, user_id: UserID, msg: R2U) {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     async fn broadcast(&mut self, msg: R2U) {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub async fn kill(&mut self) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn join(&mut self, user: UserID, mailbox: mpsc::Sender<(RoomID, R2U)>) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub async fn part(&mut self, user: UserID) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr`, `cancel1`, and `cancel2` are never read
[INFO] [stdout]   --> src/sock.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Sock {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |     addr: SocketAddr, 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     cancel1: Cancel,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     cancel2: Cancel,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]    --> src/sock.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub struct MessageIn {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 143 |     pub time: Instant,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `cancel` are never read
[INFO] [stdout]   --> src/user.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct User {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 11 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     cancel: Cancel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mailbox` is never read
[INFO] [stdout]   --> src/user.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct UserState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 23 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mailbox` is never read
[INFO] [stdout]   --> src/user.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Membership {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 46 |     mailbox: mpsc::Sender<U2R>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.77s
[INFO] running `Command { std: "docker" "inspect" "4410dd59627ed20b42d4e7bf480aa2719b256546928a44a6404134de8df5121f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4410dd59627ed20b42d4e7bf480aa2719b256546928a44a6404134de8df5121f", kill_on_drop: false }`
[INFO] [stdout] 4410dd59627ed20b42d4e7bf480aa2719b256546928a44a6404134de8df5121f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4dbbf1f40fcb7ec9b0ed6b1de3107c5eb11133d07cd5925428786198b5f7b9e4
[INFO] running `Command { std: "docker" "start" "-a" "4dbbf1f40fcb7ec9b0ed6b1de3107c5eb11133d07cd5925428786198b5f7b9e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling batircd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `borrow::Borrow`
[INFO] [stdout]  --> src/parse.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::Borrow, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MessageIn` and `R2U`
[INFO] [stdout]  --> src/user.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{room::RoomID, protocol::{R2U, U2R, IRCString, Command, ToUser, U2U}, cancel::Cancel, sock::{Sock, MessageIn, MessageOut},...
[INFO] [stdout]   |                                      ^^^                                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `ops::Not`
[INFO] [stdout]  --> src/world.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, ops::Not};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Key` and `SlotMap`
[INFO] [stdout]  --> src/world.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use slotmap::{SlotMap, Key};
[INFO] [stdout]   |               ^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UnboundedReceiver`, `UnboundedSender`, and `broadcast`
[INFO] [stdout]  --> src/world.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::{sync::{broadcast, mpsc::{UnboundedReceiver, UnboundedSender}}, net::TcpListener};
[INFO] [stdout]   |                    ^^^^^^^^^         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RoomID`, `Room`, `UserID`, and `User`
[INFO] [stdout]  --> src/world.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{room::{Room, RoomID}, user::{User, UserID}, sock::Sock, directory::{Directory, DirectoryRoot}};
[INFO] [stdout]   |                    ^^^^  ^^^^^^          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `room`
[INFO] [stdout]    --> src/user.rs:201:33
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_room`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/user.rs:201:47
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stdout]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rooms` is never read
[INFO] [stdout]   --> src/directory.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct DirectoryData {
[INFO] [stdout]    |        ------------- field in this struct
[INFO] [stdout] 24 |     rooms: SlotMap<RoomID, Room>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_drop`, `user_get_mailbox`, `user_by_nick`, and `user_get_nick` are never used
[INFO] [stdout]   --> src/directory.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Directory {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn user_drop(&self, user_id: UserID) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn user_get_mailbox(&self, user_id: UserID) -> Option<mpsc::Sender<ToUser>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn user_by_nick(&self, nick: &IRCString) -> Option<UserID> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_drop` and `user_get_nick` are never used
[INFO] [stdout]    --> src/directory.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl DirectoryData {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn user_drop(&mut self, user_id: UserID) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user` is never read
[INFO] [stdout]   --> src/protocol.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Part { user: UserID },
[INFO] [stdout]    |     ----   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Kill`, `Join`, and `Privmsg` are never constructed
[INFO] [stdout]   --> src/protocol.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum U2R {  // user to room
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 41 |     Kill {},
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     Join { 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Privmsg {
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Join`, `Part`, and `Privmsg` are never constructed
[INFO] [stdout]   --> src/protocol.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum R2U {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 55 |     Join { user: UserID },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 56 |     Part { user: UserID },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 57 |     Privmsg {
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `R2U` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Room` is never constructed
[INFO] [stdout]   --> src/protocol.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum ToUser {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] 68 |     Room { room_id: RoomID, message: R2U },
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `mailbox`, `cancel`, and `snapshot` are never read
[INFO] [stdout]   --> src/room.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Room {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 11 |     id: RoomID, mailbox: mpsc::Sender<U2R>,
[INFO] [stdout]    |     ^^          ^^^^^^^
[INFO] [stdout] 12 |     cancel: Cancel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     snapshot: watch::Receiver<RoomSnapshot>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoomState` is never constructed
[INFO] [stdout]   --> src/room.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct RoomState {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_members` is never read
[INFO] [stdout]   --> src/room.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct RoomSnapshot {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 33 |     pub n_members: usize,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomSnapshot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Member` is never constructed
[INFO] [stdout]   --> src/room.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Member {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/room.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Room {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 42 |     pub fn new(id: RoomID) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/room.rs:72:14
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl RoomState {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  72 |     async fn flow(mut self) {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn touch_snapshot(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     async fn send(&mut self, user_id: UserID, msg: R2U) {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     async fn broadcast(&mut self, msg: R2U) {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub async fn kill(&mut self) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn join(&mut self, user: UserID, mailbox: mpsc::Sender<(RoomID, R2U)>) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub async fn part(&mut self, user: UserID) {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr`, `cancel1`, and `cancel2` are never read
[INFO] [stdout]   --> src/sock.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Sock {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |     addr: SocketAddr, 
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     cancel1: Cancel,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     cancel2: Cancel,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]    --> src/sock.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub struct MessageIn {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 143 |     pub time: Instant,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `cancel` are never read
[INFO] [stdout]   --> src/user.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct User {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 11 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     cancel: Cancel,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mailbox` is never read
[INFO] [stdout]   --> src/user.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct UserState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 23 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mailbox` is never read
[INFO] [stdout]   --> src/user.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Membership {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 46 |     mailbox: mpsc::Sender<U2R>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "4dbbf1f40fcb7ec9b0ed6b1de3107c5eb11133d07cd5925428786198b5f7b9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dbbf1f40fcb7ec9b0ed6b1de3107c5eb11133d07cd5925428786198b5f7b9e4", kill_on_drop: false }`
[INFO] [stdout] 4dbbf1f40fcb7ec9b0ed6b1de3107c5eb11133d07cd5925428786198b5f7b9e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d42f3179e23aa0d924b9d0a319a130053249ffd858c0eb0e337a540f58545140
[INFO] running `Command { std: "docker" "start" "-a" "d42f3179e23aa0d924b9d0a319a130053249ffd858c0eb0e337a540f58545140", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `borrow::Borrow`
[INFO] [stderr]  --> src/parse.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{borrow::Borrow, time::Duration};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `MessageIn` and `R2U`
[INFO] [stderr]  --> src/user.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::{room::RoomID, protocol::{R2U, U2R, IRCString, Command, ToUser, U2U}, cancel::Cancel, sock::{Sock, MessageIn, MessageOut},...
[INFO] [stderr]   |                                      ^^^                                                                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `collections::HashMap` and `ops::Not`
[INFO] [stderr]  --> src/world.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::HashMap, ops::Not};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Key` and `SlotMap`
[INFO] [stderr]  --> src/world.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use slotmap::{SlotMap, Key};
[INFO] [stderr]   |               ^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `UnboundedReceiver`, `UnboundedSender`, and `broadcast`
[INFO] [stderr]  --> src/world.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | use tokio::{sync::{broadcast, mpsc::{UnboundedReceiver, UnboundedSender}}, net::TcpListener};
[INFO] [stderr]   |                    ^^^^^^^^^         ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `RoomID`, `Room`, `UserID`, and `User`
[INFO] [stderr]  --> src/world.rs:6:20
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::{room::{Room, RoomID}, user::{User, UserID}, sock::Sock, directory::{Directory, DirectoryRoot}};
[INFO] [stderr]   |                    ^^^^  ^^^^^^          ^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `room`
[INFO] [stderr]    --> src/user.rs:201:33
[INFO] [stderr]     |
[INFO] [stderr] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_room`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]    --> src/user.rs:201:47
[INFO] [stderr]     |
[INFO] [stderr] 201 |     pub fn send_room(&mut self, room: RoomID, msg: U2R) {
[INFO] [stderr]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: field `rooms` is never read
[INFO] [stderr]   --> src/directory.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | struct DirectoryData {
[INFO] [stderr]    |        ------------- field in this struct
[INFO] [stderr] 24 |     rooms: SlotMap<RoomID, Room>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `user_drop`, `user_get_mailbox`, `user_by_nick`, and `user_get_nick` are never used
[INFO] [stderr]   --> src/directory.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl Directory {
[INFO] [stderr]    | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn user_drop(&self, user_id: UserID) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn user_get_mailbox(&self, user_id: UserID) -> Option<mpsc::Sender<ToUser>> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 61 |     pub fn user_by_nick(&self, nick: &IRCString) -> Option<UserID> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `user_drop` and `user_get_nick` are never used
[INFO] [stderr]    --> src/directory.rs:105:8
[INFO] [stderr]     |
[INFO] [stderr]  90 | impl DirectoryData {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 105 |     fn user_drop(&mut self, user_id: UserID) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     fn user_get_nick(&self, user_id: UserID) -> Option<IRCString> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `user` is never read
[INFO] [stderr]   --> src/protocol.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 |     Part { user: UserID },
[INFO] [stderr]    |     ----   ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Kill`, `Join`, and `Privmsg` are never constructed
[INFO] [stderr]   --> src/protocol.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub enum U2R {  // user to room
[INFO] [stderr]    |          --- variants in this enum
[INFO] [stderr] 41 |     Kill {},
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 42 |     Join { 
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     Privmsg {
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `U2R` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Join`, `Part`, and `Privmsg` are never constructed
[INFO] [stderr]   --> src/protocol.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub enum R2U {
[INFO] [stderr]    |          --- variants in this enum
[INFO] [stderr] 55 |     Join { user: UserID },
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 56 |     Part { user: UserID },
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 57 |     Privmsg {
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `R2U` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Room` is never constructed
[INFO] [stderr]   --> src/protocol.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub enum ToUser {
[INFO] [stderr]    |          ------ variant in this enum
[INFO] [stderr] 68 |     Room { room_id: RoomID, message: R2U },
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id`, `mailbox`, `cancel`, and `snapshot` are never read
[INFO] [stderr]   --> src/room.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Room {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] 11 |     id: RoomID, mailbox: mpsc::Sender<U2R>,
[INFO] [stderr]    |     ^^          ^^^^^^^
[INFO] [stderr] 12 |     cancel: Cancel,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 13 |
[INFO] [stderr] 14 |     snapshot: watch::Receiver<RoomSnapshot>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RoomState` is never constructed
[INFO] [stderr]   --> src/room.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct RoomState {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `n_members` is never read
[INFO] [stderr]   --> src/room.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct RoomSnapshot {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 33 |     pub n_members: usize,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RoomSnapshot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Member` is never constructed
[INFO] [stderr]   --> src/room.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 36 | struct Member {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/room.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl Room {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 42 |     pub fn new(id: RoomID) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/room.rs:72:14
[INFO] [stderr]     |
[INFO] [stderr]  71 | impl RoomState {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr]  72 |     async fn flow(mut self) {
[INFO] [stderr]     |              ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     fn touch_snapshot(&mut self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  98 |     async fn send(&mut self, user_id: UserID, msg: R2U) {
[INFO] [stderr]     |              ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     async fn broadcast(&mut self, msg: R2U) {
[INFO] [stderr]     |              ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 114 |     pub async fn kill(&mut self) {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 123 |     pub async fn join(&mut self, user: UserID, mailbox: mpsc::Sender<(RoomID, R2U)>) {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub async fn part(&mut self, user: UserID) {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `addr`, `cancel1`, and `cancel2` are never read
[INFO] [stderr]   --> src/sock.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct Sock {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr]  9 |     addr: SocketAddr, 
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     cancel1: Cancel,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 13 |     cancel2: Cancel,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `time` is never read
[INFO] [stderr]    --> src/sock.rs:143:9
[INFO] [stderr]     |
[INFO] [stderr] 142 | pub struct MessageIn {
[INFO] [stderr]     |            --------- field in this struct
[INFO] [stderr] 143 |     pub time: Instant,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `cancel` are never read
[INFO] [stderr]   --> src/user.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct User {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] 11 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 12 |
[INFO] [stderr] 13 |     cancel: Cancel,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `mailbox` is never read
[INFO] [stderr]   --> src/user.rs:23:17
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct UserState {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 23 |     id: UserID, mailbox: mpsc::Sender<ToUser>,
[INFO] [stderr]    |                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `mailbox` is never read
[INFO] [stderr]   --> src/user.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub struct Membership {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 46 |     mailbox: mpsc::Sender<U2R>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `batircd` (bin "batircd" test) generated 26 warnings (run `cargo fix --bin "batircd" -p batircd --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/batircd-913f0344a790d45b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d42f3179e23aa0d924b9d0a319a130053249ffd858c0eb0e337a540f58545140", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d42f3179e23aa0d924b9d0a319a130053249ffd858c0eb0e337a540f58545140", kill_on_drop: false }`
[INFO] [stdout] d42f3179e23aa0d924b9d0a319a130053249ffd858c0eb0e337a540f58545140
