[INFO] cloning repository https://github.com/rickard1117/yimu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickard1117/yimu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 53951f489da9e1664008e849ab606b7dbe65253e
[INFO] testing rickard1117/yimu against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rickard1117/yimu on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rickard1117/yimu
[INFO] finished tweaking git repo https://github.com/rickard1117/yimu
[INFO] tweaked toml for git repo https://github.com/rickard1117/yimu written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/rickard1117/yimu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a48c50029ae480d8af5603879ea9e97f625d4661b37fba187db2efbd28b3e217
[INFO] running `Command { std: "docker" "start" "-a" "a48c50029ae480d8af5603879ea9e97f625d4661b37fba187db2efbd28b3e217", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a48c50029ae480d8af5603879ea9e97f625d4661b37fba187db2efbd28b3e217", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a48c50029ae480d8af5603879ea9e97f625d4661b37fba187db2efbd28b3e217", kill_on_drop: false }`
[INFO] [stdout] a48c50029ae480d8af5603879ea9e97f625d4661b37fba187db2efbd28b3e217
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8717ab9aa33116874141ee54e83f58beaf8e726b943967cb059b8431e3a8182b
[INFO] running `Command { std: "docker" "start" "-a" "8717ab9aa33116874141ee54e83f58beaf8e726b943967cb059b8431e3a8182b", kill_on_drop: false }`
[INFO] [stderr]    Compiling tcp-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field is never read: `data`
[INFO] [stdout]  --> src/buffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: [u8; BUFFER_SIZE],
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/buffer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[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: `cap`
[INFO] [stdout]  --> src/buffer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cap: usize,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/buffer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[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/buffer.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new() -> Buffer {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len`
[INFO] [stdout]   --> src/buffer.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const fn len(&self) -> usize {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `capacity`
[INFO] [stdout]   --> src/buffer.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const fn capacity(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `append`
[INFO] [stdout]   --> src/buffer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn append(&mut self, slice: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `data`
[INFO] [stdout]   --> src/buffer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `FileUtil`
[INFO] [stdout]  --> src/file.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FileUtil {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/file.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(path: &String) -> FileUtil {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write`
[INFO] [stdout]   --> src/file.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn write(&mut self, data: &[u8]) -> std::io::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `setOutput`
[INFO] [stdout]   --> src/logger.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `TRACE`
[INFO] [stdout]   --> src/logger.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     TRACE = 1,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `WARN`
[INFO] [stdout]   --> src/logger.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     WARN,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ERROR`
[INFO] [stdout]   --> src/logger.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     ERROR,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `FATAL`
[INFO] [stdout]   --> src/logger.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     FATAL,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DefaultOutput` should have a snake case name
[INFO] [stdout]  --> src/logger.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn DefaultOutput(content: &String) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_output`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_log_output` should have an upper case name
[INFO] [stdout]  --> src/logger.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | static mut g_log_output: fn(&String) = DefaultOutput;
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_OUTPUT`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_log_level` should have an upper case name
[INFO] [stdout]  --> src/logger.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | static mut g_log_level: LogLevel = LogLevel::DEBUG;
[INFO] [stdout]   |            ^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_LEVEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setOutput` should have a snake case name
[INFO] [stdout]   --> src/logger.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `set_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setLevel` should have a snake case name
[INFO] [stdout]   --> src/logger.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn setLevel(level: LogLevel) {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `set_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.85s
[INFO] running `Command { std: "docker" "inspect" "8717ab9aa33116874141ee54e83f58beaf8e726b943967cb059b8431e3a8182b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8717ab9aa33116874141ee54e83f58beaf8e726b943967cb059b8431e3a8182b", kill_on_drop: false }`
[INFO] [stdout] 8717ab9aa33116874141ee54e83f58beaf8e726b943967cb059b8431e3a8182b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6d0c3ee41dcee435f6fcb7e4647b5ff64a5e0c447f1e547cd6e55a9b3fb7adf
[INFO] running `Command { std: "docker" "start" "-a" "e6d0c3ee41dcee435f6fcb7e4647b5ff64a5e0c447f1e547cd6e55a9b3fb7adf", kill_on_drop: false }`
[INFO] [stderr]    Compiling tcp-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field is never read: `data`
[INFO] [stdout]  --> src/buffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     data: [u8; BUFFER_SIZE],
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/buffer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[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: `cap`
[INFO] [stdout]  --> src/buffer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cap: usize,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/buffer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[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/buffer.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new() -> Buffer {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len`
[INFO] [stdout]   --> src/buffer.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const fn len(&self) -> usize {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `capacity`
[INFO] [stdout]   --> src/buffer.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const fn capacity(&self) -> usize {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `append`
[INFO] [stdout]   --> src/buffer.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn append(&mut self, slice: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `data`
[INFO] [stdout]   --> src/buffer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn data(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `FileUtil`
[INFO] [stdout]  --> src/file.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FileUtil {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/file.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn new(path: &String) -> FileUtil {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write`
[INFO] [stdout]   --> src/file.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn write(&mut self, data: &[u8]) -> std::io::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `setOutput`
[INFO] [stdout]   --> src/logger.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `TRACE`
[INFO] [stdout]   --> src/logger.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     TRACE = 1,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `WARN`
[INFO] [stdout]   --> src/logger.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     WARN,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ERROR`
[INFO] [stdout]   --> src/logger.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     ERROR,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `FATAL`
[INFO] [stdout]   --> src/logger.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     FATAL,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/logger.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive(Copy, Clone)]
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DefaultOutput` should have a snake case name
[INFO] [stdout]  --> src/logger.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn DefaultOutput(content: &String) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_output`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_log_output` should have an upper case name
[INFO] [stdout]  --> src/logger.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | static mut g_log_output: fn(&String) = DefaultOutput;
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_OUTPUT`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `g_log_level` should have an upper case name
[INFO] [stdout]  --> src/logger.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | static mut g_log_level: LogLevel = LogLevel::DEBUG;
[INFO] [stdout]   |            ^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_LEVEL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setOutput` should have a snake case name
[INFO] [stdout]   --> src/logger.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `set_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setLevel` should have a snake case name
[INFO] [stdout]   --> src/logger.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn setLevel(level: LogLevel) {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `set_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.53s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/tcp_server-cc284339464a8a7a)
[INFO] running `Command { std: "docker" "inspect" "e6d0c3ee41dcee435f6fcb7e4647b5ff64a5e0c447f1e547cd6e55a9b3fb7adf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6d0c3ee41dcee435f6fcb7e4647b5ff64a5e0c447f1e547cd6e55a9b3fb7adf", kill_on_drop: false }`
[INFO] [stdout] e6d0c3ee41dcee435f6fcb7e4647b5ff64a5e0c447f1e547cd6e55a9b3fb7adf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8837759a12388582720791cebcbc4927b8ec22dafa6c753ab1210a9bfec9a9b9
[INFO] running `Command { std: "docker" "start" "-a" "8837759a12388582720791cebcbc4927b8ec22dafa6c753ab1210a9bfec9a9b9", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: field is never read: `data`
[INFO] [stderr]  --> src/buffer.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     data: [u8; BUFFER_SIZE],
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/buffer.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[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: `cap`
[INFO] [stderr]  --> src/buffer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     cap: usize,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Buffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/buffer.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[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/buffer.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn new() -> Buffer {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `len`
[INFO] [stderr]   --> src/buffer.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub const fn len(&self) -> usize {
[INFO] [stderr]    |                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `capacity`
[INFO] [stderr]   --> src/buffer.rs:21:18
[INFO] [stderr]    |
[INFO] [stderr] 21 |     pub const fn capacity(&self) -> usize {
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `append`
[INFO] [stderr]   --> src/buffer.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub fn append(&mut self, slice: &[u8]) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `data`
[INFO] [stderr]   --> src/buffer.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 |     pub fn data(&self) -> &[u8] {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `FileUtil`
[INFO] [stderr]  --> src/file.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct FileUtil {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]  --> src/file.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 |     pub fn new(path: &String) -> FileUtil {
[INFO] [stderr]   |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `write`
[INFO] [stderr]   --> src/file.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn write(&mut self, data: &[u8]) -> std::io::Result<()> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `setOutput`
[INFO] [stderr]   --> src/logger.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `TRACE`
[INFO] [stderr]   --> src/logger.rs:59:5
[INFO] [stderr]    |
[INFO] [stderr] 59 |     TRACE = 1,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/logger.rs:57:16
[INFO] [stderr]    |
[INFO] [stderr] 57 | #[derive(Copy, Clone)]
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `WARN`
[INFO] [stderr]   --> src/logger.rs:62:5
[INFO] [stderr]    |
[INFO] [stderr] 62 |     WARN,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/logger.rs:57:16
[INFO] [stderr]    |
[INFO] [stderr] 57 | #[derive(Copy, Clone)]
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `ERROR`
[INFO] [stderr]   --> src/logger.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 |     ERROR,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/logger.rs:57:16
[INFO] [stderr]    |
[INFO] [stderr] 57 | #[derive(Copy, Clone)]
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `FATAL`
[INFO] [stderr]   --> src/logger.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 64 |     FATAL,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/logger.rs:57:16
[INFO] [stderr]    |
[INFO] [stderr] 57 | #[derive(Copy, Clone)]
[INFO] [stderr]    |                ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function `DefaultOutput` should have a snake case name
[INFO] [stderr]  --> src/logger.rs:3:4
[INFO] [stderr]   |
[INFO] [stderr] 3 | fn DefaultOutput(content: &String) {
[INFO] [stderr]   |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_output`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `g_log_output` should have an upper case name
[INFO] [stderr]  --> src/logger.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | static mut g_log_output: fn(&String) = DefaultOutput;
[INFO] [stderr]   |            ^^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_OUTPUT`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `g_log_level` should have an upper case name
[INFO] [stderr]  --> src/logger.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | static mut g_log_level: LogLevel = LogLevel::DEBUG;
[INFO] [stderr]   |            ^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_LEVEL`
[INFO] [stderr] 
[INFO] [stderr] warning: method `setOutput` should have a snake case name
[INFO] [stderr]   --> src/logger.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn setOutput(f: fn(&String)) {
[INFO] [stderr]    |            ^^^^^^^^^ help: convert the identifier to snake case: `set_output`
[INFO] [stderr] 
[INFO] [stderr] warning: method `setLevel` should have a snake case name
[INFO] [stderr]   --> src/logger.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn setLevel(level: LogLevel) {
[INFO] [stderr]    |            ^^^^^^^^ help: convert the identifier to snake case: `set_level`
[INFO] [stderr] 
[INFO] [stderr] warning: `tcp-server` (bin "tcp-server" test) generated 20 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tcp_server-cc284339464a8a7a)
[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" "8837759a12388582720791cebcbc4927b8ec22dafa6c753ab1210a9bfec9a9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8837759a12388582720791cebcbc4927b8ec22dafa6c753ab1210a9bfec9a9b9", kill_on_drop: false }`
[INFO] [stdout] 8837759a12388582720791cebcbc4927b8ec22dafa6c753ab1210a9bfec9a9b9
