[INFO] fetching crate clangd-parser 0.1.3... [INFO] testing clangd-parser-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate clangd-parser 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate clangd-parser 0.1.3 [INFO] finished tweaking crates.io crate clangd-parser 0.1.3 [INFO] tweaked toml for crates.io crate clangd-parser 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clangd-parser 0.1.3 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 clangd-parser 0.1.3 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dary_heap v0.3.6 [INFO] [stderr] Downloaded async-channel v2.2.1 [INFO] [stderr] Downloaded griff v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cca7d5a62a7656ce6980be5614ed49239d14302041ddff94bdfb35792d9e866 [INFO] running `Command { std: "docker" "start" "-a" "4cca7d5a62a7656ce6980be5614ed49239d14302041ddff94bdfb35792d9e866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cca7d5a62a7656ce6980be5614ed49239d14302041ddff94bdfb35792d9e866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cca7d5a62a7656ce6980be5614ed49239d14302041ddff94bdfb35792d9e866", kill_on_drop: false }` [INFO] [stdout] 4cca7d5a62a7656ce6980be5614ed49239d14302041ddff94bdfb35792d9e866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] ef3dfeea3e3d522fc848588380cb14ec61ffbf5fb1f65aad99b1be190174c4ee [INFO] running `Command { std: "docker" "start" "-a" "ef3dfeea3e3d522fc848588380cb14ec61ffbf5fb1f65aad99b1be190174c4ee", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling griff v0.1.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling blocking v1.6.0 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling clangd-parser v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::symbols::SymbolKind` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::symbols::SymbolKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut db = task::block_on(_run(p)); [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: field `0` is never read [INFO] [stdout] --> src/clangd.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | RiffError(ChunkError), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - RiffError(ChunkError), [INFO] [stdout] 16 + RiffError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdFileMap` is never used [INFO] [stdout] --> src/clangd.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type ClangdFileMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdIdMap` is never used [INFO] [stdout] --> src/clangd.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ClangdIdMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdNameMap` is never used [INFO] [stdout] --> src/clangd.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ClangdNameMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClangdDatabase` is never constructed [INFO] [stdout] --> src/clangd.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ClangdDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangdDatabase` 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: field `file_type` is never read [INFO] [stdout] --> src/clangd.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct ClangdFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | pub file_type: ClangdFileType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangdFile` 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: field `cnt` is never read [INFO] [stdout] --> src/refs.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Refs { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | pub id: SymbolId, [INFO] [stdout] 16 | pub cnt: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Refs` 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 `subkind` and `properties` are never read [INFO] [stdout] --> src/symbols.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 142 | pub kind: SymbolKind, [INFO] [stdout] 143 | pub subkind: SymbolSubKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | pub lang: SymbolLanguage, [INFO] [stdout] 145 | pub properties: SymbolPropertySet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` 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: field `origin` is never read [INFO] [stdout] --> src/symbols.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 249 | pub origin: SymbolOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.71s [INFO] running `Command { std: "docker" "inspect" "ef3dfeea3e3d522fc848588380cb14ec61ffbf5fb1f65aad99b1be190174c4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3dfeea3e3d522fc848588380cb14ec61ffbf5fb1f65aad99b1be190174c4ee", kill_on_drop: false }` [INFO] [stdout] ef3dfeea3e3d522fc848588380cb14ec61ffbf5fb1f65aad99b1be190174c4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] f8f63482dda3a5d32e5696bf55d1b50033752bc88c67f0e609b24d4f1302bc60 [INFO] running `Command { std: "docker" "start" "-a" "f8f63482dda3a5d32e5696bf55d1b50033752bc88c67f0e609b24d4f1302bc60", kill_on_drop: false }` [INFO] [stderr] Compiling clangd-parser v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::symbols::SymbolKind` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::symbols::SymbolKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut db = task::block_on(_run(p)); [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: unused import: `crate::symbols::SymbolKind` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::symbols::SymbolKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/clangd.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | RiffError(ChunkError), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - RiffError(ChunkError), [INFO] [stdout] 16 + RiffError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdFileMap` is never used [INFO] [stdout] --> src/clangd.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type ClangdFileMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdIdMap` is never used [INFO] [stdout] --> src/clangd.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ClangdIdMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClangdNameMap` is never used [INFO] [stdout] --> src/clangd.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type ClangdNameMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClangdDatabase` is never constructed [INFO] [stdout] --> src/clangd.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ClangdDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangdDatabase` 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: field `file_type` is never read [INFO] [stdout] --> src/clangd.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct ClangdFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | pub file_type: ClangdFileType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClangdFile` 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: field `cnt` is never read [INFO] [stdout] --> src/refs.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Refs { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | pub id: SymbolId, [INFO] [stdout] 16 | pub cnt: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Refs` 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 `subkind` and `properties` are never read [INFO] [stdout] --> src/symbols.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 142 | pub kind: SymbolKind, [INFO] [stdout] 143 | pub subkind: SymbolSubKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | pub lang: SymbolLanguage, [INFO] [stdout] 145 | pub properties: SymbolPropertySet, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` 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: field `origin` is never read [INFO] [stdout] --> src/symbols.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 249 | pub origin: SymbolOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` 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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut db = task::block_on(_run(p)); [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "f8f63482dda3a5d32e5696bf55d1b50033752bc88c67f0e609b24d4f1302bc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f63482dda3a5d32e5696bf55d1b50033752bc88c67f0e609b24d4f1302bc60", kill_on_drop: false }` [INFO] [stdout] f8f63482dda3a5d32e5696bf55d1b50033752bc88c67f0e609b24d4f1302bc60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 91a253121cbec7ab38582d53206a6802f4aabed0334ef826813800574f35f152 [INFO] running `Command { std: "docker" "start" "-a" "91a253121cbec7ab38582d53206a6802f4aabed0334ef826813800574f35f152", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::symbols::SymbolKind` [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::symbols::SymbolKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let mut db = task::block_on(_run(p)); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `clangd-parser` (lib) generated 2 warnings (run `cargo fix --lib -p clangd-parser` to apply 2 suggestions) [INFO] [stderr] warning: `clangd-parser` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/clangd.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | RiffError(ChunkError), [INFO] [stderr] | --------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ParseError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - RiffError(ChunkError), [INFO] [stderr] 16 + RiffError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: type alias `ClangdFileMap` is never used [INFO] [stderr] --> src/clangd.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub type ClangdFileMap = BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ClangdIdMap` is never used [INFO] [stderr] --> src/clangd.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub type ClangdIdMap = BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ClangdNameMap` is never used [INFO] [stderr] --> src/clangd.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | pub type ClangdNameMap = BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ClangdDatabase` is never constructed [INFO] [stderr] --> src/clangd.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct ClangdDatabase { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClangdDatabase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `file_type` is never read [INFO] [stderr] --> src/clangd.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 121 | pub struct ClangdFile { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 137 | pub file_type: ClangdFileType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClangdFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `cnt` is never read [INFO] [stderr] --> src/refs.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Refs { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 15 | pub id: SymbolId, [INFO] [stderr] 16 | pub cnt: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Refs` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `subkind` and `properties` are never read [INFO] [stderr] --> src/symbols.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 141 | pub struct SymbolInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 142 | pub kind: SymbolKind, [INFO] [stderr] 143 | pub subkind: SymbolSubKind, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 144 | pub lang: SymbolLanguage, [INFO] [stderr] 145 | pub properties: SymbolPropertySet, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SymbolInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `origin` is never read [INFO] [stderr] --> src/symbols.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 240 | pub struct Symbol { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 249 | pub origin: SymbolOrigin, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Symbol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `clangd-parser` (bin "clangd-parser" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/clangd_parser-0a1ca4b9a020c99f) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/clangd_parser-04becc621ec833f8) [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" "91a253121cbec7ab38582d53206a6802f4aabed0334ef826813800574f35f152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a253121cbec7ab38582d53206a6802f4aabed0334ef826813800574f35f152", kill_on_drop: false }` [INFO] [stdout] 91a253121cbec7ab38582d53206a6802f4aabed0334ef826813800574f35f152