[INFO] cloning repository https://github.com/wwwbjqcom/mysql_audit_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wwwbjqcom/mysql_audit_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmysql_audit_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmysql_audit_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5ecb68981e46fa425ede74ba7ec718821ca9564 [INFO] checking wwwbjqcom/mysql_audit_rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmysql_audit_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wwwbjqcom/mysql_audit_rust [INFO] finished tweaking git repo https://github.com/wwwbjqcom/mysql_audit_rust [INFO] tweaked toml for git repo https://github.com/wwwbjqcom/mysql_audit_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wwwbjqcom/mysql_audit_rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wwwbjqcom/mysql_audit_rust 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcd603db9b133dab4721165c46b120b2af663d29716734f570cf6213ce47971d [INFO] running `Command { std: "docker" "start" "-a" "bcd603db9b133dab4721165c46b120b2af663d29716734f570cf6213ce47971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcd603db9b133dab4721165c46b120b2af663d29716734f570cf6213ce47971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd603db9b133dab4721165c46b120b2af663d29716734f570cf6213ce47971d", kill_on_drop: false }` [INFO] [stdout] bcd603db9b133dab4721165c46b120b2af663d29716734f570cf6213ce47971d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 598c128799d942fef3a67ae3df527362aa8f9c48e85a2b349eda68e9a426c04e [INFO] running `Command { std: "docker" "start" "-a" "598c128799d942fef3a67ae3df527362aa8f9c48e85a2b349eda68e9a426c04e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling pcap v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking testaa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SessionHostInfo` [INFO] [stdout] --> src/packet/protocol.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::session::{SessionHostInfo, SessionInfo}; [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 import: `Read` [INFO] [stdout] --> src/packet.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Seek, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tell` [INFO] [stdout] --> src/packet.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{Config, Tell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Tell` [INFO] [stdout] --> src/session.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::Tell; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | 'all: for device in devices{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SessionHostInfo` [INFO] [stdout] --> src/packet/protocol.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::session::{SessionHostInfo, SessionInfo}; [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 import: `Read` [INFO] [stdout] --> src/packet.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Cursor, Seek, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tell` [INFO] [stdout] --> src/packet.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{Config, Tell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Tell` [INFO] [stdout] --> src/session.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::Tell; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | 'all: for device in devices{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tv_sec` and `tv_usec` are never read [INFO] [stdout] --> src/packet.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnixTime{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub tv_sec: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub tv_usec: u64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnixTime` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/packet.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct MysqlProtocolHeader{ [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 90 | pub payload: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MysqlProtocolHeader` 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: fields `source`, `destination`, `source_port`, `destination_port`, `response_value`, and `start_time` are never read [INFO] [stdout] --> src/session.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SessionInfo{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub source: String, // 源地址 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub destination: String, // 目标地址 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub source_port: u16, // 源端口 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | pub destination_port: u16, // 目标端口 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub response_value: String, // 返回的情况 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub start_time: UnixTime, // 开始时间 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `user_name` are never read [INFO] [stdout] --> src/session.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Connection{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 149 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | pub user_name: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/session.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct AllSessionInfo { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 160 | pub aluino: HashMap, [INFO] [stdout] 161 | pub connections: HashMap [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllSessionInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[structopt(long = "host", short= "h", help="本机地址, 默认127.0.0.1")] [INFO] [stdout] 26 | | pub host: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[structopt(long = "dtype", short= "t", help="本机所属方向(发送方/接受方), 可佩src/des, 默认des")] [INFO] [stdout] 29 | | pub dtype: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[structopt(long = "port", short= "p", help="监听那个端口的数据流,默认所有")] [INFO] [stdout] 32 | | pub port: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / #[structopt(long = "ethernet", short= "e", help="监听的网卡,默认eth0")] [INFO] [stdout] 35 | | pub ethernet: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/session.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | self.user_name = user_name.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testaa` (lib test) due to 8 previous errors; 10 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/session.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | self.user_name = user_name.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/session.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | all_session_info.aluino.insert(session_key.parse()?, self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/session.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | all_session_info.aluino.insert(session_key.parse()?, self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tv_sec` and `tv_usec` are never read [INFO] [stdout] --> src/packet.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnixTime{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub tv_sec: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub tv_usec: u64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnixTime` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/packet.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct MysqlProtocolHeader{ [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 90 | pub payload: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MysqlProtocolHeader` 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: fields `source`, `destination`, `source_port`, `destination_port`, `response_value`, and `start_time` are never read [INFO] [stdout] --> src/session.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SessionInfo{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub source: String, // 源地址 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub destination: String, // 目标地址 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub source_port: u16, // 源端口 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | pub destination_port: u16, // 目标端口 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub response_value: String, // 返回的情况 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub start_time: UnixTime, // 开始时间 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, and `user_name` are never read [INFO] [stdout] --> src/session.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Connection{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 149 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 151 | pub user_name: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/session.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct AllSessionInfo { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 160 | pub aluino: HashMap, [INFO] [stdout] 161 | pub connections: HashMap [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllSessionInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / #[structopt(long = "host", short= "h", help="本机地址, 默认127.0.0.1")] [INFO] [stdout] 26 | | pub host: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[structopt(long = "dtype", short= "t", help="本机所属方向(发送方/接受方), 可佩src/des, 默认des")] [INFO] [stdout] 29 | | pub dtype: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[structopt(long = "port", short= "p", help="监听那个端口的数据流,默认所有")] [INFO] [stdout] 32 | | pub port: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / #[structopt(long = "ethernet", short= "e", help="监听的网卡,默认eth0")] [INFO] [stdout] 35 | | pub ethernet: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/session.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | self.user_name = user_name.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/session.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | self.user_name = user_name.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, String> [INFO] [stdout] --> src/session.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | all_session_info.aluino.insert(session_key.parse()?, self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/session.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | all_session_info.aluino.insert(session_key.parse()?, self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testaa` (lib) due to 8 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "598c128799d942fef3a67ae3df527362aa8f9c48e85a2b349eda68e9a426c04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598c128799d942fef3a67ae3df527362aa8f9c48e85a2b349eda68e9a426c04e", kill_on_drop: false }` [INFO] [stdout] 598c128799d942fef3a67ae3df527362aa8f9c48e85a2b349eda68e9a426c04e