[INFO] cloning repository https://github.com/Verdex/case [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Verdex/case" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerdex%2Fcase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerdex%2Fcase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13f654725ada306a650e5a926c0d1172c278ab4f [INFO] checking Verdex/case against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerdex%2Fcase" "/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/Verdex/case [INFO] finished tweaking git repo https://github.com/Verdex/case [INFO] tweaked toml for git repo https://github.com/Verdex/case written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Verdex/case on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Verdex/case 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a098fb15526c27db2e99266c4131ecf9ba767767244222bf01434c3e5c7baba [INFO] running `Command { std: "docker" "start" "-a" "2a098fb15526c27db2e99266c4131ecf9ba767767244222bf01434c3e5c7baba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a098fb15526c27db2e99266c4131ecf9ba767767244222bf01434c3e5c7baba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a098fb15526c27db2e99266c4131ecf9ba767767244222bf01434c3e5c7baba", kill_on_drop: false }` [INFO] [stdout] 2a098fb15526c27db2e99266c4131ecf9ba767767244222bf01434c3e5c7baba [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 633d22ecc054eed1dd2eb0914f2159976c4e7a8392eb5455d85159c198b613dd [INFO] running `Command { std: "docker" "start" "-a" "633d22ecc054eed1dd2eb0914f2159976c4e7a8392eb5455d85159c198b613dd", kill_on_drop: false }` [INFO] [stderr] Checking renounce v0.3.0 (https://www.github.com/verdex/renounce?tag=release-0.3.0#a963bf88) [INFO] [stderr] Compiling intra v0.1.0 (https://www.github.com/verdex/intra?tag=release-0.1.0#d3324009) [INFO] [stderr] Checking case v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::pattern_parser::*` [INFO] [stdout] --> src/parsing/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::pattern_parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiling/compiler.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | _ => panic!("!"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiling/compiler.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 8 | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 9 | _ => panic!("!"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compiling/compiler.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | Expr::Var { value, .. } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/data.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | LParen { index : usize }, [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/data.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | RParen { index : usize }, [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/data.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Comma { index : usize }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/data.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | SemiColon { index : usize }, [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/data.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | Float { value : f64, start : usize, end : usize }, [INFO] [stdout] | ----- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/data.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | Symbol { value : String, start : usize, end : usize }, [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/data.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | ColonSymbol { value : String, start : usize, end : usize }, [INFO] [stdout] | ----------- ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lexeme` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `params`, `l_start`, and `l_end` are never read [INFO] [stdout] --> src/data.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 23 | pub name : String, [INFO] [stdout] 24 | pub params : Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub body : Expr, [INFO] [stdout] 26 | pub l_start : usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub l_end : usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | TupleCons { params: Vec, l_start : usize, l_end : usize }, [INFO] [stdout] | --------- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | Float { value : f64, l_start : usize, l_end : usize }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | Symbol { value : String, l_start : usize, l_end : usize }, [INFO] [stdout] | ------ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Var { value : String, l_start : usize, l_end : usize }, [INFO] [stdout] | --- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_expr`, `params`, `l_start`, and `l_end` are never read [INFO] [stdout] --> src/data.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Call { fn_expr : Box, params : Vec, l_start : usize, l_end : usize }, [INFO] [stdout] | ---- ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pat` is never used [INFO] [stdout] --> src/data.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Pat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IlData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - Float(f64), [INFO] [stdout] 49 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | Symbol(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IlData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 - Symbol(String), [INFO] [stdout] 50 + Symbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IlData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - Tuple(Vec), [INFO] [stdout] 52 + Tuple(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Code(Vec), [INFO] [stdout] | ---- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IlData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - Code(Vec), [INFO] [stdout] 55 + Code(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `List` and `Pattern` are never constructed [INFO] [stdout] --> src/data.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum IlData { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | Pattern(IlPat), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IlData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `Symbol`, `UnboundVariable`, and `Tuple` are never constructed [INFO] [stdout] --> src/data.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum IlPat { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 60 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | Symbol(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | UnboundVariable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IlPat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Match` is never constructed [INFO] [stdout] --> src/data.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Il { [INFO] [stdout] | -- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Match, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Il` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ExprParser` is never used [INFO] [stdout] --> src/parsing/pattern_parser.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type ExprParser = fn(&mut T) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pattern` is never used [INFO] [stdout] --> src/parsing/pattern_parser.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | p!( pub parse_pattern input expr_parser { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tuple` is never used [INFO] [stdout] --> src/parsing/pattern_parser.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | p!( parse_tuple input expr_parser { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let mut il = compiling::compiler::compile(ast).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:4:74 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn compile(input : Vec) -> Result, CompileError> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let output = input.into_iter().map(|x| match x { [INFO] [stdout] 7 | | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec>> [INFO] [stdout] --> src/compiling/compiler.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let output = input.into_iter().map(|x| match x { [INFO] [stdout] | __________________^ [INFO] [stdout] 7 | | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] 8 | | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] 9 | | _ => panic!("!"), [INFO] [stdout] 10 | | }).collect::, _>>()?; [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let output = input.into_iter().map(|x| match x { [INFO] [stdout] | __________________^ [INFO] [stdout] 7 | | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] 8 | | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] 9 | | _ => panic!("!"), [INFO] [stdout] 10 | | }).collect::, _>>()?; [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | let output = input.into_iter().map(|x| match x { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 7 | | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] 8 | | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] 9 | | _ => panic!("!"), [INFO] [stdout] 10 | | }).collect::, _>>()?; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let output = input.into_iter().map(|x| match x { [INFO] [stdout] | __________________^ [INFO] [stdout] 7 | | DefOrExpr::Expr(e) => compile_expr(e), [INFO] [stdout] 8 | | DefOrExpr::FnDef(fd) => compile_fn_def(fd), [INFO] [stdout] 9 | | _ => panic!("!"), [INFO] [stdout] 10 | | }).collect::, _>>()?; [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(output.into_iter().flatten().collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | fn compile_fn_def(input : FnDef) -> Result, CompileError> { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 17 | | // TODO need to handle parameters [INFO] [stdout] 18 | | let expr = compile_expr(input.body)?; [INFO] [stdout] 19 | | Ok(vec![ Il::Push(IlData::Code(expr)) [INFO] [stdout] ... | [INFO] [stdout] 22 | | ]) [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/compiling/compiler.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let expr = compile_expr(input.body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let expr = compile_expr(input.body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let expr = compile_expr(input.body)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / Ok(vec![ Il::Push(IlData::Code(expr)) [INFO] [stdout] 20 | | , Il::Push(IlData::String(input.name)) [INFO] [stdout] 21 | | , Il::Def [INFO] [stdout] 22 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:25:64 [INFO] [stdout] | [INFO] [stdout] 25 | fn compile_expr(input : Expr) -> Result, CompileError> { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 26 | | match input { [INFO] [stdout] 27 | | Expr::Var { value, .. } => todo!(), [INFO] [stdout] 28 | | Expr::Float { value, .. } => Ok(vec![Il::Push(IlData::Float(value))]), [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / match input { [INFO] [stdout] 27 | | Expr::Var { value, .. } => todo!(), [INFO] [stdout] 28 | | Expr::Float { value, .. } => Ok(vec![Il::Push(IlData::Float(value))]), [INFO] [stdout] 29 | | Expr::Symbol { value, .. } => Ok(vec![Il::Push(IlData::Symbol(value))]), [INFO] [stdout] ... | [INFO] [stdout] 41 | | }, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | Expr::Float { value, .. } => Ok(vec![Il::Push(IlData::Float(value))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | Expr::Symbol { value, .. } => Ok(vec![Il::Push(IlData::Symbol(value))]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::TupleCons { params, .. } => { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 32 | | let param_count = params.len(); [INFO] [stdout] 33 | | let mut params = params.into_iter() [INFO] [stdout] 34 | | .map(compile_expr) [INFO] [stdout] ... | [INFO] [stdout] 40 | | Ok(params) [INFO] [stdout] 41 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec>> [INFO] [stdout] --> src/compiling/compiler.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let mut params = params.into_iter() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 34 | | .map(compile_expr) [INFO] [stdout] 35 | | .collect::>, _>>()? [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let mut params = params.into_iter() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 34 | | .map(compile_expr) [INFO] [stdout] 35 | | .collect::>, _>>()? [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let mut params = params.into_iter() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 34 | | .map(compile_expr) [INFO] [stdout] 35 | | .collect::>, _>>()? [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, data::CompileError> [INFO] [stdout] --> src/compiling/compiler.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(params) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `case` (bin "case") due to 23 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "633d22ecc054eed1dd2eb0914f2159976c4e7a8392eb5455d85159c198b613dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633d22ecc054eed1dd2eb0914f2159976c4e7a8392eb5455d85159c198b613dd", kill_on_drop: false }` [INFO] [stdout] 633d22ecc054eed1dd2eb0914f2159976c4e7a8392eb5455d85159c198b613dd