[INFO] fetching crate tracing_storage_logger 0.1.16... [INFO] checking tracing_storage_logger-0.1.16 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate tracing_storage_logger 0.1.16 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tracing_storage_logger 0.1.16 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tracing_storage_logger 0.1.16 [INFO] finished tweaking crates.io crate tracing_storage_logger 0.1.16 [INFO] tweaked toml for crates.io crate tracing_storage_logger 0.1.16 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate tracing_storage_logger 0.1.16 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string-builder v0.2.0 [INFO] [stderr] Downloaded readme v0.1.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.1.1 [INFO] [stderr] Downloaded file-rotate v0.7.0 [INFO] [stderr] Downloaded ucd-util v0.1.9 [INFO] [stderr] Downloaded chrono v0.4.20 [INFO] [stderr] Downloaded chrono-tz v0.4.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d087586fd68ee550f98f7a9f0e91aec65fb568b5037a27b904cbe894841c11d7 [INFO] running `Command { std: "docker" "start" "-a" "d087586fd68ee550f98f7a9f0e91aec65fb568b5037a27b904cbe894841c11d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d087586fd68ee550f98f7a9f0e91aec65fb568b5037a27b904cbe894841c11d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d087586fd68ee550f98f7a9f0e91aec65fb568b5037a27b904cbe894841c11d7", kill_on_drop: false }` [INFO] [stdout] d087586fd68ee550f98f7a9f0e91aec65fb568b5037a27b904cbe894841c11d7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87ddd600735c797859a83c427ac2392c9f1a441bb66154c3a9d94168edf954f9 [INFO] running `Command { std: "docker" "start" "-a" "87ddd600735c797859a83c427ac2392c9f1a441bb66154c3a9d94168edf954f9", kill_on_drop: false }` [INFO] [stderr] warning: tracing_storage_logger v0.1.16 (/opt/rustwide/workdir) ignoring invalid dependency `readme` which is missing a lib target [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.20 [INFO] [stderr] Checking file-rotate v0.7.0 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tracing_storage_logger v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Layer` [INFO] [stdout] --> src/logger.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{fmt::Layer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/custom_layer/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `suffix::AppendCount` [INFO] [stdout] --> src/custom_layer/mod.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use file_rotate::{compression::Compression, suffix::AppendCount, ContentLimit, FileRotate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/custom_layer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/custom_layer/mod.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::{Scope, SpanRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::Extensions` [INFO] [stdout] --> src/custom_layer/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing_subscriber::{registry::Extensions, Layer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Layer` [INFO] [stdout] --> src/logger.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{fmt::Layer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/custom_layer/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `suffix::AppendCount` [INFO] [stdout] --> src/custom_layer/mod.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use file_rotate::{compression::Compression, suffix::AppendCount, ContentLimit, FileRotate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/custom_layer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/custom_layer/mod.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::{Scope, SpanRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::Extensions` [INFO] [stdout] --> src/custom_layer/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing_subscriber::{registry::Extensions, Layer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/custom_layer/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/custom_layer/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | attrs: &tracing::span::Attributes<'_>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spans` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut spans = Vec::>::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_layer/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let output = serde_json::json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut parse_me = value.to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | write!( w, "{b}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | writeln!(w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | write!( w, "{n}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/custom_layer/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/custom_layer/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | attrs: &tracing::span::Attributes<'_>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!( w, "{s}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | write!( w, "{start_indent}{indent_str}{key}: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spans` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut spans = Vec::>::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_layer/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let output = serde_json::json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | writeln!(log, "{indent}[{name}]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | writeln!(&mut log, "{}{}", indent, value.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut parse_me = value.to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | write!( w, "{b}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | writeln!(w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | write!( w, "{n}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!( w, "{s}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | write!( w, "{start_indent}{indent_str}{key}: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | writeln!(log, "{indent}[{name}]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | writeln!(&mut log, "{}{}", indent, value.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Subscriber`, `debug_span`, `error`, `info_span`, `info`, `instrument`, `warn` [INFO] [stdout] --> src/logger.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tracing::{debug_span, error, info, info_span, instrument, warn, Subscriber}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Layer` [INFO] [stdout] --> src/logger.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{fmt::Layer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/custom_layer/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `suffix::AppendCount` [INFO] [stdout] --> src/custom_layer/mod.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use file_rotate::{compression::Compression, suffix::AppendCount, ContentLimit, FileRotate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/custom_layer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/custom_layer/mod.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::{Scope, SpanRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::Extensions` [INFO] [stdout] --> src/custom_layer/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing_subscriber::{registry::Extensions, Layer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Subscriber`, `debug_span`, `error`, `info_span`, `info`, `instrument`, `warn` [INFO] [stdout] --> src/logger.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tracing::{debug_span, error, info, info_span, instrument, warn, Subscriber}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Layer` [INFO] [stdout] --> src/logger.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{fmt::Layer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/custom_layer/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `suffix::AppendCount` [INFO] [stdout] --> src/custom_layer/mod.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use file_rotate::{compression::Compression, suffix::AppendCount, ContentLimit, FileRotate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/custom_layer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/custom_layer/mod.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::{Scope, SpanRef}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::Extensions` [INFO] [stdout] --> src/custom_layer/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing_subscriber::{registry::Extensions, Layer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/custom_layer/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/custom_layer/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | attrs: &tracing::span::Attributes<'_>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spans` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut spans = Vec::>::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_layer/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let output = serde_json::json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/custom_layer/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/custom_layer/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | attrs: &tracing::span::Attributes<'_>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut visitor = JsonVisitor(&mut fields); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spans` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut spans = Vec::>::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/custom_layer/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let output = serde_json::json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut parse_me = value.to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let logger = Logger::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom_layer/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut parse_me = value.to_string(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let logger = Logger::new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/logger.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Logger; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(path: PathBuf, limit: ContentLimit, max_files: usize, time_zone: Tz) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_files` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CustomLayer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub max_files: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_span_path` is never used [INFO] [stdout] --> src/custom_layer/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl CustomLayer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 222 | pub fn get_span_path() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/logger.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Logger; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(path: PathBuf, limit: ContentLimit, max_files: usize, time_zone: Tz) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_files` is never read [INFO] [stdout] --> src/custom_layer/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CustomLayer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub max_files: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_span_path` is never used [INFO] [stdout] --> src/custom_layer/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl CustomLayer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 222 | pub fn get_span_path() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | writeln!(log, "{indent}[{name}]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | writeln!(&mut log, "{}{}", indent, value.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | write!( w, "{b}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | writeln!(w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | write!( w, "{n}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!( w, "{s}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | write!( w, "{start_indent}{indent_str}{key}: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | writeln!(log, "{indent}[{name}]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/custom_layer/mod.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | writeln!(&mut log, "{}{}", indent, value.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | write!( w, "{b}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | writeln!(w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | write!( w, "{n}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | write!( w, "{s}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | writeln!( w, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | write!( w, "{start_indent}{indent_str}{key}:\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/write_json.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | write!( w, "{start_indent}{indent_str}{key}: "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.49s [INFO] running `Command { std: "docker" "inspect" "87ddd600735c797859a83c427ac2392c9f1a441bb66154c3a9d94168edf954f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ddd600735c797859a83c427ac2392c9f1a441bb66154c3a9d94168edf954f9", kill_on_drop: false }` [INFO] [stdout] 87ddd600735c797859a83c427ac2392c9f1a441bb66154c3a9d94168edf954f9 [INFO] checking tracing_storage_logger-0.1.16 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate tracing_storage_logger 0.1.16 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tracing_storage_logger 0.1.16 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tracing_storage_logger 0.1.16 [INFO] finished tweaking crates.io crate tracing_storage_logger 0.1.16 [INFO] tweaked toml for crates.io crate tracing_storage_logger 0.1.16 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate tracing_storage_logger 0.1.16 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dd6765678ac44ed202612e05f4d50fac41834c66fa45cfe108bada0e91d62dc [INFO] running `Command { std: "docker" "start" "-a" "5dd6765678ac44ed202612e05f4d50fac41834c66fa45cfe108bada0e91d62dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dd6765678ac44ed202612e05f4d50fac41834c66fa45cfe108bada0e91d62dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd6765678ac44ed202612e05f4d50fac41834c66fa45cfe108bada0e91d62dc", kill_on_drop: false }` [INFO] [stdout] 5dd6765678ac44ed202612e05f4d50fac41834c66fa45cfe108bada0e91d62dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f3d5c5b2ce58a6bf950a6536c000097efbe3e78954973898a05631ed413e1f [INFO] running `Command { std: "docker" "start" "-a" "b9f3d5c5b2ce58a6bf950a6536c000097efbe3e78954973898a05631ed413e1f", kill_on_drop: false }` [INFO] [stderr] warning: tracing_storage_logger v0.1.16 (/opt/rustwide/workdir) ignoring invalid dependency `readme` which is missing a lib target [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/miniz_oxide-0.5.3/src/inflate/core.rs:1107:9 [INFO] [stdout] | [INFO] [stdout] 1107 | / match state { [INFO] [stdout] 1108 | | Start => generate_state!(state, 'state_machine, { [INFO] [stdout] 1109 | | l.bit_buf = 0; [INFO] [stdout] 1110 | | l.num_bits = 0; [INFO] [stdout] ... | [INFO] [stdout] 1639 | | _ => break TINFLStatus::Failed, [INFO] [stdout] 1640 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniz_oxide` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b9f3d5c5b2ce58a6bf950a6536c000097efbe3e78954973898a05631ed413e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f3d5c5b2ce58a6bf950a6536c000097efbe3e78954973898a05631ed413e1f", kill_on_drop: false }` [INFO] [stdout] b9f3d5c5b2ce58a6bf950a6536c000097efbe3e78954973898a05631ed413e1f