[INFO] cloning repository https://github.com/abdul061/RELO-Programming-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abdul061/RELO-Programming-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdul061%2FRELO-Programming-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdul061%2FRELO-Programming-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df572aa15f8a30fbd834c62ad0c54af4a2f46fee [INFO] checking abdul061/RELO-Programming-language/df572aa15f8a30fbd834c62ad0c54af4a2f46fee against master#b52edc25bfbaa955b4b83c10f998e5224c3478b2 for pr-156776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdul061%2FRELO-Programming-language" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/abdul061/RELO-Programming-language [INFO] finished tweaking git repo https://github.com/abdul061/RELO-Programming-language [INFO] tweaked toml for git repo https://github.com/abdul061/RELO-Programming-language written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abdul061/RELO-Programming-language on toolchain b52edc25bfbaa955b4b83c10f998e5224c3478b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abdul061/RELO-Programming-language 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" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded thiserror-impl v1.0.56 [INFO] [stderr] Downloaded thiserror v1.0.56 [INFO] [stderr] Downloaded tracing-error v0.2.0 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded windows-targets v0.52.0 [INFO] [stderr] Downloaded valuable v0.1.0 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded console v0.15.8 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded serde_derive v1.0.196 [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded once_cell v1.19.0 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded similar v2.4.0 [INFO] [stderr] Downloaded addr2line v0.21.0 [INFO] [stderr] Downloaded tracing-core v0.1.32 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded serde v1.0.196 [INFO] [stderr] Downloaded tracing v0.1.40 [INFO] [stderr] Downloaded memchr v2.7.1 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded gimli v0.28.1 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.0 [INFO] [stderr] Downloaded insta v1.34.0 [INFO] [stderr] Downloaded color-eyre v0.6.2 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96cbbc4260a80d357edbeef8457b22eb28043be5859a9d621e51651c920789a9 [INFO] running `Command { std: "docker" "start" "-a" "96cbbc4260a80d357edbeef8457b22eb28043be5859a9d621e51651c920789a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96cbbc4260a80d357edbeef8457b22eb28043be5859a9d621e51651c920789a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cbbc4260a80d357edbeef8457b22eb28043be5859a9d621e51651c920789a9", kill_on_drop: false }` [INFO] [stdout] 96cbbc4260a80d357edbeef8457b22eb28043be5859a9d621e51651c920789a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b52edc25bfbaa955b4b83c10f998e5224c3478b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e013c56083d08b417f12608b40948389beefbee97f1707a0601ee9f0a3969a [INFO] running `Command { std: "docker" "start" "-a" "06e013c56083d08b417f12608b40948389beefbee97f1707a0601ee9f0a3969a", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking relo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(inline_const_pat)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.88.0; see for more information [INFO] [stdout] = note: removed due to implementation concerns as it requires significant refactorings [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(inline_const_pat)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.88.0; see for more information [INFO] [stdout] = note: removed due to implementation concerns as it requires significant refactorings [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | ... if let Instruction::Jump(offset) = instr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let CompilerValue::Function(func) = val [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | ... if let Instruction::Jump(offset) = instr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | while let Some(local) = locals_iter.next() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if let CompilerValue::Function(func) = val [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/compiler.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | while let Some(local) = locals_iter.next() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/interpreter.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | while let Value::Bool(val) = condition.visit(self)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/interpreter.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | while let Value::Bool(val) = condition.visit(self)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lexer/mod.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | && let Some(' ') = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/lexer/mod.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | && let Some(' ') = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | const { KeyWord::ForRangeStart.as_str() } => KeyWord::ForRangeStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | const { KeyWord::WhileLoop.as_str() } => KeyWord::WhileLoop.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | const { KeyWord::ElseCond.as_str() } => KeyWord::ElseCond.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | const { KeyWord::IfCond.as_str() } => KeyWord::IfCond.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | const { KeyWord::FuncReturn.as_str() } => KeyWord::FuncReturn.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | const { KeyWord::Print.as_str() } => KeyWord::Print.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | const { KeyWord::ProgramStart.as_str() } => KeyWord::ProgramStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | const { KeyWord::StartDeclare.as_str() } => KeyWord::StartDeclare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | const { KeyWord::ForRangeEnd.as_str() } => KeyWord::ForRangeEnd.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | const { KeyWord::EndFunc.as_str() } => KeyWord::EndFunc.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | const { KeyWord::Assign.as_str() } => KeyWord::Assign.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | const { KeyWord::Declare.as_str() } => KeyWord::Declare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | const { KeyWord::FuncCall.as_str() } => KeyWord::FuncCall.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | const { KeyWord::EndBlock.as_str() } => KeyWord::EndBlock.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | const { KeyWord::ForStart.as_str() } => KeyWord::ForStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | const { KeyWord::BreakLoop.as_str() } => KeyWord::BreakLoop.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | const { KeyWord::ProgramEnd.as_str() } => KeyWord::ProgramEnd.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | const { KeyWord::FuncDeclare.as_str() } => KeyWord::FuncDeclare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | const { KeyWord::ForRangeStart.as_str() } => KeyWord::ForRangeStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | const { KeyWord::WhileLoop.as_str() } => KeyWord::WhileLoop.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | const { KeyWord::ElseCond.as_str() } => KeyWord::ElseCond.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | const { KeyWord::IfCond.as_str() } => KeyWord::IfCond.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | const { KeyWord::FuncReturn.as_str() } => KeyWord::FuncReturn.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:282:19 [INFO] [stdout] | [INFO] [stdout] 282 | const { KeyWord::Print.as_str() } => KeyWord::Print.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | const { KeyWord::ProgramStart.as_str() } => KeyWord::ProgramStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | const { KeyWord::StartDeclare.as_str() } => KeyWord::StartDeclare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | const { KeyWord::ForRangeEnd.as_str() } => KeyWord::ForRangeEnd.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | const { KeyWord::EndFunc.as_str() } => KeyWord::EndFunc.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | const { KeyWord::Assign.as_str() } => KeyWord::Assign.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | const { KeyWord::Declare.as_str() } => KeyWord::Declare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | const { KeyWord::FuncCall.as_str() } => KeyWord::FuncCall.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | const { KeyWord::EndBlock.as_str() } => KeyWord::EndBlock.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | const { KeyWord::ForStart.as_str() } => KeyWord::ForStart.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | const { KeyWord::BreakLoop.as_str() } => KeyWord::BreakLoop.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | const { KeyWord::ProgramEnd.as_str() } => KeyWord::ProgramEnd.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const blocks cannot be used as patterns [INFO] [stdout] --> src/lexer/mod.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | const { KeyWord::FuncDeclare.as_str() } => KeyWord::FuncDeclare.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use a named `const`-item or an `if`-guard (`x if x == const { ... }`) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 313 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 313 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:409:31 [INFO] [stdout] | [INFO] [stdout] 409 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:409:31 [INFO] [stdout] | [INFO] [stdout] 409 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parser.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | while let Some(token) = self.peek() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compiler.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compiler.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | count += 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relo` (bin "relo") due to 29 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `relo` (bin "relo" test) due to 29 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06e013c56083d08b417f12608b40948389beefbee97f1707a0601ee9f0a3969a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e013c56083d08b417f12608b40948389beefbee97f1707a0601ee9f0a3969a", kill_on_drop: false }` [INFO] [stdout] 06e013c56083d08b417f12608b40948389beefbee97f1707a0601ee9f0a3969a