[INFO] cloning repository https://github.com/ArturMarschenkulov/ice-lang-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArturMarschenkulov/ice-lang-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturMarschenkulov%2Fice-lang-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturMarschenkulov%2Fice-lang-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe3d1442f98efe8301d7471231c98ef134c9f0ac [INFO] checking ArturMarschenkulov/ice-lang-rust/fe3d1442f98efe8301d7471231c98ef134c9f0ac against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturMarschenkulov%2Fice-lang-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArturMarschenkulov/ice-lang-rust on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArturMarschenkulov/ice-lang-rust [INFO] finished tweaking git repo https://github.com/ArturMarschenkulov/ice-lang-rust [INFO] tweaked toml for git repo https://github.com/ArturMarschenkulov/ice-lang-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArturMarschenkulov/ice-lang-rust 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d59f57647716e77df3f1288877ca72f1c4bf27083f85bf42dbf67a26d3f25cd [INFO] running `Command { std: "docker" "start" "-a" "4d59f57647716e77df3f1288877ca72f1c4bf27083f85bf42dbf67a26d3f25cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d59f57647716e77df3f1288877ca72f1c4bf27083f85bf42dbf67a26d3f25cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d59f57647716e77df3f1288877ca72f1c4bf27083f85bf42dbf67a26d3f25cd", kill_on_drop: false }` [INFO] [stdout] 4d59f57647716e77df3f1288877ca72f1c4bf27083f85bf42dbf67a26d3f25cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1f7161ff7ae53b0114b9e0694390963f121a1583984960710dc82fdd23b1ce2 [INFO] running `Command { std: "docker" "start" "-a" "f1f7161ff7ae53b0114b9e0694390963f121a1583984960710dc82fdd23b1ce2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking debug_tree v0.4.0 [INFO] [stderr] Checking ice-lang-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 58 | / ItemKind::Fn { [INFO] [stdout] 59 | | name, [INFO] [stdout] 60 | | params, [INFO] [stdout] 61 | | ret, [INFO] [stdout] 62 | | body: _, [INFO] [stdout] 63 | | } => SymbolKind::Fn { [INFO] [stdout] | |_________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 68 | ItemKind::Struct { name, fields } => SymbolKind::Struct { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin` [INFO] [stdout] --> src/parser/expr.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | let bin = parser.parse_expr_binary(BindingPower::new()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/parser/expr.rs (2 fixes) [INFO] [stderr] Fixed src/parser/item.rs (2 fixes) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 58 | / ItemKind::Fn { [INFO] [stdout] 59 | | name, [INFO] [stdout] 60 | | params, [INFO] [stdout] 61 | | ret, [INFO] [stdout] 62 | | body: _, [INFO] [stdout] 63 | | } => SymbolKind::Fn { [INFO] [stdout] | |_________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 68 | ItemKind::Struct { name, fields } => SymbolKind::Struct { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ice-lang-rust v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved import `TK` [INFO] [stdout] --> src/parser/item.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | use TK::Punctuator as TKP; [INFO] [stdout] | ^^ help: a similar path exists: `super::TK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/parser/expr.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | let tokens = lexer::lex_tokens_from_file(txt).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 434 + use crate::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/expr.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | let mut parser = Parser::new(tokens.tokens); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 434 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindingPower` [INFO] [stdout] --> src/parser/expr.rs:440:44 [INFO] [stdout] | [INFO] [stdout] 440 | let bin = parser.parse_expr_binary(BindingPower::new()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BindingPower` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 434 + use crate::parser::expr::BindingPower; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/parser/item.rs:222:41 [INFO] [stdout] | [INFO] [stdout] 222 | fn get_tokens(txt: &str) -> Vec { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 220 + use crate::lexer::token; [INFO] [stdout] | [INFO] [stdout] help: if you import `token`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 222 - fn get_tokens(txt: &str) -> Vec { [INFO] [stdout] 222 + fn get_tokens(txt: &str) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexer` [INFO] [stdout] --> src/parser/item.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | lexer::lex_tokens_from_file(txt).unwrap().tokens [INFO] [stdout] | ^^^^^ use of undeclared crate or module `lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 220 + use crate::lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | const LEFT_PAREN: TK = TKP(PK::LeftParen); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | const LEFT_PAREN: TK = TKP(PK::LeftParen); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | const RIGHT_PAREN: TK = TKP(PK::RightParen); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | const RIGHT_PAREN: TK = TKP(PK::RightParen); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | const LEFT_BRACE: TK = TKP(PK::LeftBrace); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | const LEFT_BRACE: TK = TKP(PK::LeftBrace); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | const RIGHT_BRACE: TK = TKP(PK::RightBrace); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | const RIGHT_BRACE: TK = TKP(PK::RightBrace); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | const LEFT_BRACKET: TK = TKP(PK::LeftBracket); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | const LEFT_BRACKET: TK = TKP(PK::LeftBracket); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | const RIGHT_BRACKET: TK = TKP(PK::RightBracket); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 231 | const RIGHT_BRACKET: TK = TKP(PK::RightBracket); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | const VERTICAL_BAR: TK = TKP(PK::VerticalBar); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | const VERTICAL_BAR: TK = TKP(PK::VerticalBar); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | const COMMA: TK = TKP(PK::Comma); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | const COMMA: TK = TKP(PK::Comma); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | const SEMICOLON: TK = TKP(PK::Semicolon); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | const SEMICOLON: TK = TKP(PK::Semicolon); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TK` in this scope [INFO] [stdout] --> src/parser/item.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | const COLON: TK = TKP(PK::Colon); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::TK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PK` [INFO] [stdout] --> src/parser/item.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 236 | const COLON: TK = TKP(PK::Colon); [INFO] [stdout] | ^^ use of undeclared type `PK` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::item::PK; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/item.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | Parser::new(get_tokens(txt)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/item.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | Parser::new(get_tokens(txt)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/item.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | Parser::new(get_tokens(txt)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/item.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | Parser::new(get_tokens(txt)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> src/parser/item.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | Parser::new(get_tokens(txt)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 220 + use crate::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 58 | / ItemKind::Fn { [INFO] [stdout] 59 | | name, [INFO] [stdout] 60 | | params, [INFO] [stdout] 61 | | ret, [INFO] [stdout] 62 | | body: _, [INFO] [stdout] 63 | | } => SymbolKind::Fn { [INFO] [stdout] | |_________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 68 | ItemKind::Struct { name, fields } => SymbolKind::Struct { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 58 | / ItemKind::Fn { [INFO] [stdout] 59 | | name, [INFO] [stdout] 60 | | params, [INFO] [stdout] 61 | | ret, [INFO] [stdout] 62 | | body: _, [INFO] [stdout] 63 | | } => SymbolKind::Fn { [INFO] [stdout] | |_________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 68 | ItemKind::Struct { name, fields } => SymbolKind::Struct { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ice-lang-rust` (bin "ice-lang-rust" test) due to 32 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f1f7161ff7ae53b0114b9e0694390963f121a1583984960710dc82fdd23b1ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f7161ff7ae53b0114b9e0694390963f121a1583984960710dc82fdd23b1ce2", kill_on_drop: false }` [INFO] [stdout] f1f7161ff7ae53b0114b9e0694390963f121a1583984960710dc82fdd23b1ce2