[INFO] cloning repository https://github.com/CrabBucket/EchoCLI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrabBucket/EchoCLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrabBucket%2FEchoCLI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrabBucket%2FEchoCLI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 485047ae019605f04c00eb67e69718d283a24754 [INFO] testing CrabBucket/EchoCLI against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrabBucket%2FEchoCLI" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrabBucket/EchoCLI on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CrabBucket/EchoCLI [INFO] finished tweaking git repo https://github.com/CrabBucket/EchoCLI [INFO] tweaked toml for git repo https://github.com/CrabBucket/EchoCLI written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/CrabBucket/EchoCLI already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89bb96d6d134c8cff4b1055570384107afbc1b288f0af7cc00166603f9934f82 [INFO] running `Command { std: "docker" "start" "-a" "89bb96d6d134c8cff4b1055570384107afbc1b288f0af7cc00166603f9934f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89bb96d6d134c8cff4b1055570384107afbc1b288f0af7cc00166603f9934f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89bb96d6d134c8cff4b1055570384107afbc1b288f0af7cc00166603f9934f82", kill_on_drop: false }` [INFO] [stdout] 89bb96d6d134c8cff4b1055570384107afbc1b288f0af7cc00166603f9934f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef17644795b42083f76fb7e4f4f64a1baf91bba85b216fa9da3893bedcb5a8e [INFO] running `Command { std: "docker" "start" "-a" "aef17644795b42083f76fb7e4f4f64a1baf91bba85b216fa9da3893bedcb5a8e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling ux v0.1.3 [INFO] [stderr] Compiling echo_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ipv6Addr` [INFO] [stdout] --> src/network.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::{Ipv4Addr,Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ui::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut iphead = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut iphead2 = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Conclusion` [INFO] [stdout] --> src/ui.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Conclusion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TTL` [INFO] [stdout] --> src/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TTL, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interval` [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Interval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Count` [INFO] [stdout] --> src/ui.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Count, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_type` [INFO] [stdout] --> src/ui.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flag_type: FlagType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw_value` [INFO] [stdout] --> src/ui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | raw_value: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(strarg: String) -> Flag{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_type_from_string` [INFO] [stdout] --> src/ui.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn flag_type_from_string(str_flag: String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flags` [INFO] [stdout] --> src/ui.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_flags() -> Vec::{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arg_count` [INFO] [stdout] --> src/ui.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn arg_count() -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_correct_args` [INFO] [stdout] --> src/ui.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn check_correct_args() -> Conclusion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ICMPHeader` [INFO] [stdout] --> src/network.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct ICMPHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.99s [INFO] running `Command { std: "docker" "inspect" "aef17644795b42083f76fb7e4f4f64a1baf91bba85b216fa9da3893bedcb5a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef17644795b42083f76fb7e4f4f64a1baf91bba85b216fa9da3893bedcb5a8e", kill_on_drop: false }` [INFO] [stdout] aef17644795b42083f76fb7e4f4f64a1baf91bba85b216fa9da3893bedcb5a8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aab12e50c370978b82de250b1581e2b133a30bc8a56a59c15509e7e67771e20 [INFO] running `Command { std: "docker" "start" "-a" "3aab12e50c370978b82de250b1581e2b133a30bc8a56a59c15509e7e67771e20", kill_on_drop: false }` [INFO] [stderr] Compiling echo_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ipv6Addr` [INFO] [stdout] --> src/network.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::{Ipv4Addr,Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ui::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | let mut iphead = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut iphead2 = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Conclusion` [INFO] [stdout] --> src/ui.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Conclusion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TTL` [INFO] [stdout] --> src/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TTL, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Interval` [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Interval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Count` [INFO] [stdout] --> src/ui.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Count, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_type` [INFO] [stdout] --> src/ui.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flag_type: FlagType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raw_value` [INFO] [stdout] --> src/ui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | raw_value: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ui.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(strarg: String) -> Flag{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_type_from_string` [INFO] [stdout] --> src/ui.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn flag_type_from_string(str_flag: String) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flags` [INFO] [stdout] --> src/ui.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_flags() -> Vec::{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arg_count` [INFO] [stdout] --> src/ui.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn arg_count() -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_correct_args` [INFO] [stdout] --> src/ui.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn check_correct_args() -> Conclusion { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ICMPHeader` [INFO] [stdout] --> src/network.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | struct ICMPHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/echo_cli-bd9e8e09d662f514) [INFO] running `Command { std: "docker" "inspect" "3aab12e50c370978b82de250b1581e2b133a30bc8a56a59c15509e7e67771e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aab12e50c370978b82de250b1581e2b133a30bc8a56a59c15509e7e67771e20", kill_on_drop: false }` [INFO] [stdout] 3aab12e50c370978b82de250b1581e2b133a30bc8a56a59c15509e7e67771e20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac0efce5b59945906a2b312fa93269c6a066450da6a458971427fcfc1a65153f [INFO] running `Command { std: "docker" "start" "-a" "ac0efce5b59945906a2b312fa93269c6a066450da6a458971427fcfc1a65153f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Ipv6Addr` [INFO] [stderr] --> src/network.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | use std::net::{Ipv4Addr,Ipv6Addr}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ui::*` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ui::*; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec` [INFO] [stderr] --> src/main.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{vec}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/network.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | let mut iphead = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/network.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | let mut iphead2 = IPv4Header::new(Ipv4Addr::new(127,0,0,1),Ipv4Addr::new(127,0,0,1)); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Conclusion` [INFO] [stderr] --> src/ui.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Conclusion { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TTL` [INFO] [stderr] --> src/ui.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | TTL, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Interval` [INFO] [stderr] --> src/ui.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Interval, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Count` [INFO] [stderr] --> src/ui.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Count, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FlagType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flag_type` [INFO] [stderr] --> src/ui.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | flag_type: FlagType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `raw_value` [INFO] [stderr] --> src/ui.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | raw_value: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/ui.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(strarg: String) -> Flag{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `flag_type_from_string` [INFO] [stderr] --> src/ui.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | fn flag_type_from_string(str_flag: String) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_flags` [INFO] [stderr] --> src/ui.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn get_flags() -> Vec::{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `arg_count` [INFO] [stderr] --> src/ui.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn arg_count() -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_correct_args` [INFO] [stderr] --> src/ui.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn check_correct_args() -> Conclusion { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ICMPHeader` [INFO] [stderr] --> src/network.rs:143:8 [INFO] [stderr] | [INFO] [stderr] 143 | struct ICMPHeader { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `echo_cli` (bin "echo_cli" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/echo_cli-bd9e8e09d662f514) [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" "ac0efce5b59945906a2b312fa93269c6a066450da6a458971427fcfc1a65153f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0efce5b59945906a2b312fa93269c6a066450da6a458971427fcfc1a65153f", kill_on_drop: false }` [INFO] [stdout] ac0efce5b59945906a2b312fa93269c6a066450da6a458971427fcfc1a65153f