[INFO] cloning repository https://github.com/GNUp/pajero [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GNUp/pajero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGNUp%2Fpajero", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGNUp%2Fpajero'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc487f635cb68fc50b6a6a80c13612ee4f0de193 [INFO] checking GNUp/pajero against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGNUp%2Fpajero" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GNUp/pajero on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GNUp/pajero [INFO] finished tweaking git repo https://github.com/GNUp/pajero [INFO] tweaked toml for git repo https://github.com/GNUp/pajero written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/GNUp/pajero already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded pnet_sys v0.21.0 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded pnet_transport v0.21.0 [INFO] [stderr] Downloaded pnet_base v0.21.0 [INFO] [stderr] Downloaded pcap v0.6.1 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] [stderr] Downloaded pnet_datalink v0.21.0 [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded pnet_macros v0.21.0 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33b81de3a9e875159dfe34a79cdf84b3bd8d1e6d2a918485b85af8f4fb281ca7 [INFO] running `Command { std: "docker" "start" "-a" "33b81de3a9e875159dfe34a79cdf84b3bd8d1e6d2a918485b85af8f4fb281ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33b81de3a9e875159dfe34a79cdf84b3bd8d1e6d2a918485b85af8f4fb281ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b81de3a9e875159dfe34a79cdf84b3bd8d1e6d2a918485b85af8f4fb281ca7", kill_on_drop: false }` [INFO] [stdout] 33b81de3a9e875159dfe34a79cdf84b3bd8d1e6d2a918485b85af8f4fb281ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 216d969fcb55e3eab79f986c76b4c948ecb90e5c660888c74be6c70d08f71804 [INFO] running `Command { std: "docker" "start" "-a" "216d969fcb55e3eab79f986c76b4c948ecb90e5c660888c74be6c70d08f71804", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking pnet_base v0.21.0 [INFO] [stderr] Compiling pcap v0.6.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking pnet_macros_support v0.21.0 [INFO] [stderr] Checking pnet_sys v0.21.0 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking pnet_datalink v0.21.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.21.0 [INFO] [stderr] Compiling pnet_packet v0.21.0 [INFO] [stderr] Checking pnet_transport v0.21.0 [INFO] [stderr] Checking pajero v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `conf::Config` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conf::Config; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/analyze.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, create_dir_all, read_dir, rename, OpenOptions}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/conf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/conf.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conf::Config` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use conf::Config; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/analyze.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{self, create_dir_all, read_dir, rename, OpenOptions}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/conf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/conf.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/splitter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/splitter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/splitter.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let output = Command::new(DEFAULT_BIN_PATH) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/splitter.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let output = Command::new(DEFAULT_BIN_PATH) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_conf` is never used [INFO] [stdout] --> src/conf.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn write_conf(path: &str, conf: Config) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_team_list` is never used [INFO] [stdout] --> src/conf.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_team_list() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_service_list` is never used [INFO] [stdout] --> src/conf.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_service_list() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `team_name_to_ip` is never used [INFO] [stdout] --> src/conf.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn team_name_to_ip(name: String) -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `service_name_to_port` is never used [INFO] [stdout] --> src/conf.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn service_name_to_port(name: String) -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_team` is never used [INFO] [stdout] --> src/conf.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn add_team(name: String, ip: String) -> std::result::Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_team` is never used [INFO] [stdout] --> src/conf.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn remove_team(name: String) -> std::result::Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_team` is never used [INFO] [stdout] --> src/conf.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn update_team(name: String, ip: String) -> std::result::Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_service` is never used [INFO] [stdout] --> src/conf.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn add_service( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_service` is never used [INFO] [stdout] --> src/conf.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn remove_service(name: String) -> std::result::Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_service` is never used [INFO] [stdout] --> src/conf.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn update_service( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | split_pcap(path, round); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / create_dir_all( [INFO] [stdout] 76 | | Path::new(ROOT_DIR) [INFO] [stdout] 77 | | .join(dir_team_name) [INFO] [stdout] 78 | | .join(service_name.clone()) [INFO] [stdout] 79 | | .join("Round ".to_owned() + &round.to_string()), [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | writeln!(file, "{} -> {}", source_name, destination_name); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, "string format: {:?}", string_payload); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(file, "bytes format: {:?}", bytes_payload); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(file, ""); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/analyze.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("packetdump: unhandled channel type: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("packetdump: unhandled channel type: {}", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("{}", "packetdump: unhandled channel type: {}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | create_dir_all(flag_dir.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / rename( [INFO] [stdout] 234 | | connection.clone(), [INFO] [stdout] 235 | | flag_dir.join(connection.file_name().unwrap()), [INFO] [stdout] 236 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/splitter.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | analyze(tmp_dir_path.to_string(), round); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | split_pcap(path, round); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / create_dir_all( [INFO] [stdout] 76 | | Path::new(ROOT_DIR) [INFO] [stdout] 77 | | .join(dir_team_name) [INFO] [stdout] 78 | | .join(service_name.clone()) [INFO] [stdout] 79 | | .join("Round ".to_owned() + &round.to_string()), [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | writeln!(file, "{} -> {}", source_name, destination_name); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, "string format: {:?}", string_payload); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(file, "bytes format: {:?}", bytes_payload); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(file, ""); [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 `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/analyze.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("packetdump: unhandled channel type: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("packetdump: unhandled channel type: {}", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 199 | Ok(_) => panic!("{}", "packetdump: unhandled channel type: {}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | create_dir_all(flag_dir.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/analyze.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / rename( [INFO] [stdout] 234 | | connection.clone(), [INFO] [stdout] 235 | | flag_dir.join(connection.file_name().unwrap()), [INFO] [stdout] 236 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/splitter.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | analyze(tmp_dir_path.to_string(), round); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.34s [INFO] running `Command { std: "docker" "inspect" "216d969fcb55e3eab79f986c76b4c948ecb90e5c660888c74be6c70d08f71804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216d969fcb55e3eab79f986c76b4c948ecb90e5c660888c74be6c70d08f71804", kill_on_drop: false }` [INFO] [stdout] 216d969fcb55e3eab79f986c76b4c948ecb90e5c660888c74be6c70d08f71804