[INFO] cloning repository https://github.com/JonathanWoollett-Light/language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonathanWoollett-Light/language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Flanguage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Flanguage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72a21adc8f9a8382724a224b739d484ebd38ee63 [INFO] checking JonathanWoollett-Light/language against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathanWoollett-Light%2Flanguage" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JonathanWoollett-Light/language [INFO] finished tweaking git repo https://github.com/JonathanWoollett-Light/language [INFO] tweaked toml for git repo https://github.com/JonathanWoollett-Light/language written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JonathanWoollett-Light/language on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JonathanWoollett-Light/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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13c39a500bdba2aa7453a9868ee4117621ec8d195c3d945efa32468419d90bf8 [INFO] running `Command { std: "docker" "start" "-a" "13c39a500bdba2aa7453a9868ee4117621ec8d195c3d945efa32468419d90bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13c39a500bdba2aa7453a9868ee4117621ec8d195c3d945efa32468419d90bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c39a500bdba2aa7453a9868ee4117621ec8d195c3d945efa32468419d90bf8", kill_on_drop: false }` [INFO] [stdout] 13c39a500bdba2aa7453a9868ee4117621ec8d195c3d945efa32468419d90bf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be795af41c16ab0927339523f208623608169e699e92258425795e6c21808fc1 [INFO] running `Command { std: "docker" "start" "-a" "be795af41c16ab0927339523f208623608169e699e92258425795e6c21808fc1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ast.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | && let Ok(register) = Register::try_from(identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/macros.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(macro_slice) = bytes.get(i..n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/macros.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(slice) = bytes.get(i..=key.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parsing.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let line = if let Some((lhs, rhs)) = chars.split_at_checked(3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/ast.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | && let Ok(register) = Register::try_from(identifier) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/macros.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(macro_slice) = bytes.get(i..n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/macros.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(slice) = bytes.get(i..=key.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/parsing.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let line = if let Some((lhs, rhs)) = chars.split_at_checked(3) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `false` [INFO] [stdout] --> src/main.rs:778:7 [INFO] [stdout] | [INFO] [stdout] 778 | #[cfg(feature = "false")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `r#false` as a feature in `Cargo.toml` [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 import: `std::iter::once` [INFO] [stdout] --> src/inlining.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::once; [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::alloc::dealloc` [INFO] [stdout] --> src/optimization.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::dealloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/optimization.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `false` [INFO] [stdout] --> src/main.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | #[cfg(feature = "false")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `r#false` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `false` [INFO] [stdout] --> src/main.rs:461:11 [INFO] [stdout] | [INFO] [stdout] 461 | #[cfg(feature = "false")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `r#false` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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 `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `split_at_checked` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(split_at_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `array_chunks` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `false` [INFO] [stdout] --> src/main.rs:778:7 [INFO] [stdout] | [INFO] [stdout] 778 | #[cfg(feature = "false")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `r#false` as a feature in `Cargo.toml` [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 import: `std::iter::once` [INFO] [stdout] --> src/inlining.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::once; [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::alloc::dealloc` [INFO] [stdout] --> src/optimization.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::alloc::dealloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/optimization.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::Layout; [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:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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 `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `split_at_checked` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(split_at_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `array_chunks` [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(array_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Register: TryFrom<&[char]>` is not satisfied [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[char]>` is not implemented for `Register` [INFO] [stdout] --> src/ast.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Register { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `Register` implements `TryFrom<&[u8]>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Identifier>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Variable>` [INFO] [stdout] = note: required for `&[char]` to implement `Into` [INFO] [stdout] = note: required for `Register` to implement `TryFrom<&[char]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Register: TryFrom<&[char]>` is not satisfied [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[char]>` is not implemented for `Register` [INFO] [stdout] --> src/ast.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Register { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `Register` implements `TryFrom<&[u8]>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Identifier>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Variable>` [INFO] [stdout] = note: required for `&[char]` to implement `Into` [INFO] [stdout] = note: required for `Register` to implement `TryFrom<&[char]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_from(Identifier(bytes): &Identifier) -> Result { [INFO] [stdout] | ------------------------- expected `Result` because of return type [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, ()>` [INFO] [stdout] found enum `Result<_, Infallible>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | fn try_from(Identifier(bytes): &Identifier) -> Result { [INFO] [stdout] | ------------------------- expected `Result` because of return type [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, ()>` [INFO] [stdout] found enum `Result<_, Infallible>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Register: From<&[char]>` is not satisfied [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[char]>` is not implemented for `Register` [INFO] [stdout] --> src/ast.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Register { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `Register` implements `TryFrom<&[u8]>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Identifier>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Variable>` [INFO] [stdout] = note: required for `&[char]` to implement `Into` [INFO] [stdout] = note: required for `Register` to implement `TryFrom<&[char]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Register: From<&[char]>` is not satisfied [INFO] [stdout] --> src/ast.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::try_from(bytes.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<&[char]>` is not implemented for `Register` [INFO] [stdout] --> src/ast.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Register { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `TryFrom`: [INFO] [stdout] `Register` implements `TryFrom<&[u8]>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Identifier>` [INFO] [stdout] `Register` implements `TryFrom<&ast::Variable>` [INFO] [stdout] = note: required for `&[char]` to implement `Into` [INFO] [stdout] = note: required for `Register` to implement `TryFrom<&[char]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `ast::Variable` does not have a field named `cast` [INFO] [stdout] --> src/ast.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | cast: _, [INFO] [stdout] | ^^^^ struct `ast::Variable` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `ast::Variable` does not have a field named `cast` [INFO] [stdout] --> src/ast.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | cast: _, [INFO] [stdout] | ^^^^ struct `ast::Variable` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cast` on type `&ast::Variable` [INFO] [stdout] --> src/ast.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | self.cast.as_ref().map(|t| format!(": {t}")).unwrap_or(String::new()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `addressing`, `identifier`, `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ast::Variable` has no field named `cast` [INFO] [stdout] --> src/ast.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | cast: None, [INFO] [stdout] | ^^^^ `ast::Variable` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cast` on type `&ast::Variable` [INFO] [stdout] --> src/ast.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | self.cast.as_ref().map(|t| format!(": {t}")).unwrap_or(String::new()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `addressing`, `identifier`, `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ast::Variable` has no field named `cast` [INFO] [stdout] --> src/ast.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | cast: None, [INFO] [stdout] | ^^^^ `ast::Variable` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | Self(Vec::from(b"in")) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/ast.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Identifier(pub Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | Self(Vec::from(b"out")) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/ast.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Identifier(pub Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | Self(Vec::from(b"in")) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/ast.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Identifier(pub Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:406:41 [INFO] [stdout] | [INFO] [stdout] 406 | .field(&std::str::from_utf8(&self.0)) [INFO] [stdout] | ------------------- ^^^^^^^ expected `&[u8]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/str/converts.rs:89:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | Self(Vec::from(b"out")) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: tuple struct defined here [INFO] [stdout] --> src/ast.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Identifier(pub Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:412:45 [INFO] [stdout] | [INFO] [stdout] 412 | write!(f, "{}", std::str::from_utf8(&self.0).unwrap()) [INFO] [stdout] | ------------------- ^^^^^^^ expected `&[u8]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/str/converts.rs:89:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:406:41 [INFO] [stdout] | [INFO] [stdout] 406 | .field(&std::str::from_utf8(&self.0)) [INFO] [stdout] | ------------------- ^^^^^^^ expected `&[u8]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/str/converts.rs:89:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:412:45 [INFO] [stdout] | [INFO] [stdout] 412 | write!(f, "{}", std::str::from_utf8(&self.0).unwrap()) [INFO] [stdout] | ------------------- ^^^^^^^ expected `&[u8]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/str/converts.rs:89:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statement` on type `&ast::AstNode` [INFO] [stdout] --> src/main.rs:334:83 [INFO] [stdout] | [INFO] [stdout] 334 | writeln!(&mut string, "{}{}", " ".repeat(indent), current.as_ref().statement).unwrap(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `line`, `preceding`, `child`, `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statement` on type `&ast::AstNode` [INFO] [stdout] --> src/main.rs:334:83 [INFO] [stdout] | [INFO] [stdout] 334 | writeln!(&mut string, "{}{}", " ".repeat(indent), current.as_ref().statement).unwrap(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `line`, `preceding`, `child`, `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statement` on type `&ast::AstNode` [INFO] [stdout] --> src/main.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | current.as_ref().statement [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `line`, `preceding`, `child`, `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statement` on type `&ast::AstNode` [INFO] [stdout] --> src/main.rs:358:34 [INFO] [stdout] | [INFO] [stdout] 358 | current.as_ref().statement [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `line`, `preceding`, `child`, `next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/parsing.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn parse_value(chars: &[char]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/parsing.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn parse_value(chars: &[char]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/inlining.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | let Line::Source(Expression { lhs, rhs, op, .. }) = &mut current_mut.line else { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/inlining.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | let Line::Source(Expression { lhs, rhs, op, .. }) = &mut current_mut.line else { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/optimization.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe fn prex_optimization(root: NonNull) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/optimization.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub unsafe fn prex_optimization(root: NonNull) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inlined` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let inlined = unsafe { inlining::inline_functions(nodes) }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inlined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inlined` [INFO] [stdout] --> src/main.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let inlined = unsafe { inlining::inline_functions(nodes) }; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inlined` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0026, E0277, E0308, E0560, E0609, E0635. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0026, E0277, E0308, E0560, E0609, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0026`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0026`. [INFO] [stdout] [INFO] [stderr] error: could not compile `language` (bin "language") due to 17 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `language` (bin "language" test) due to 17 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be795af41c16ab0927339523f208623608169e699e92258425795e6c21808fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be795af41c16ab0927339523f208623608169e699e92258425795e6c21808fc1", kill_on_drop: false }` [INFO] [stdout] be795af41c16ab0927339523f208623608169e699e92258425795e6c21808fc1