[INFO] cloning repository https://github.com/zxsheather/RCompiler-2025 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxsheather/RCompiler-2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxsheather%2FRCompiler-2025", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxsheather%2FRCompiler-2025'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 716488df6a88e1fb7266106861fbf2995365cf56 [INFO] checking zxsheather/RCompiler-2025 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxsheather%2FRCompiler-2025" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zxsheather/RCompiler-2025 [INFO] finished tweaking git repo https://github.com/zxsheather/RCompiler-2025 [INFO] tweaked toml for git repo https://github.com/zxsheather/RCompiler-2025 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxsheather/RCompiler-2025 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zxsheather/RCompiler-2025 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 559552f7ebc5e185a5d45c6f642be7b76ba19a28b64e443a393ebc2505f8189c [INFO] running `Command { std: "docker" "start" "-a" "559552f7ebc5e185a5d45c6f642be7b76ba19a28b64e443a393ebc2505f8189c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "559552f7ebc5e185a5d45c6f642be7b76ba19a28b64e443a393ebc2505f8189c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559552f7ebc5e185a5d45c6f642be7b76ba19a28b64e443a393ebc2505f8189c", kill_on_drop: false }` [INFO] [stdout] 559552f7ebc5e185a5d45c6f642be7b76ba19a28b64e443a393ebc2505f8189c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6f68995f75c575afafbe6e224b3aa94f50c8ed7dc3bfd5685573fc63752fe3 [INFO] running `Command { std: "docker" "start" "-a" "8d6f68995f75c575afafbe6e224b3aa94f50c8ed7dc3bfd5685573fc63752fe3", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking RCompiler-2025 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/frontend/r_parser/ast.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, de}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/frontend/r_semantic/const_folder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsExprNode` and `ConstItemNode` [INFO] [stdout] --> src/frontend/r_semantic/const_folder.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | ArrayLiteralNode, AsExprNode, BinaryExprNode, ConstItemNode, ExpressionNode, TypeNode, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `token::TokenType` [INFO] [stdout] --> src/frontend/r_semantic/error.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | r_lexer::{error, token::TokenType}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::Layout` [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::Layout, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IRModule` [INFO] [stdout] --> src/middleend/ir/builtins.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | CallTarget, IRBinaryOp, IRCastOp, IRFunction, IRInstruction, IRInstructionKind, IRModule, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_built_in_methods`, `get_built_in_static_methods`, and `types::RxType` [INFO] [stdout] --> src/middleend/ir/builtins.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | built_in::{get_built_in_funcs, get_built_in_methods, get_built_in_static_methods}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | tyctxt::TypeContext, [INFO] [stdout] 12 | types::RxType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `not_unix` [INFO] [stdout] --> src/middleend/ir/emitter.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | #[cfg(not_unix)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(not_unix)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not_unix)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IRNode`, `self`, and `struct_ir_type` [INFO] [stdout] --> src/middleend/ir/lower.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | tyctxt::{self, NodeId, TypeContext}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | IRInstructionKind, IRModule, IRNode, IRType, IRValue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | rx_to_ir_type, struct_ir_type, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint` [INFO] [stdout] --> src/middleend/ir/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hint; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/middleend/ir/utils.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | r_lexer::token::{self, TokenType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de` [INFO] [stdout] --> src/frontend/r_parser/ast.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, de}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/frontend/r_semantic/const_folder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsExprNode` and `ConstItemNode` [INFO] [stdout] --> src/frontend/r_semantic/const_folder.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | ArrayLiteralNode, AsExprNode, BinaryExprNode, ConstItemNode, ExpressionNode, TypeNode, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `token::TokenType` [INFO] [stdout] --> src/frontend/r_semantic/error.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | r_lexer::{error, token::TokenType}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::Layout` [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::Layout, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IRModule` [INFO] [stdout] --> src/middleend/ir/builtins.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | CallTarget, IRBinaryOp, IRCastOp, IRFunction, IRInstruction, IRInstructionKind, IRModule, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_built_in_methods`, `get_built_in_static_methods`, and `types::RxType` [INFO] [stdout] --> src/middleend/ir/builtins.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | built_in::{get_built_in_funcs, get_built_in_methods, get_built_in_static_methods}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | tyctxt::TypeContext, [INFO] [stdout] 12 | types::RxType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `not_unix` [INFO] [stdout] --> src/middleend/ir/emitter.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | #[cfg(not_unix)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(not_unix)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(not_unix)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IRNode`, `self`, and `struct_ir_type` [INFO] [stdout] --> src/middleend/ir/lower.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | tyctxt::{self, NodeId, TypeContext}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | IRInstructionKind, IRModule, IRNode, IRType, IRValue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | rx_to_ir_type, struct_ir_type, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hint` [INFO] [stdout] --> src/middleend/ir/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hint; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/middleend/ir/utils.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | r_lexer::token::{self, TokenType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleend/ir/lower.rs:1263:25 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut value = if let Some(cached) = &cached_value { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutable` [INFO] [stdout] --> src/middleend/ir/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | mutable, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `mutable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/middleend/ir/utils.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | RxValue::IntLiteral(v) => match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frontend/r_lexer/token.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(token_type: TokenType, lexeme: String, position: Position) -> 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: variants `ReservedIntegerLiteral`, `FloatLiteral`, `WhiteSpace`, and `Comment` are never constructed [INFO] [stdout] --> src/frontend/r_lexer/token.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 113 | ReservedIntegerLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | FloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | WhiteSpace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 185 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: methods `is_keyword`, `is_operator`, `is_punctuation`, and `is_type_literal` are never used [INFO] [stdout] --> src/frontend/r_lexer/token.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl TokenType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn is_operator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn is_punctuation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn is_type_literal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expression` is never constructed [INFO] [stdout] --> src/frontend/r_parser/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AstNode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Expression(ExpressionNode), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` 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: variant `Underscore` is never constructed [INFO] [stdout] --> src/frontend/r_parser/ast.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum ExpressionNode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 221 | Underscore(Token, NodeId), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionNode` 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: methods `peek` and `advance_n` are never used [INFO] [stdout] --> src/frontend/r_parser/parser.rs:1177:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1177 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | fn advance_n(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidLValueType`, `TypeMismatch`, `UnknownConstant`, and `UnknownEnum` are never constructed [INFO] [stdout] --> src/frontend/r_semantic/error.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 177 | InvalidLValueType { line: usize, column: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | TypeMismatch { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | UnknownConstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | UnknownEnum { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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 `node_symbols` and `node_const` are never read [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct TypeContext { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 86 | node_types: HashMap, [INFO] [stdout] 87 | node_symbols: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | node_const: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` 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: methods `set_symbol` and `get_symbol` are never used [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn set_symbol(&mut self, node_id: NodeId, symbol: Symbol) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_symbol(&self, node_id: NodeId) -> Option<&Symbol> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/frontend/r_semantic/types.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum RxValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | Str(&'static str), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RxValue` 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: method `get_type` is never used [INFO] [stdout] --> src/frontend/r_semantic/types.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl RxValue { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 188 | pub fn get_type(&self) -> RxType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_debug` is never used [INFO] [stdout] --> src/middleend/ir/module.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IRInstruction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_debug(mut self, debug: DebugLocation) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indirect` is never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum CallTarget { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 126 | Direct(String), [INFO] [stdout] 127 | Indirect(IRValue), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallTarget` 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: enum `IRNode` is never used [INFO] [stdout] --> src/middleend/ir/module.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum IRNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Never` is never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 240 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` 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: variants `ConstNull`, `Local`, and `Global` are never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum IRValue { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 255 | ConstNull(IRType), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 256 | Undef(IRType), [INFO] [stdout] 257 | Local { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRValue` 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 `struct_ir_type` is never used [INFO] [stdout] --> src/middleend/ir/utils.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn struct_ir_type(type_ctx: &TypeContext, name: &str) -> LowerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleend/ir/lower.rs:1263:25 [INFO] [stdout] | [INFO] [stdout] 1263 | let mut value = if let Some(cached) = &cached_value { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutable` [INFO] [stdout] --> src/middleend/ir/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | mutable, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `mutable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/middleend/ir/utils.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | RxValue::IntLiteral(v) => match value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/frontend/r_lexer/token.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(token_type: TokenType, lexeme: String, position: Position) -> 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: variants `ReservedIntegerLiteral`, `FloatLiteral`, `WhiteSpace`, and `Comment` are never constructed [INFO] [stdout] --> src/frontend/r_lexer/token.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 113 | ReservedIntegerLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | FloatLiteral, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | WhiteSpace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 185 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: methods `is_keyword`, `is_operator`, `is_punctuation`, and `is_type_literal` are never used [INFO] [stdout] --> src/frontend/r_lexer/token.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl TokenType { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn is_operator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn is_punctuation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn is_type_literal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expression` is never constructed [INFO] [stdout] --> src/frontend/r_parser/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AstNode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Expression(ExpressionNode), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` 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: variant `Underscore` is never constructed [INFO] [stdout] --> src/frontend/r_parser/ast.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum ExpressionNode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 221 | Underscore(Token, NodeId), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionNode` 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: methods `peek` and `advance_n` are never used [INFO] [stdout] --> src/frontend/r_parser/parser.rs:1177:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1177 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | fn advance_n(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidLValueType`, `TypeMismatch`, `UnknownConstant`, and `UnknownEnum` are never constructed [INFO] [stdout] --> src/frontend/r_semantic/error.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum SemanticError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 177 | InvalidLValueType { line: usize, column: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | TypeMismatch { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | UnknownConstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | UnknownEnum { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SemanticError` 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 `node_symbols` and `node_const` are never read [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct TypeContext { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 86 | node_types: HashMap, [INFO] [stdout] 87 | node_symbols: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | node_const: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeContext` 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: methods `set_symbol` and `get_symbol` are never used [INFO] [stdout] --> src/frontend/r_semantic/tyctxt.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl TypeContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn set_symbol(&mut self, node_id: NodeId, symbol: Symbol) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_symbol(&self, node_id: NodeId) -> Option<&Symbol> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/frontend/r_semantic/types.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub enum RxValue { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | Str(&'static str), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RxValue` 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: method `get_type` is never used [INFO] [stdout] --> src/frontend/r_semantic/types.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl RxValue { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 188 | pub fn get_type(&self) -> RxType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_debug` is never used [INFO] [stdout] --> src/middleend/ir/module.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl IRInstruction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_debug(mut self, debug: DebugLocation) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indirect` is never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum CallTarget { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 126 | Direct(String), [INFO] [stdout] 127 | Indirect(IRValue), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallTarget` 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: enum `IRNode` is never used [INFO] [stdout] --> src/middleend/ir/module.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum IRNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Never` is never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 231 | pub enum IRType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 240 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRType` 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: variants `ConstNull`, `Local`, and `Global` are never constructed [INFO] [stdout] --> src/middleend/ir/module.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum IRValue { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 255 | ConstNull(IRType), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 256 | Undef(IRType), [INFO] [stdout] 257 | Local { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IRValue` 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 `struct_ir_type` is never used [INFO] [stdout] --> src/middleend/ir/utils.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn struct_ir_type(type_ctx: &TypeContext, name: &str) -> LowerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "8d6f68995f75c575afafbe6e224b3aa94f50c8ed7dc3bfd5685573fc63752fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6f68995f75c575afafbe6e224b3aa94f50c8ed7dc3bfd5685573fc63752fe3", kill_on_drop: false }` [INFO] [stdout] 8d6f68995f75c575afafbe6e224b3aa94f50c8ed7dc3bfd5685573fc63752fe3