[INFO] fetching crate bitcoin-log 0.1.12-alpha.0... [INFO] checking bitcoin-log-0.1.12-alpha.0 against master#53709aedba198874ee50769f19f1e9ab00798bb5 for pr-108221 [INFO] extracting crate bitcoin-log 0.1.12-alpha.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate bitcoin-log 0.1.12-alpha.0 on toolchain 53709aedba198874ee50769f19f1e9ab00798bb5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-log 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-log 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-log 0.1.12-alpha.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Downloaded bitcoin-imports v0.1.12-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 643938cd1cbcfee1157cc56055cf28618c400bf2484c6db3a59b9884c6e59ca7 [INFO] running `Command { std: "docker" "start" "-a" "643938cd1cbcfee1157cc56055cf28618c400bf2484c6db3a59b9884c6e59ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "643938cd1cbcfee1157cc56055cf28618c400bf2484c6db3a59b9884c6e59ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643938cd1cbcfee1157cc56055cf28618c400bf2484c6db3a59b9884c6e59ca7", kill_on_drop: false }` [INFO] [stdout] 643938cd1cbcfee1157cc56055cf28618c400bf2484c6db3a59b9884c6e59ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c857f77db0030d7f86acaa04256eab454b7fbdabfaa0ed68a26204824ad442d3 [INFO] running `Command { std: "docker" "start" "-a" "c857f77db0030d7f86acaa04256eab454b7fbdabfaa0ed68a26204824ad442d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling clang-sys v1.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling priority-queue v1.3.1 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling raw-cpuid v10.6.1 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling time v0.3.19 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling libevent-sys v0.2.5 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-log v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate static_assertions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/logger.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_back_callback(&mut self, fun: fn(_0: &String) -> ()) -> linked_list::Iter:: ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> src/logger.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn delete_callback(&mut self, it: linked_list::Iter:: ()>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/logger.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn enable_category_with_flags(&mut self, flag: LogFlags) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn enable_category(&mut self, str_: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/logger.rs:208:51 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn disable_category_with_flags(&mut self, flag: LogFlags) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn disable_category(&mut self, str_: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/logger.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn will_log_category(&self, category: LogFlags) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn log_timestamp_str(&mut self, str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logging_function` [INFO] [stdout] --> src/logger.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | logging_function: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logging_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_file` [INFO] [stdout] --> src/logger.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | source_file: &String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_line` [INFO] [stdout] --> src/logger.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | source_line: i32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_category` [INFO] [stdout] --> src/timer.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let log_category: LogFlags = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/timer.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | prefix: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_msg` [INFO] [stdout] --> src/timer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | end_msg: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/timer.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn log(&mut self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/timer.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn log_msg(&mut self, msg: &str) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/logger.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn push_back_callback(&mut self, fun: fn(_0: &String) -> ()) -> linked_list::Iter:: ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/interface.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn log_escape_message(str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `it` [INFO] [stdout] --> src/logger.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn delete_callback(&mut self, it: linked_list::Iter:: ()>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_it` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logging_function` [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | logging_function: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logging_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/logger.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn enable_category_with_flags(&mut self, flag: LogFlags) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_file` [INFO] [stdout] --> src/interface.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | source_file: &String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn enable_category(&mut self, str_: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_line` [INFO] [stdout] --> src/interface.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | source_line: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flag` [INFO] [stdout] --> src/logger.rs:208:51 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn disable_category_with_flags(&mut self, flag: LogFlags) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fmt: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn disable_category(&mut self, str_: &String) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interface.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/logger.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn will_log_category(&self, category: LogFlags) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:269:41 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn log_timestamp_str(&mut self, str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logger.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | str_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logging_function` [INFO] [stdout] --> src/logger.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | logging_function: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logging_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_file` [INFO] [stdout] --> src/logger.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | source_file: &String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_line` [INFO] [stdout] --> src/logger.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | source_line: i32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_category` [INFO] [stdout] --> src/timer.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let log_category: LogFlags = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/timer.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | prefix: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_msg` [INFO] [stdout] --> src/timer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | end_msg: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/timer.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn log(&mut self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/timer.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn log_msg(&mut self, msg: &str) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/interface.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn log_escape_message(str_: &String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logging_function` [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | logging_function: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logging_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_file` [INFO] [stdout] --> src/interface.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | source_file: &String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_line` [INFO] [stdout] --> src/interface.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | source_line: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fmt: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interface.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | args: &Args) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category` and `active` are never read [INFO] [stdout] --> src/category.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LogCategory { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | category: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/logger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Logger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | cs: RefCell>, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | started_new_line: AtomicBool, // default = { true } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | categories: AtomicU32, // default = { 0 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | print_to_console: bool, // default = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | print_to_file: bool, // default = false [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | log_timestamps: bool, // default = DEFAULT_LOGTIMESTAMPS [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | log_time_micros: bool, // default = DEFAULT_LOGTIMEMICROS [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | log_threadnames: bool, // default = DEFAULT_LOGTHREADNAMES [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | log_sourcelocations: bool, // default = DEFAULT_LOGSOURCELOCATIONS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | file_path: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | reopen_file: AtomicBool, // default = { false } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fileout`, `msgs_before_open`, `buffering`, and `print_callbacks` are never read [INFO] [stdout] --> src/logger.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct LoggerInner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | [INFO] [stdout] 42 | fileout: *mut libc::FILE, // default = nullptr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | msgs_before_open: LinkedList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | buffering: bool, // default = true [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | print_callbacks: LinkedList ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_t`, `prefix`, `title`, and `log_category` are never read [INFO] [stdout] --> src/timer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Timer { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | [INFO] [stdout] 12 | start_t: Instant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | log_category: LogFlags, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category` and `active` are never read [INFO] [stdout] --> src/category.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LogCategory { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | category: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/logger.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Logger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | cs: RefCell>, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | started_new_line: AtomicBool, // default = { true } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | categories: AtomicU32, // default = { 0 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | print_to_console: bool, // default = false [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | print_to_file: bool, // default = false [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | log_timestamps: bool, // default = DEFAULT_LOGTIMESTAMPS [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | log_time_micros: bool, // default = DEFAULT_LOGTIMEMICROS [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | log_threadnames: bool, // default = DEFAULT_LOGTHREADNAMES [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | log_sourcelocations: bool, // default = DEFAULT_LOGSOURCELOCATIONS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | file_path: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | reopen_file: AtomicBool, // default = { false } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fileout`, `msgs_before_open`, `buffering`, and `print_callbacks` are never read [INFO] [stdout] --> src/logger.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct LoggerInner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | [INFO] [stdout] 42 | fileout: *mut libc::FILE, // default = nullptr [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | msgs_before_open: LinkedList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | buffering: bool, // default = true [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | print_callbacks: LinkedList ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_t`, `prefix`, `title`, and `log_category` are never read [INFO] [stdout] --> src/timer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Timer { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | [INFO] [stdout] 12 | start_t: Instant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | log_category: LogFlags, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 08s [INFO] running `Command { std: "docker" "inspect" "c857f77db0030d7f86acaa04256eab454b7fbdabfaa0ed68a26204824ad442d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c857f77db0030d7f86acaa04256eab454b7fbdabfaa0ed68a26204824ad442d3", kill_on_drop: false }` [INFO] [stdout] c857f77db0030d7f86acaa04256eab454b7fbdabfaa0ed68a26204824ad442d3