[INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/wisonye/rust-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisonye/rust-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8010caf8b372a3ac68f405c15ddb01c60800120 [INFO] checking wisonye/rust-utils against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisonye%2Frust-utils" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wisonye/rust-utils on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wisonye/rust-utils [INFO] finished tweaking git repo https://github.com/wisonye/rust-utils [INFO] tweaked toml for git repo https://github.com/wisonye/rust-utils written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wisonye/rust-utils 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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c78b9bf8c913fa2cc61161c4900a1d1bc701cf5accf80a3c2259c74644ad05c [INFO] running `Command { std: "docker" "start" "-a" "6c78b9bf8c913fa2cc61161c4900a1d1bc701cf5accf80a3c2259c74644ad05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c78b9bf8c913fa2cc61161c4900a1d1bc701cf5accf80a3c2259c74644ad05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c78b9bf8c913fa2cc61161c4900a1d1bc701cf5accf80a3c2259c74644ad05c", kill_on_drop: false }` [INFO] [stdout] 6c78b9bf8c913fa2cc61161c4900a1d1bc701cf5accf80a3c2259c74644ad05c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73db73be247dc990da2bf807f3e6fd15b4e6b0777ab44b98029c722707d96682 [INFO] running `Command { std: "docker" "start" "-a" "73db73be247dc990da2bf807f3e6fd15b4e6b0777ab44b98029c722707d96682", kill_on_drop: false }` [INFO] [stderr] Checking rust-utils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `pointer_byte_offsets` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(pointer_byte_offsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_level` [INFO] [stdout] --> src/utils/bits.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let log_level = LogLevel::get_config_from_env(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/utils/memory.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let prefix = "[ {}, size: {} ]"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGGER_NAME` is never used [INFO] [stdout] --> src/utils/bits.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const LOGGER_NAME: &'static str = "Bits"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_bits` is never used [INFO] [stdout] --> src/utils/bits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_bits(v: &T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bits` is never used [INFO] [stdout] --> src/utils/bits.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_bits(v: &T) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_is_1` is never used [INFO] [stdout] --> src/utils/bits.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bit_is_1(v: usize, which_bit: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_arr_to_hex_string` is never used [INFO] [stdout] --> src/utils/hex.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn byte_arr_to_hex_string(byte_arr: &[u8], splitter: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_to_u8` is never used [INFO] [stdout] --> src/utils/hex.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn char_to_u8(c: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_string_to_byte_arr` is never used [INFO] [stdout] --> src/utils/hex.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn hex_string_to_byte_arr(hex_string: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_be_u16` is never used [INFO] [stdout] --> src/utils/hex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn hex_to_be_u16(byte_array: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_be_u32` is never used [INFO] [stdout] --> src/utils/hex.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hex_to_be_u32(byte_array: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DEBUG`, `INFO`, `WARNING`, and `ERROR` are never constructed [INFO] [stdout] --> src/utils/logger.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | DEBUG = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | INFO = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | WARNING = 3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | ERROR = 4, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` 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: associated function `get_config_from_env` is never used [INFO] [stdout] --> src/utils/logger.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl LogLevel { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | pub fn get_config_from_env() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/utils/logger.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn log( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_log` is never used [INFO] [stdout] --> src/utils/logger.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn debug_log( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info_log` is never used [INFO] [stdout] --> src/utils/logger.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn info_log( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warning_log` is never used [INFO] [stdout] --> src/utils/logger.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn warning_log( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_log` is never used [INFO] [stdout] --> src/utils/logger.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn error_log( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGGER_NAME` is never used [INFO] [stdout] --> src/utils/memory.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const LOGGER_NAME: &'static str = "Memory"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_memory_block` is never used [INFO] [stdout] --> src/utils/memory.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn print_memory_block(var: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryBlockInfo` is never constructed [INFO] [stdout] --> src/utils/memory.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MemoryBlockInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryBlockInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_memory_block_info` is never used [INFO] [stdout] --> src/utils/memory.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_memory_block_info(var: &T) -> MemoryBlockInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BufferReference` is never used [INFO] [stdout] --> src/utils/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type BufferReference<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FutureResult` is never used [INFO] [stdout] --> src/utils/types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type FutureResult = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ThreadResult` is never used [INFO] [stdout] --> src/utils/types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ThreadResult = Result, Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_level` [INFO] [stdout] --> src/utils/bits.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let log_level = LogLevel::get_config_from_env(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/utils/memory.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let prefix = "[ {}, size: {} ]"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_level` [INFO] [stdout] --> src/lib.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let log_level = LogLevel::get_config_from_env(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_level` [INFO] [stdout] --> src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | let log_level = LogLevel::get_config_from_env(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_be_u16` is never used [INFO] [stdout] --> src/utils/hex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn hex_to_be_u16(byte_array: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_be_u32` is never used [INFO] [stdout] --> src/utils/hex.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn hex_to_be_u32(byte_array: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info_log` is never used [INFO] [stdout] --> src/utils/logger.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn info_log( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warning_log` is never used [INFO] [stdout] --> src/utils/logger.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn warning_log( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_log` is never used [INFO] [stdout] --> src/utils/logger.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn error_log( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_name` is never read [INFO] [stdout] --> src/utils/memory.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MemoryBlockInfo { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | pub type_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryBlockInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BufferReference` is never used [INFO] [stdout] --> src/utils/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type BufferReference<'a> = &'a [u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FutureResult` is never used [INFO] [stdout] --> src/utils/types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type FutureResult = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ThreadResult` is never used [INFO] [stdout] --> src/utils/types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ThreadResult = Result, Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red`, `green`, and `blue` are never read [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 77 | struct Color { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 78 | pub red: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | pub green: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub blue: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "73db73be247dc990da2bf807f3e6fd15b4e6b0777ab44b98029c722707d96682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73db73be247dc990da2bf807f3e6fd15b4e6b0777ab44b98029c722707d96682", kill_on_drop: false }` [INFO] [stdout] 73db73be247dc990da2bf807f3e6fd15b4e6b0777ab44b98029c722707d96682