[INFO] cloning repository https://github.com/junaadh/coreX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/junaadh/coreX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunaadh%2FcoreX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunaadh%2FcoreX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62eb8e9c8225f1b807499b2d865b912d34736377 [INFO] testing junaadh/coreX against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunaadh%2FcoreX" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/junaadh/coreX [INFO] finished tweaking git repo https://github.com/junaadh/coreX [INFO] tweaked toml for git repo https://github.com/junaadh/coreX written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/junaadh/coreX on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/junaadh/coreX 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libffi v5.1.0 [INFO] [stderr] Downloaded winnow v0.7.15 [INFO] [stderr] Downloaded libffi-sys v4.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7e3cd530521e7c386a9dcfe5f3be2d8eea5c836944ade5875c8b765ccb14765 [INFO] running `Command { std: "docker" "start" "-a" "e7e3cd530521e7c386a9dcfe5f3be2d8eea5c836944ade5875c8b765ccb14765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7e3cd530521e7c386a9dcfe5f3be2d8eea5c836944ade5875c8b765ccb14765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e3cd530521e7c386a9dcfe5f3be2d8eea5c836944ade5875c8b765ccb14765", kill_on_drop: false }` [INFO] [stdout] e7e3cd530521e7c386a9dcfe5f3be2d8eea5c836944ade5875c8b765ccb14765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 880ef1aadc6b263f7e38dc80862d213736d63be1d07fc5b46e10fbbc78ded9a5 [INFO] running `Command { std: "docker" "start" "-a" "880ef1aadc6b263f7e38dc80862d213736d63be1d07fc5b46e10fbbc78ded9a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling libffi-sys v4.1.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling libffi v5.1.0 [INFO] [stderr] Compiling core_x v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Lifetime` [INFO] [stdout] --> src/frontend/hir/lowering.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | ImplMember, InitDecl, InitKind, InitOriginKind, Item, LetStmt, Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/frontend/lexer/ident.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{SourceCursor, Span, Token, TokenKind, classify_keyword_token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/expansion/mod.rs:2285:47 [INFO] [stdout] | [INFO] [stdout] 2261 | Type::Lifetime(_) => {} [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 2285 | Type::Named { .. } | Type::SelfType | Type::Lifetime(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visibility` [INFO] [stdout] --> src/frontend/parser/parser.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visibility` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/frontend/resolver/hir_path_resolution.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let module = hir_modules.get(&hir_file.file_id).ok_or( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_context` [INFO] [stdout] --> src/midend/completion/context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | node_context: &HirNodeContext, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/midend/completion/span_index.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_` [INFO] [stdout] --> src/midend/completion/span_index.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | HirItemKind::Impl(impl_) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_lifetimes` is never used [INFO] [stdout] --> src/frontend/resolver/declaration_resolution.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> DeclarationResolver<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn push_lifetimes(&mut self, lifetimes: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin` is never read [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HirNodeContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub origin: HirOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HirNodeContext` 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: function `find_hir_node_at_offset` is never used [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn find_hir_node_at_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.39s [INFO] running `Command { std: "docker" "inspect" "880ef1aadc6b263f7e38dc80862d213736d63be1d07fc5b46e10fbbc78ded9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "880ef1aadc6b263f7e38dc80862d213736d63be1d07fc5b46e10fbbc78ded9a5", kill_on_drop: false }` [INFO] [stdout] 880ef1aadc6b263f7e38dc80862d213736d63be1d07fc5b46e10fbbc78ded9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b407aabbda3e9633179369fdf03c527d6cd84f9fe2f28292729766602d4f728 [INFO] running `Command { std: "docker" "start" "-a" "1b407aabbda3e9633179369fdf03c527d6cd84f9fe2f28292729766602d4f728", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Lifetime` [INFO] [stdout] --> src/frontend/hir/lowering.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | ImplMember, InitDecl, InitKind, InitOriginKind, Item, LetStmt, Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/frontend/lexer/ident.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{SourceCursor, Span, Token, TokenKind, classify_keyword_token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/expansion/mod.rs:2285:47 [INFO] [stdout] | [INFO] [stdout] 2261 | Type::Lifetime(_) => {} [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 2285 | Type::Named { .. } | Type::SelfType | Type::Lifetime(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visibility` [INFO] [stdout] --> src/frontend/parser/parser.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visibility` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/frontend/resolver/hir_path_resolution.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let module = hir_modules.get(&hir_file.file_id).ok_or( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_context` [INFO] [stdout] --> src/midend/completion/context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | node_context: &HirNodeContext, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling core_x v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/midend/completion/span_index.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_` [INFO] [stdout] --> src/midend/completion/span_index.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | HirItemKind::Impl(impl_) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_lifetimes` is never used [INFO] [stdout] --> src/frontend/resolver/declaration_resolution.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> DeclarationResolver<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn push_lifetimes(&mut self, lifetimes: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin` is never read [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HirNodeContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub origin: HirOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HirNodeContext` 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: function `find_hir_node_at_offset` is never used [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn find_hir_node_at_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tests/param_label_model.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 234 | ExternMember::Function(func) => { [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 253 | _ => panic!("expected function member"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/foreign/manifest.rs:450:39 [INFO] [stdout] | [INFO] [stdout] 450 | use crate::ffi::{ForeignCallConv, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lower_foreign_library_decl` [INFO] [stdout] --> src/foreign/manifest.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | lower_foreign_library_decl, parse_foreign_file, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/foreign/manifest.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/foreign/parse.rs:731:51 [INFO] [stdout] | [INFO] [stdout] 731 | use crate::ffi::{ForeignCallConv, NativeType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::foreign::lower_foreign_library_decl` [INFO] [stdout] --> src/foreign/parse.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | use crate::foreign::lower_foreign_library_decl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/foreign/parse.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lifetime` [INFO] [stdout] --> src/frontend/hir/lowering.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | ImplMember, InitDecl, InitKind, InitOriginKind, Item, LetStmt, Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/frontend/lexer/ident.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{SourceCursor, Span, Token, TokenKind, classify_keyword_token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/expansion/mod.rs:2285:47 [INFO] [stdout] | [INFO] [stdout] 2261 | Type::Lifetime(_) => {} [INFO] [stdout] | ----------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 2285 | Type::Named { .. } | Type::SelfType | Type::Lifetime(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visibility` [INFO] [stdout] --> src/frontend/parser/parser.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | visibility: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visibility` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/frontend/resolver/hir_path_resolution.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let module = hir_modules.get(&hir_file.file_id).ok_or( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_context` [INFO] [stdout] --> src/midend/completion/context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | node_context: &HirNodeContext, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_file` [INFO] [stdout] --> src/midend/completion/context.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let hir_file = input.hir_files.get(&file_id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_id` [INFO] [stdout] --> src/midend/completion/span_index.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `impl_` [INFO] [stdout] --> src/midend/completion/span_index.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | HirItemKind::Impl(impl_) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `null_for_test` is never used [INFO] [stdout] --> src/dyld/symbol.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl RawSymbol { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn null_for_test() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_lifetimes` is never used [INFO] [stdout] --> src/frontend/resolver/declaration_resolution.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> DeclarationResolver<'a> { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn push_lifetimes(&mut self, lifetimes: &[String]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `origin` is never read [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HirNodeContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub origin: HirOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HirNodeContext` 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: function `find_hir_node_at_offset` is never used [INFO] [stdout] --> src/midend/completion/hir_lookup.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn find_hir_node_at_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core_x` (lib test); 20 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/bin/rustc --crate-name core_x --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=dcc7479d1d0d3f66 -C extra-filename=-f6157e45a26932e4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-3982a00328408896.rlib --extern libffi=/opt/rustwide/target/debug/deps/liblibffi-91a8549b87dcadaa.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-135cf3cae6658505.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c17a114a5280acf2.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-e650275cb84ae00a.rlib --cap-lints=forbid -L /opt/rustwide/target/debug/build/libffi-sys-76c9a1195fba5b4e/out/libffi-root/lib -L /opt/rustwide/target/debug/build/libffi-sys-76c9a1195fba5b4e/out/libffi-root/lib32 -L /opt/rustwide/target/debug/build/libffi-sys-76c9a1195fba5b4e/out/libffi-root/lib64` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1b407aabbda3e9633179369fdf03c527d6cd84f9fe2f28292729766602d4f728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b407aabbda3e9633179369fdf03c527d6cd84f9fe2f28292729766602d4f728", kill_on_drop: false }` [INFO] [stdout] 1b407aabbda3e9633179369fdf03c527d6cd84f9fe2f28292729766602d4f728