[INFO] fetching crate diaglint 0.1.8... [INFO] testing diaglint-0.1.8 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate diaglint 0.1.8 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate diaglint 0.1.8 [INFO] finished tweaking crates.io crate diaglint 0.1.8 [INFO] tweaked toml for crates.io crate diaglint 0.1.8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diaglint 0.1.8 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diaglint 0.1.8 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded annotate-snippets v0.8.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 546362f2aad419a3670de9a5b649fe05e6f73c557d93b1cc92e076a80a631806 [INFO] running `Command { std: "docker" "start" "-a" "546362f2aad419a3670de9a5b649fe05e6f73c557d93b1cc92e076a80a631806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "546362f2aad419a3670de9a5b649fe05e6f73c557d93b1cc92e076a80a631806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546362f2aad419a3670de9a5b649fe05e6f73c557d93b1cc92e076a80a631806", kill_on_drop: false }` [INFO] [stdout] 546362f2aad419a3670de9a5b649fe05e6f73c557d93b1cc92e076a80a631806 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 417b6840469dc0c1daf3718dfdc9d1ef25b48b54f9128f029f73b81a8d9f2742 [INFO] running `Command { std: "docker" "start" "-a" "417b6840469dc0c1daf3718dfdc9d1ef25b48b54f9128f029f73b81a8d9f2742", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling annotate-snippets v0.8.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom_locate v4.0.0 [INFO] [stderr] Compiling diaglint v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `rendered` is never read [INFO] [stdout] --> src/json.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | rendered: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` 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: multiple fields are never read [INFO] [stdout] --> src/json.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DiagnosticSpan { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | line_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | column_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | suggested_replacement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | expansion: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpan` 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: fields `span` and `macro_decl_name` are never read [INFO] [stdout] --> src/json.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DiagnosticSpanMacroExpansion { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 38 | /// span where macro was applied to generate this code [INFO] [stdout] 39 | span: DiagnosticSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | macro_decl_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpanMacroExpansion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `explanation` are never read [INFO] [stdout] --> src/json.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DiagnosticCode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 47 | /// The code itself. [INFO] [stdout] 48 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | /// An explanation for the code. [INFO] [stdout] 50 | explanation: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCode` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult, Vec>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.37s [INFO] running `Command { std: "docker" "inspect" "417b6840469dc0c1daf3718dfdc9d1ef25b48b54f9128f029f73b81a8d9f2742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417b6840469dc0c1daf3718dfdc9d1ef25b48b54f9128f029f73b81a8d9f2742", kill_on_drop: false }` [INFO] [stdout] 417b6840469dc0c1daf3718dfdc9d1ef25b48b54f9128f029f73b81a8d9f2742 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 51a7dc0c125e75dee3db3e7e586c4b3e6bd6bd0757d5319d7f6a5ae771e4f42a [INFO] running `Command { std: "docker" "start" "-a" "51a7dc0c125e75dee3db3e7e586c4b3e6bd6bd0757d5319d7f6a5ae771e4f42a", kill_on_drop: false }` [INFO] [stderr] Compiling diaglint v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `rendered` is never read [INFO] [stdout] --> src/json.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | rendered: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` 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: multiple fields are never read [INFO] [stdout] --> src/json.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DiagnosticSpan { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | line_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | column_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | suggested_replacement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | expansion: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpan` 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: fields `span` and `macro_decl_name` are never read [INFO] [stdout] --> src/json.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DiagnosticSpanMacroExpansion { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 38 | /// span where macro was applied to generate this code [INFO] [stdout] 39 | span: DiagnosticSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | macro_decl_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpanMacroExpansion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `explanation` are never read [INFO] [stdout] --> src/json.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DiagnosticCode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 47 | /// The code itself. [INFO] [stdout] 48 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | /// An explanation for the code. [INFO] [stdout] 50 | explanation: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCode` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult, Vec>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rendered` is never read [INFO] [stdout] --> src/json.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Diagnostic { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | rendered: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Diagnostic` 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: multiple fields are never read [INFO] [stdout] --> src/json.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DiagnosticSpan { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | line_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | column_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | suggested_replacement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | expansion: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpan` 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: fields `span` and `macro_decl_name` are never read [INFO] [stdout] --> src/json.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct DiagnosticSpanMacroExpansion { [INFO] [stdout] | ---------------------------- fields in this struct [INFO] [stdout] 38 | /// span where macro was applied to generate this code [INFO] [stdout] 39 | span: DiagnosticSpan, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | macro_decl_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticSpanMacroExpansion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `explanation` are never read [INFO] [stdout] --> src/json.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DiagnosticCode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 47 | /// The code itself. [INFO] [stdout] 48 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | /// An explanation for the code. [INFO] [stdout] 50 | explanation: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCode` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult, Vec>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "51a7dc0c125e75dee3db3e7e586c4b3e6bd6bd0757d5319d7f6a5ae771e4f42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a7dc0c125e75dee3db3e7e586c4b3e6bd6bd0757d5319d7f6a5ae771e4f42a", kill_on_drop: false }` [INFO] [stdout] 51a7dc0c125e75dee3db3e7e586c4b3e6bd6bd0757d5319d7f6a5ae771e4f42a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 387e610ce34868fdbc9fd1bfd7da98837c05a4a5efcba7d28d1a9ceb6fe21dc8 [INFO] running `Command { std: "docker" "start" "-a" "387e610ce34868fdbc9fd1bfd7da98837c05a4a5efcba7d28d1a9ceb6fe21dc8", kill_on_drop: false }` [INFO] [stderr] warning: field `rendered` is never read [INFO] [stderr] --> src/json.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Diagnostic { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | rendered: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Diagnostic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/json.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct DiagnosticSpan { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 25 | file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 26 | line_start: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 27 | line_end: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 28 | column_start: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 29 | column_end: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 30 | is_primary: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 31 | label: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 32 | suggested_replacement: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | expansion: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DiagnosticSpan` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `span` and `macro_decl_name` are never read [INFO] [stderr] --> src/json.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct DiagnosticSpanMacroExpansion { [INFO] [stderr] | ---------------------------- fields in this struct [INFO] [stderr] 38 | /// span where macro was applied to generate this code [INFO] [stderr] 39 | span: DiagnosticSpan, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | macro_decl_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DiagnosticSpanMacroExpansion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code` and `explanation` are never read [INFO] [stderr] --> src/json.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct DiagnosticCode { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 47 | /// The code itself. [INFO] [stderr] 48 | code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 49 | /// An explanation for the code. [INFO] [stderr] 50 | explanation: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DiagnosticCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parse.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stderr] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn parse_message(message: &str) -> IResult, Vec>> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: `diaglint` (lib) generated 5 warnings (run `cargo fix --lib -p diaglint` to apply 1 suggestion) [INFO] [stderr] warning: `diaglint` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/diaglint-dbe4b9cc3dbd1850) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/diaglint-1e5c8bb55dfd092c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "387e610ce34868fdbc9fd1bfd7da98837c05a4a5efcba7d28d1a9ceb6fe21dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "387e610ce34868fdbc9fd1bfd7da98837c05a4a5efcba7d28d1a9ceb6fe21dc8", kill_on_drop: false }` [INFO] [stdout] 387e610ce34868fdbc9fd1bfd7da98837c05a4a5efcba7d28d1a9ceb6fe21dc8