[INFO] cloning repository https://github.com/Mvmo/mcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mvmo/mcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMvmo%2Fmcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMvmo%2Fmcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ad855e602fdb7b742b7fad8ebc028ecb3d2eab0 [INFO] checking Mvmo/mcc against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMvmo%2Fmcc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mvmo/mcc [INFO] finished tweaking git repo https://github.com/Mvmo/mcc [INFO] tweaked toml for git repo https://github.com/Mvmo/mcc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mvmo/mcc on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mvmo/mcc 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 500911ea0643fa959aeed6525b02e30a0d8ff18b241fae81038741b2246c8d61 [INFO] running `Command { std: "docker" "start" "-a" "500911ea0643fa959aeed6525b02e30a0d8ff18b241fae81038741b2246c8d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "500911ea0643fa959aeed6525b02e30a0d8ff18b241fae81038741b2246c8d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500911ea0643fa959aeed6525b02e30a0d8ff18b241fae81038741b2246c8d61", kill_on_drop: false }` [INFO] [stdout] 500911ea0643fa959aeed6525b02e30a0d8ff18b241fae81038741b2246c8d61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa675839e15dcf2db24cfb2c215a9f8cb883d0a792b88a53f697126753f5229d [INFO] running `Command { std: "docker" "start" "-a" "aa675839e15dcf2db24cfb2c215a9f8cb883d0a792b88a53f697126753f5229d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking mcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Parser, command, arg}; [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 imports: `arg` and `command` [INFO] [stdout] --> src/main.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Parser, command, arg}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/assembler.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .args(vec![ [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | &source.to_string_lossy(), [INFO] [stdout] 25 | | "-o" , [INFO] [stdout] 26 | | &source.with_extension("").to_string_lossy(), [INFO] [stdout] 27 | | ]) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[&Cow<'_, str>; _]`, found `[&str; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[&Cow<'_, str>; _]` [INFO] [stdout] found array `[&str; 3]` [INFO] [stdout] help: the return type of this call is `[&str; 3]` due to the type of the argument passed [INFO] [stdout] --> src/assembler.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .args(vec![ [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | &source.to_string_lossy(), [INFO] [stdout] 25 | | "-o" , [INFO] [stdout] 26 | | &source.with_extension("").to_string_lossy(), [INFO] [stdout] 27 | | ]) [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/assembler.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .args(vec![ [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | &source.to_string_lossy(), [INFO] [stdout] 25 | | "-o" , [INFO] [stdout] 26 | | &source.with_extension("").to_string_lossy(), [INFO] [stdout] 27 | | ]) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[&Cow<'_, str>; _]`, found `[&str; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[&Cow<'_, str>; _]` [INFO] [stdout] found array `[&str; 3]` [INFO] [stdout] help: the return type of this call is `[&str; 3]` due to the type of the argument passed [INFO] [stdout] --> src/assembler.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .args(vec![ [INFO] [stdout] | _______________^ [INFO] [stdout] 24 | | &source.to_string_lossy(), [INFO] [stdout] 25 | | "-o" , [INFO] [stdout] 26 | | &source.with_extension("").to_string_lossy(), [INFO] [stdout] 27 | | ]) [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tacco_ir.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn transform(program: Program) -> TaccoProgram { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `declaration` [INFO] [stdout] --> src/tacco_ir.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn emit_declaration(declaration: &Declaration, into: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `into` [INFO] [stdout] --> src/tacco_ir.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | fn emit_declaration(declaration: &Declaration, into: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/tacco_ir.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | ForInitializer::Declaration(decl) => todo!(), // emit_declaration(&decl, into), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] 287 | Expression::Const(int_value) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 290 | / Expression::Unary { [INFO] [stdout] 291 | | operator: op @ UnaryOperator::Increment { postfix } [INFO] [stdout] 292 | | | op @ UnaryOperator::Decrement { postfix }, [INFO] [stdout] 293 | | inner_expression [INFO] [stdout] 294 | | } => { [INFO] [stdout] | |_________^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 347 | Expression::Unary { operator, inner_expression } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 359 | Expression::Binary { operator: BinaryOperator::LogicalAnd, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 392 | Expression::Binary { operator: BinaryOperator::LogicalOr, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 425 | Expression::Binary { operator, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 438 | Expression::Var(identifier) => return TaccoVal::Var(identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 439 | Expression::Assignment(assignment_operator, left, right) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 458 | Expression::Conditional { condition, if_true, _else } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tacco_ir.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn transform(program: Program) -> TaccoProgram { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `declaration` [INFO] [stdout] --> src/tacco_ir.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn emit_declaration(declaration: &Declaration, into: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `into` [INFO] [stdout] --> src/tacco_ir.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | fn emit_declaration(declaration: &Declaration, into: &mut Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decl` [INFO] [stdout] --> src/tacco_ir.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | ForInitializer::Declaration(decl) => todo!(), // emit_declaration(&decl, into), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] 287 | Expression::Const(int_value) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 290 | / Expression::Unary { [INFO] [stdout] 291 | | operator: op @ UnaryOperator::Increment { postfix } [INFO] [stdout] 292 | | | op @ UnaryOperator::Decrement { postfix }, [INFO] [stdout] 293 | | inner_expression [INFO] [stdout] 294 | | } => { [INFO] [stdout] | |_________^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 347 | Expression::Unary { operator, inner_expression } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 359 | Expression::Binary { operator: BinaryOperator::LogicalAnd, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 392 | Expression::Binary { operator: BinaryOperator::LogicalOr, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 425 | Expression::Binary { operator, left, right } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 438 | Expression::Var(identifier) => return TaccoVal::Var(identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 439 | Expression::Assignment(assignment_operator, left, right) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tacco_ir.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => todo!(), [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 458 | Expression::Conditional { condition, if_true, _else } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_linkage` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ... from_current_scope, has_linkage)| { *from_current_scope }) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inside_fun` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:25:133 [INFO] [stdout] | [INFO] [stdout] 25 | ...String, bool, bool)>, inside_fun: &mut bool) -> VariableDeclaration { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inside_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `translated_name` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (translated_name, from_current_scope, has_linkage) = identifier_map.get(&decl.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_translated_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inside_fun` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:155:141 [INFO] [stdout] | [INFO] [stdout] 155 | ...String, bool, bool)>, inside_fun: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inside_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_linkage` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ... from_current_scope, has_linkage)| { *from_current_scope }) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inside_fun` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:25:133 [INFO] [stdout] | [INFO] [stdout] 25 | ...String, bool, bool)>, inside_fun: &mut bool) -> VariableDeclaration { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inside_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `translated_name` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (translated_name, from_current_scope, has_linkage) = identifier_map.get(&decl.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_translated_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inside_fun` [INFO] [stdout] --> src/semantics/identifier_resolution.rs:155:141 [INFO] [stdout] | [INFO] [stdout] 155 | ...String, bool, bool)>, inside_fun: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inside_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcc` (bin "mcc") due to 1 previous error; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mcc` (bin "mcc" test) due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aa675839e15dcf2db24cfb2c215a9f8cb883d0a792b88a53f697126753f5229d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa675839e15dcf2db24cfb2c215a9f8cb883d0a792b88a53f697126753f5229d", kill_on_drop: false }` [INFO] [stdout] aa675839e15dcf2db24cfb2c215a9f8cb883d0a792b88a53f697126753f5229d