[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturMarschenkulov%2Fice-lang-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArturMarschenkulov/ice-lang-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded debug_tree v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dd9eb987dd82256920f49d0e3623cff72228890c21627a81a4ba1601b2ace6d [INFO] running `Command { std: "docker" "start" "-a" "2dd9eb987dd82256920f49d0e3623cff72228890c21627a81a4ba1601b2ace6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd9eb987dd82256920f49d0e3623cff72228890c21627a81a4ba1601b2ace6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd9eb987dd82256920f49d0e3623cff72228890c21627a81a4ba1601b2ace6d", kill_on_drop: false }` [INFO] [stdout] 2dd9eb987dd82256920f49d0e3623cff72228890c21627a81a4ba1601b2ace6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3093d7e5ce9436979bcd3762671bdb3569286b9b3a76d1dd072a4417af7115e [INFO] running `Command { std: "docker" "start" "-a" "c3093d7e5ce9436979bcd3762671bdb3569286b9b3a76d1dd072a4417af7115e", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking debug_tree v0.4.0 [INFO] [stderr] Checking ice-lang-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::super::lexer` [INFO] [stdout] --> src/parser/expr.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | use super::super::super::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parser/expr.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::super::lexer` [INFO] [stdout] --> src/parser/item.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | use super::super::super::lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/parser/item.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NumberBase` is imported redundantly [INFO] [stdout] --> src/lexer/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::token::NumberBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `NumberBase` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] | ^ [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "c3093d7e5ce9436979bcd3762671bdb3569286b9b3a76d1dd072a4417af7115e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3093d7e5ce9436979bcd3762671bdb3569286b9b3a76d1dd072a4417af7115e", kill_on_drop: false }` [INFO] [stdout] c3093d7e5ce9436979bcd3762671bdb3569286b9b3a76d1dd072a4417af7115e [INFO] checking ArturMarschenkulov/ice-lang-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturMarschenkulov%2Fice-lang-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArturMarschenkulov/ice-lang-rust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-0-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40224efb53628b86feafac5361933a66da4c5f3b7140fa7ee890cec33177f346 [INFO] running `Command { std: "docker" "start" "-a" "40224efb53628b86feafac5361933a66da4c5f3b7140fa7ee890cec33177f346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40224efb53628b86feafac5361933a66da4c5f3b7140fa7ee890cec33177f346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40224efb53628b86feafac5361933a66da4c5f3b7140fa7ee890cec33177f346", kill_on_drop: false }` [INFO] [stdout] 40224efb53628b86feafac5361933a66da4c5f3b7140fa7ee890cec33177f346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2467eaf3cd25241ccffe1f1f46b63c18c4ddb003b061d9df1529af7aece27891 [INFO] running `Command { std: "docker" "start" "-a" "2467eaf3cd25241ccffe1f1f46b63c18c4ddb003b061d9df1529af7aece27891", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [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: the item `NumberBase` is imported redundantly [INFO] [stdout] --> src/lexer/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::token::NumberBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `NumberBase` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] | ^ [INFO] [stdout] | [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/parser/item.rs (2 fixes) [INFO] [stderr] Fixed src/parser/expr.rs (2 fixes) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/check.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | _ => todo!(), [INFO] [stdout] | ^ [INFO] [stdout] | [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.33s [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: the item `NumberBase` is imported redundantly [INFO] [stdout] --> src/lexer/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::token::NumberBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `NumberBase` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] | ^ [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [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; 2 warnings 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; 2 warnings 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" "2467eaf3cd25241ccffe1f1f46b63c18c4ddb003b061d9df1529af7aece27891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2467eaf3cd25241ccffe1f1f46b63c18c4ddb003b061d9df1529af7aece27891", kill_on_drop: false }` [INFO] [stdout] 2467eaf3cd25241ccffe1f1f46b63c18c4ddb003b061d9df1529af7aece27891