[INFO] cloning repository https://github.com/davawen/bikelang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davawen/bikelang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2Fbikelang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2Fbikelang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e00b865e759d24cda9586b573c8b293f8451a13f [INFO] checking davawen/bikelang against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavawen%2Fbikelang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davawen/bikelang [INFO] finished tweaking git repo https://github.com/davawen/bikelang [INFO] tweaked toml for git repo https://github.com/davawen/bikelang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davawen/bikelang on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davawen/bikelang 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5 [INFO] running `Command { std: "docker" "start" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fmtools v0.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.28 [INFO] [stderr] Checking bikelang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | let Node::FuncDef { name, return_type, parameter_list, box body } = definition.node [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:231:35 [INFO] [stdout] | [INFO] [stdout] 231 | Intrisic::Asm(box x) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(t.addressable()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:290:66 [INFO] [stdout] | [INFO] [stdout] 290 | Node::Expr { op: BinaryOperation::Assignment, ty: _, box lhs, box rhs } => { [INFO] [stdout] | ---------- while parsing the fields for this pattern ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:307:34 [INFO] [stdout] | [INFO] [stdout] 307 | Node::Expr { op, ty, box lhs, box rhs } => { [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Node::Convert(box expr, typename, ty) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | Node::If { box condition, box body, else_body, ty } => { [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(box else_body) = else_body { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:392:26 [INFO] [stdout] | [INFO] [stdout] 392 | Node::Loop { box body } => { [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:397:27 [INFO] [stdout] | [INFO] [stdout] 397 | Node::Return( box expr ) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/format.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | ... Node::Convert(box expr, typename, _) => ( format!("{PURPLE}CONVERT{WHITE} TO {CYAN}{typename:?}{WHITE}"), Some(vec![format!("{... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/format.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Node::Return(box expr, ..) => ( format!("{PURPLE}RETURN"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:91:70 [INFO] [stdout] | [INFO] [stdout] 91 | ast::Node::Expr { op: BinaryOperation::MemberAccess, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:122:71 [INFO] [stdout] | [INFO] [stdout] 122 | ast::Node::Expr { op: BinaryOperation::Assignment, ty: _, box lhs, box rhs } => { [INFO] [stdout] | --------------- while parsing the fields for this pattern ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | ast::Node::UnaryExpr { op, ty, value: box inner } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:169:70 [INFO] [stdout] | [INFO] [stdout] 169 | ast::Node::Expr { op: BinaryOperation::MemberAccess, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:176:39 [INFO] [stdout] | [INFO] [stdout] 176 | ast::Node::Expr { op, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | ast::Node::Convert(box expr, _, ty) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:281:40 [INFO] [stdout] | [INFO] [stdout] 281 | ast::Intrisic::Asm(box str) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | ... Type::Ptr(box Type::UInt8) => Intrisic::PrintString(self.fold_node(ir, app, scopes, node)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | ast::Node::If { box condition, box body, else_body, ty: _ } => { [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | if let Some(box else_body) = else_body { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | ast::Node::Loop { box body } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/typed.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | TypeNode::Ptr(box inner) => Self::from_node(inner, types).map(Self::into_ptr) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | let Node::FuncDef { name, return_type, parameter_list, box body } = definition.node [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:231:35 [INFO] [stdout] | [INFO] [stdout] 231 | Intrisic::Asm(box x) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(t.addressable()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:290:66 [INFO] [stdout] | [INFO] [stdout] 290 | Node::Expr { op: BinaryOperation::Assignment, ty: _, box lhs, box rhs } => { [INFO] [stdout] | ---------- while parsing the fields for this pattern ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:307:34 [INFO] [stdout] | [INFO] [stdout] 307 | Node::Expr { op, ty, box lhs, box rhs } => { [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | Node::Convert(box expr, typename, ty) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | Node::If { box condition, box body, else_body, ty } => { [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | if let Some(box else_body) = else_body { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:392:26 [INFO] [stdout] | [INFO] [stdout] 392 | Node::Loop { box body } => { [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/analysis.rs:397:27 [INFO] [stdout] | [INFO] [stdout] 397 | Node::Return( box expr ) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/format.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | ... Node::Convert(box expr, typename, _) => ( format!("{PURPLE}CONVERT{WHITE} TO {CYAN}{typename:?}{WHITE}"), Some(vec![format!("{... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ast/format.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | Node::Return(box expr, ..) => ( format!("{PURPLE}RETURN"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:91:70 [INFO] [stdout] | [INFO] [stdout] 91 | ast::Node::Expr { op: BinaryOperation::MemberAccess, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:122:71 [INFO] [stdout] | [INFO] [stdout] 122 | ast::Node::Expr { op: BinaryOperation::Assignment, ty: _, box lhs, box rhs } => { [INFO] [stdout] | --------------- while parsing the fields for this pattern ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | ast::Node::UnaryExpr { op, ty, value: box inner } => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:169:70 [INFO] [stdout] | [INFO] [stdout] 169 | ast::Node::Expr { op: BinaryOperation::MemberAccess, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:176:39 [INFO] [stdout] | [INFO] [stdout] 176 | ast::Node::Expr { op, ty, box lhs, box rhs } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | ast::Node::Convert(box expr, _, ty) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:281:40 [INFO] [stdout] | [INFO] [stdout] 281 | ast::Intrisic::Asm(box str) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | ... Type::Ptr(box Type::UInt8) => Intrisic::PrintString(self.fold_node(ir, app, scopes, node)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | ast::Node::If { box condition, box body, else_body, ty: _ } => { [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | if let Some(box else_body) = else_body { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/ir/generate.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | ast::Node::Loop { box body } => { [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | while parsing the fields for this pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/typed.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | TypeNode::Ptr(box inner) => Self::from_node(inner, types).map(Self::into_ptr) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:232:37 [INFO] [stdout] | [INFO] [stdout] 232 | if matches!(x.node, Node::StringLiteral(_)).not() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:233:102 [INFO] [stdout] | [INFO] [stdout] 233 | ... return Err(AnalysisError::WrongNodeType("a compile-time string literal", x.node.clone())) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 234 | ... .at_ast(x); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/ast/analysis.rs:278:48 [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(t.addressable()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(ty.addressable()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | let expr_type = expr.set_type(app, definition, scopes, Some(ty))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | let out = expr.set_type(app, definition, scopes, Some(&definition.return_type))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | ).at_ast(expr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/format.rs:22:139 [INFO] [stdout] | [INFO] [stdout] 22 | ... {CYAN}{typename:?}{WHITE}"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/format.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 23 | Node::Return(box expr, ..) => ( format!("{PURPLE}RETURN"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/ir/generate.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | let ast::Node::Identifier(name, _ty) = inner.node [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/ir/generate.rs:151:65 [INFO] [stdout] | [INFO] [stdout] 151 | value = self.fold_node(ir, app, scopes, inner); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:232:37 [INFO] [stdout] | [INFO] [stdout] 232 | if matches!(x.node, Node::StringLiteral(_)).not() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:233:102 [INFO] [stdout] | [INFO] [stdout] 233 | ... return Err(AnalysisError::WrongNodeType("a compile-time string literal", x.node.clone())) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/ast/analysis.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 234 | ... .at_ast(x); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `t` in this scope [INFO] [stdout] --> src/ast/analysis.rs:278:48 [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(t.addressable()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 278 | Type::Ptr(box t) => Ok(ty.addressable()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ir/generate.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | let inner_type = expr.get_type(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ir/generate.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | let inner = self.fold_node(ir, app, scopes, expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `str` [INFO] [stdout] --> src/ir/generate.rs:282:67 [INFO] [stdout] | [INFO] [stdout] 282 | let str = self.fold_node(ir, app, scopes, str); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/typed.rs:105:57 [INFO] [stdout] | [INFO] [stdout] 105 | TypeNode::Ptr(box inner) => Self::from_node(inner, types).map(Self::into_ptr) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:367:33 [INFO] [stdout] | [INFO] [stdout] 367 | let expr_type = expr.set_type(app, definition, scopes, Some(ty))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | let out = expr.set_type(app, definition, scopes, Some(&definition.return_type))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/analysis.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | ).at_ast(expr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/format.rs:22:139 [INFO] [stdout] | [INFO] [stdout] 22 | ... {CYAN}{typename:?}{WHITE}"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ast/format.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 23 | Node::Return(box expr, ..) => ( format!("{PURPLE}RETURN"), Some(vec![format!("{expr}")]) ), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/ir/generate.rs:141:64 [INFO] [stdout] | [INFO] [stdout] 141 | let ast::Node::Identifier(name, _ty) = inner.node [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/ir/generate.rs:151:65 [INFO] [stdout] | [INFO] [stdout] 151 | value = self.fold_node(ir, app, scopes, inner); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ir/generate.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | let inner_type = expr.get_type(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/ir/generate.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | let inner = self.fold_node(ir, app, scopes, expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `str` [INFO] [stdout] --> src/ir/generate.rs:282:67 [INFO] [stdout] | [INFO] [stdout] 282 | let str = self.fold_node(ir, app, scopes, str); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inner` in this scope [INFO] [stdout] --> src/typed.rs:105:57 [INFO] [stdout] | [INFO] [stdout] 105 | TypeNode::Ptr(box inner) => Self::from_node(inner, types).map(Self::into_ptr) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `if_let_guard` has been stable since 1.95.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `if_let_guard` has been stable since 1.95.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, if_let_guard)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast/analysis.rs:352:57 [INFO] [stdout] | [INFO] [stdout] 352 | if let Some(field) = fields.get(field) { [INFO] [stdout] | --- ^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/163937523761cc0def32f1ba9ed63fdf65ad3478/library/std/src/collections/hash/map.rs:1035:11 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 352 | if let Some(field) = fields.get(&field) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast/analysis.rs:352:57 [INFO] [stdout] | [INFO] [stdout] 352 | if let Some(field) = fields.get(field) { [INFO] [stdout] | --- ^^^^^ expected `&_`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/163937523761cc0def32f1ba9ed63fdf65ad3478/library/std/src/collections/hash/map.rs:1035:11 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 352 | if let Some(field) = fields.get(&field) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ir/asm.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn generate_asm(&self, func: &Function) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/ir/asm.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn generate_asm(&self, func: &Function) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bikelang` (bin "bikelang") due to 41 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bikelang` (bin "bikelang" test) due to 41 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5", kill_on_drop: false }` [INFO] [stdout] aa16dbf5cccc074aa9b80e5621b435e6b658f0081c4ad8fb0bb0b09eb01119f5