[INFO] fetching crate diaglint 0.1.8... [INFO] testing diaglint-0.1.8 against 1.90.0 for beta-1.91-3 [INFO] extracting crate diaglint 0.1.8 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diaglint 0.1.8 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom_locate v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff88e2ec7cbdb8f733ec082bd030cfb4448c33d89f588c853b034ff3ea0cdbc [INFO] running `Command { std: "docker" "start" "-a" "6ff88e2ec7cbdb8f733ec082bd030cfb4448c33d89f588c853b034ff3ea0cdbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff88e2ec7cbdb8f733ec082bd030cfb4448c33d89f588c853b034ff3ea0cdbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff88e2ec7cbdb8f733ec082bd030cfb4448c33d89f588c853b034ff3ea0cdbc", kill_on_drop: false }` [INFO] [stdout] 6ff88e2ec7cbdb8f733ec082bd030cfb4448c33d89f588c853b034ff3ea0cdbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6469a3df7409c5fff188b8a8ba6864d064aac0752763c277fd43980edee6860 [INFO] running `Command { std: "docker" "start" "-a" "a6469a3df7409c5fff188b8a8ba6864d064aac0752763c277fd43980edee6860", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [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: struct `ArtifactNotification` is never constructed [INFO] [stdout] --> src/json.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ArtifactNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 `Clone` and `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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 14.07s [INFO] running `Command { std: "docker" "inspect" "a6469a3df7409c5fff188b8a8ba6864d064aac0752763c277fd43980edee6860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6469a3df7409c5fff188b8a8ba6864d064aac0752763c277fd43980edee6860", kill_on_drop: false }` [INFO] [stdout] a6469a3df7409c5fff188b8a8ba6864d064aac0752763c277fd43980edee6860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e6ade1eac38183d910227e3f37b040e5a5483d9424332fad6572326d2e1e62 [INFO] running `Command { std: "docker" "start" "-a" "40e6ade1eac38183d910227e3f37b040e5a5483d9424332fad6572326d2e1e62", 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: struct `ArtifactNotification` is never constructed [INFO] [stdout] --> src/json.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ArtifactNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 `Clone` and `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: struct `ArtifactNotification` is never constructed [INFO] [stdout] --> src/json.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ArtifactNotification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 `Clone` and `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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" "40e6ade1eac38183d910227e3f37b040e5a5483d9424332fad6572326d2e1e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e6ade1eac38183d910227e3f37b040e5a5483d9424332fad6572326d2e1e62", kill_on_drop: false }` [INFO] [stdout] 40e6ade1eac38183d910227e3f37b040e5a5483d9424332fad6572326d2e1e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc7e8b32da791680b738389b35d120a162f18e950a50fa8543ae49f061c21657 [INFO] running `Command { std: "docker" "start" "-a" "cc7e8b32da791680b738389b35d120a162f18e950a50fa8543ae49f061c21657", kill_on_drop: false }` [INFO] [stderr] warning: field `rendered` is never read [INFO] [stdout] [INFO] [stderr] --> src/json.rs:14:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 8 | pub struct Diagnostic { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ---------- field in this struct [INFO] [stdout] [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] [stdout] [INFO] [stderr] warning: struct `ArtifactNotification` is never constructed [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/json.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct ArtifactNotification { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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 `Clone` and `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn parse_message(message: &str) -> IResult> { [INFO] [stderr] | ^^^^ ---- -------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn parse_message(message: &str) -> IResult, Vec>> { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: `diaglint` (lib) generated 6 warnings [INFO] [stderr] warning: `diaglint` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diaglint-75e2bb524ffaa804) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/diaglint-393d225c4ddc9b8e) [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] [stderr] Doc-tests diaglint [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" "cc7e8b32da791680b738389b35d120a162f18e950a50fa8543ae49f061c21657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc7e8b32da791680b738389b35d120a162f18e950a50fa8543ae49f061c21657", kill_on_drop: false }` [INFO] [stdout] cc7e8b32da791680b738389b35d120a162f18e950a50fa8543ae49f061c21657