[INFO] cloning repository https://github.com/BoxyUwU/Box2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BoxyUwU/Box2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ef62279b5d7ce60e0aac59cca93b3c7b60f2792 [INFO] checking BoxyUwU/Box2 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoxyUwU%2FBox2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BoxyUwU/Box2 [INFO] finished tweaking git repo https://github.com/BoxyUwU/Box2 [INFO] tweaked toml for git repo https://github.com/BoxyUwU/Box2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BoxyUwU/Box2 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BoxyUwU/Box2 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f9f5cc039f53cfe231488e96ac5178ca66dc2cdce1d25697076e5610c85970f [INFO] running `Command { std: "docker" "start" "-a" "3f9f5cc039f53cfe231488e96ac5178ca66dc2cdce1d25697076e5610c85970f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f9f5cc039f53cfe231488e96ac5178ca66dc2cdce1d25697076e5610c85970f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9f5cc039f53cfe231488e96ac5178ca66dc2cdce1d25697076e5610c85970f", kill_on_drop: false }` [INFO] [stdout] 3f9f5cc039f53cfe231488e96ac5178ca66dc2cdce1d25697076e5610c85970f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f23defbdf9a882e7b4c5fae3209237167132fd98c186dfbf0645530343d7b4 [INFO] running `Command { std: "docker" "start" "-a" "78f23defbdf9a882e7b4c5fae3209237167132fd98c186dfbf0645530343d7b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking prettydiff v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking box v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> compiler/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `cell::RefCell` [INFO] [stdout] --> compiler/src/typeck2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Clause` [INFO] [stdout] --> compiler/src/typeck2.rs:10:61 [INFO] [stdout] | [INFO] [stdout] 10 | Binder, BodySource, BoundVar, BoundVarKind, Bounds, Clause, DebruijnIndex, FnCall, InferId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> compiler/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `cell::RefCell` [INFO] [stdout] --> compiler/src/typeck2.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Clause` [INFO] [stdout] --> compiler/src/typeck2.rs:10:61 [INFO] [stdout] | [INFO] [stdout] 10 | Binder, BodySource, BoundVar, BoundVarKind, Bounds, Clause, DebruijnIndex, FnCall, InferId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:470:44 [INFO] [stdout] | [INFO] [stdout] 470 | .unwrap_or_else(|| builder.ty_infer(todo!())); [INFO] [stdout] | ^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> compiler/src/tir/building.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 493 | let args: EarlyBinder> = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 494 | let resolutions = builder.resolutions(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> compiler/src/tir/building.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | let path = Term::Path(tir::Path { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 507 | | res: Res::Def(DefKind::Func, tir_id), [INFO] [stdout] 508 | | segs: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 509 | | }); [INFO] [stdout] | |_____________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:595:29 [INFO] [stdout] | [INFO] [stdout] 595 | true => builder.ty_infer(todo!()), [INFO] [stdout] | ^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:597:29 [INFO] [stdout] | [INFO] [stdout] 597 | builder.err(diag_infer_var_in_signature(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:756:29 [INFO] [stdout] | [INFO] [stdout] 756 | tir.err(diag_non_alias_in_alias_eq_bound(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:470:44 [INFO] [stdout] | [INFO] [stdout] 470 | .unwrap_or_else(|| builder.ty_infer(todo!())); [INFO] [stdout] | ^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> compiler/src/tir/building.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 493 | let args: EarlyBinder> = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 494 | let resolutions = builder.resolutions(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> compiler/src/tir/building.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | let path = Term::Path(tir::Path { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 507 | | res: Res::Def(DefKind::Func, tir_id), [INFO] [stdout] 508 | | segs: todo!(), [INFO] [stdout] | | ------- any code following this expression is unreachable [INFO] [stdout] 509 | | }); [INFO] [stdout] | |_____________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:595:29 [INFO] [stdout] | [INFO] [stdout] 595 | true => builder.ty_infer(todo!()), [INFO] [stdout] | ^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:597:29 [INFO] [stdout] | [INFO] [stdout] 597 | builder.err(diag_infer_var_in_signature(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> compiler/src/tir/building.rs:756:29 [INFO] [stdout] | [INFO] [stdout] 756 | tir.err(diag_non_alias_in_alias_eq_bound(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expr_to_term` found for mutable reference `&mut Lowerer<'_, '_>` in the current scope [INFO] [stdout] --> compiler/src/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let term = self.expr_to_term(func.body.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `node_to_term` with a similar name [INFO] [stdout] | [INFO] [stdout] 117 - let term = self.expr_to_term(func.body.unwrap()); [INFO] [stdout] 117 + let term = self.node_to_term(func.body.unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expr_to_term` found for mutable reference `&mut Lowerer<'_, '_>` in the current scope [INFO] [stdout] --> compiler/src/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let term = self.expr_to_term(func.body.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `node_to_term` with a similar name [INFO] [stdout] | [INFO] [stdout] 117 - let term = self.expr_to_term(func.body.unwrap()); [INFO] [stdout] 117 + let term = self.node_to_term(func.body.unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn reset_in_scope_binders_in(&mut self, f: impl FnOnce(&mut Self) -> T) -> T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> compiler/src/tir/building.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | item: TirId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | f: impl FnOnce(&mut Self, &'t Generics<'t>) -> T, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn reset_in_scope_binders_in(&mut self, f: impl FnOnce(&mut Self) -> T) -> T { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> compiler/src/tir/building.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | item: TirId, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | f: impl FnOnce(&mut Self, &'t Generics<'t>) -> T, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> compiler/src/tir/building.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | ast::TermKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> compiler/src/tir/building.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let args: EarlyBinder> = todo!(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> compiler/src/tir/building.rs:590:30 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/tir/building.rs:590:38 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1` [INFO] [stdout] --> compiler/src/tir/building.rs:590:44 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:590:51 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> compiler/src/tir/building.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/tir/building.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> compiler/src/tir/building.rs:592:28 [INFO] [stdout] | [INFO] [stdout] 592 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:592:37 [INFO] [stdout] | [INFO] [stdout] 592 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_init` [INFO] [stdout] --> compiler/src/tir/building.rs:593:34 [INFO] [stdout] | [INFO] [stdout] 593 | ast::TermKind::FieldInit(field_init) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/tir/building.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | tir: &mut R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binder` [INFO] [stdout] --> compiler/src/tir/building.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | binder: ast::Binder<'_, T>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:740:5 [INFO] [stdout] | [INFO] [stdout] 740 | f: impl FnOnce(&mut R, T) -> Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcx` [INFO] [stdout] --> compiler/src/tir.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn dummy(tcx: &'t TirCtx<'t>, value: T) -> Binder<'t, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> compiler/src/tir/building.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | ast::TermKind::Path(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> compiler/src/tir/building.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let args: EarlyBinder> = todo!(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> compiler/src/tir/building.rs:590:30 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/tir/building.rs:590:38 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1` [INFO] [stdout] --> compiler/src/tir/building.rs:590:44 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:590:51 [INFO] [stdout] | [INFO] [stdout] 590 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> compiler/src/tir/building.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/tir/building.rs:591:36 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> compiler/src/tir/building.rs:592:28 [INFO] [stdout] | [INFO] [stdout] 592 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/tir/building.rs:592:37 [INFO] [stdout] | [INFO] [stdout] 592 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_init` [INFO] [stdout] --> compiler/src/tir/building.rs:593:34 [INFO] [stdout] | [INFO] [stdout] 593 | ast::TermKind::FieldInit(field_init) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/tir/building.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | tir: &mut R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binder` [INFO] [stdout] --> compiler/src/tir/building.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | binder: ast::Binder<'_, T>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> compiler/src/tir/building.rs:740:5 [INFO] [stdout] | [INFO] [stdout] 740 | f: impl FnOnce(&mut R, T) -> Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/typeck2.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tir: &'t TirCtx<'t>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_owner` [INFO] [stdout] --> compiler/src/typeck2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | body_owner: tir::Fn, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_node` [INFO] [stdout] --> compiler/src/typeck2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let root_node = ast.get(body_source.term); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> compiler/src/typeck2.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/typeck2.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1` [INFO] [stdout] --> compiler/src/typeck2.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:169:55 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> compiler/src/typeck2.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/typeck2.rs:170:40 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> compiler/src/typeck2.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 171 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_init` [INFO] [stdout] --> compiler/src/typeck2.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | ast::TermKind::FieldInit(field_init) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/main.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | let (tir, ref body_sources, tir_ctx, lowered_ids) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_sources` [INFO] [stdout] --> compiler/src/main.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | let (tir, ref body_sources, tir_ctx, lowered_ids) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcx` [INFO] [stdout] --> compiler/src/tir.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn dummy(tcx: &'t TirCtx<'t>, value: T) -> Binder<'t, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tcx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `box` (bin "box" test) due to 1 previous error; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/typeck2.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tir: &'t TirCtx<'t>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_owner` [INFO] [stdout] --> compiler/src/typeck2.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | body_owner: tir::Fn, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_node` [INFO] [stdout] --> compiler/src/typeck2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let root_node = ast.get(body_source.term); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> compiler/src/typeck2.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/typeck2.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1` [INFO] [stdout] --> compiler/src/typeck2.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:169:55 [INFO] [stdout] | [INFO] [stdout] 169 | ast::TermKind::BinOp(bin_op, expr, expr1, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> compiler/src/typeck2.rs:170:33 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> compiler/src/typeck2.rs:170:40 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | ast::TermKind::UnOp(un_op, expr, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> compiler/src/typeck2.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> compiler/src/typeck2.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 171 | ast::TermKind::Lit(literal, span) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_init` [INFO] [stdout] --> compiler/src/typeck2.rs:172:38 [INFO] [stdout] | [INFO] [stdout] 172 | ast::TermKind::FieldInit(field_init) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tir` [INFO] [stdout] --> compiler/src/main.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | let (tir, ref body_sources, tir_ctx, lowered_ids) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_sources` [INFO] [stdout] --> compiler/src/main.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | let (tir, ref body_sources, tir_ctx, lowered_ids) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `box` (bin "box") due to 1 previous error; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78f23defbdf9a882e7b4c5fae3209237167132fd98c186dfbf0645530343d7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f23defbdf9a882e7b4c5fae3209237167132fd98c186dfbf0645530343d7b4", kill_on_drop: false }` [INFO] [stdout] 78f23defbdf9a882e7b4c5fae3209237167132fd98c186dfbf0645530343d7b4