[INFO] fetching crate diaglint 0.1.8... [INFO] checking diaglint-0.1.8 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate diaglint 0.1.8 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diaglint 0.1.8 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e22e61895fd6a1d517b654e1529fa37c0c33729f671808bfeb31d0a8f46acbbe [INFO] running `Command { std: "docker" "start" "-a" "e22e61895fd6a1d517b654e1529fa37c0c33729f671808bfeb31d0a8f46acbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e22e61895fd6a1d517b654e1529fa37c0c33729f671808bfeb31d0a8f46acbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22e61895fd6a1d517b654e1529fa37c0c33729f671808bfeb31d0a8f46acbbe", kill_on_drop: false }` [INFO] [stdout] e22e61895fd6a1d517b654e1529fa37c0c33729f671808bfeb31d0a8f46acbbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b4e660ad115239f523fa33fbdc0cce680f22bdd731b8c70f30523df0ea7b94d [INFO] running `Command { std: "docker" "start" "-a" "3b4e660ad115239f523fa33fbdc0cce680f22bdd731b8c70f30523df0ea7b94d", 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 serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking annotate-snippets v0.8.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nom_locate v4.0.0 [INFO] [stderr] Checking 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 `dev` profile [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "3b4e660ad115239f523fa33fbdc0cce680f22bdd731b8c70f30523df0ea7b94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4e660ad115239f523fa33fbdc0cce680f22bdd731b8c70f30523df0ea7b94d", kill_on_drop: false }` [INFO] [stdout] 3b4e660ad115239f523fa33fbdc0cce680f22bdd731b8c70f30523df0ea7b94d