[INFO] cloning repository https://github.com/Karesis/nine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Karesis/nine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaresis%2Fnine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaresis%2Fnine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1c2b0f9411e97c57d5647bc5a509938a442e421 [INFO] checking Karesis/nine against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaresis%2Fnine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Karesis/nine [INFO] finished tweaking git repo https://github.com/Karesis/nine [INFO] tweaked toml for git repo https://github.com/Karesis/nine written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Karesis/nine on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Karesis/nine 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76 [INFO] running `Command { std: "docker" "start" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling inkwell v0.7.1 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling llvm-sys v201.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling inkwell_internals v0.12.0 [INFO] [stderr] Checking ninec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/driver.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use std::path::{Path, PathBuf}; [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: `Path` [INFO] [stdout] --> src/driver.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use std::path::{Path, PathBuf}; [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 variable: `i` [INFO] [stdout] --> src/analyzer.rs:2795:14 [INFO] [stdout] | [INFO] [stdout] 2795 | for (i, segment) in path.segments.iter().enumerate().skip(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/analyzer.rs:2904:30 [INFO] [stdout] | [INFO] [stdout] 2904 | if let Some((id, vis)) = scope.symbols.get(name) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen.rs:327:52 [INFO] [stdout] | [INFO] [stdout] 327 | if let TypeKey::Instantiated { def_id, args } = &key { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/codegen.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | _ => Ok(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/codegen.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 701 | / StatementKind::VariableDeclaration { [INFO] [stdout] 702 | | name, [INFO] [stdout] 703 | | type_annotation: _, [INFO] [stdout] 704 | | initializer, [INFO] [stdout] 705 | | .. [INFO] [stdout] 706 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 725 | StatementKind::Assignment { lhs, rhs } => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 734 | StatementKind::ExpressionStatement(expr) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 739 | StatementKind::Block(block) => self.compile_block(block), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 916 | _ => Ok(()), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1022:34 [INFO] [stdout] | [INFO] [stdout] 1022 | ExpressionKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/codegen.rs:1092:45 [INFO] [stdout] | [INFO] [stdout] 1092 | ExpressionKind::StructLiteral { type_name, fields } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1209:34 [INFO] [stdout] | [INFO] [stdout] 1209 | ExpressionKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/codegen.rs:1466:25 [INFO] [stdout] | [INFO] [stdout] 1466 | let field_ptr = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1868:62 [INFO] [stdout] | [INFO] [stdout] 1868 | let direct_call_result = if let ExpressionKind::Path(path) = &callee.kind { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_ast_type` [INFO] [stdout] --> src/codegen.rs:2055:9 [INFO] [stdout] | [INFO] [stdout] 2055 | target_ast_type: &Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_bold` [INFO] [stdout] --> src/diagnostic.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let color_bold = "\x1b[1m"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_bold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_arg` [INFO] [stdout] --> src/parser.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | if let Some(last_arg) = args.last() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_record_function_instantiation` and `is_generic_param` are never used [INFO] [stdout] --> src/analyzer.rs:2424:8 [INFO] [stdout] | [INFO] [stdout] 535 | impl Analyzer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2424 | fn try_record_function_instantiation(&mut self, def_id: DefId, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3324 | fn is_generic_param(&self, id: DefId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compile_struct_body`, `compile_items`, and `compile_unary` are never used [INFO] [stdout] --> src/codegen.rs:398:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a, 'ctx> CodeGen<'a, 'ctx> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 398 | fn compile_struct_body(&mut self, mangled_name: &str, fields: &[(String, TypeKey)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn compile_items(&mut self, items: &[Item]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1996 | fn compile_unary( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/analyzer.rs:2795:14 [INFO] [stdout] | [INFO] [stdout] 2795 | for (i, segment) in path.segments.iter().enumerate().skip(1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/analyzer.rs:2904:30 [INFO] [stdout] | [INFO] [stdout] 2904 | if let Some((id, vis)) = scope.symbols.get(name) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen.rs:327:52 [INFO] [stdout] | [INFO] [stdout] 327 | if let TypeKey::Instantiated { def_id, args } = &key { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/codegen.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | _ => Ok(()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/codegen.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 701 | / StatementKind::VariableDeclaration { [INFO] [stdout] 702 | | name, [INFO] [stdout] 703 | | type_annotation: _, [INFO] [stdout] 704 | | initializer, [INFO] [stdout] 705 | | .. [INFO] [stdout] 706 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 725 | StatementKind::Assignment { lhs, rhs } => { [INFO] [stdout] | -------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 734 | StatementKind::ExpressionStatement(expr) => { [INFO] [stdout] | ---------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 739 | StatementKind::Block(block) => self.compile_block(block), [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 916 | _ => Ok(()), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1022:34 [INFO] [stdout] | [INFO] [stdout] 1022 | ExpressionKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_name` [INFO] [stdout] --> src/codegen.rs:1092:45 [INFO] [stdout] | [INFO] [stdout] 1092 | ExpressionKind::StructLiteral { type_name, fields } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `type_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1209:34 [INFO] [stdout] | [INFO] [stdout] 1209 | ExpressionKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/codegen.rs:1466:25 [INFO] [stdout] | [INFO] [stdout] 1466 | let field_ptr = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/codegen.rs:1868:62 [INFO] [stdout] | [INFO] [stdout] 1868 | let direct_call_result = if let ExpressionKind::Path(path) = &callee.kind { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_ast_type` [INFO] [stdout] --> src/codegen.rs:2055:9 [INFO] [stdout] | [INFO] [stdout] 2055 | target_ast_type: &Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_ast_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_bold` [INFO] [stdout] --> src/diagnostic.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let color_bold = "\x1b[1m"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_bold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_arg` [INFO] [stdout] --> src/parser.rs:447:25 [INFO] [stdout] | [INFO] [stdout] 447 | if let Some(last_arg) = args.last() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_record_function_instantiation` and `is_generic_param` are never used [INFO] [stdout] --> src/analyzer.rs:2424:8 [INFO] [stdout] | [INFO] [stdout] 535 | impl Analyzer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2424 | fn try_record_function_instantiation(&mut self, def_id: DefId, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3324 | fn is_generic_param(&self, id: DefId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compile_struct_body`, `compile_items`, and `compile_unary` are never used [INFO] [stdout] --> src/codegen.rs:398:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a, 'ctx> CodeGen<'a, 'ctx> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 398 | fn compile_struct_body(&mut self, mangled_name: &str, fields: &[(String, TypeKey)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn compile_items(&mut self, items: &[Item]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1996 | fn compile_unary( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.15s [INFO] running `Command { std: "docker" "inspect" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76", kill_on_drop: false }` [INFO] [stdout] 97358f509be00317ec542281ee62621606ca98514446c1b1f1bc11b0ccfb0c76