[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 master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVerdex%2Fcase" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Verdex/case on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://www.github.com/verdex/renounce` [INFO] [stderr] Updating git repository `https://www.github.com/verdex/intra` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9898adcd1b7f089e5ab256cbc6e2f148b5eaf8699c204d2aeffb0d78977a5e3 [INFO] running `Command { std: "docker" "start" "-a" "f9898adcd1b7f089e5ab256cbc6e2f148b5eaf8699c204d2aeffb0d78977a5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9898adcd1b7f089e5ab256cbc6e2f148b5eaf8699c204d2aeffb0d78977a5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9898adcd1b7f089e5ab256cbc6e2f148b5eaf8699c204d2aeffb0d78977a5e3", kill_on_drop: false }` [INFO] [stdout] f9898adcd1b7f089e5ab256cbc6e2f148b5eaf8699c204d2aeffb0d78977a5e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5919cb3e96c8ae23b67f2d5161686f5c2818d08b0b1e8982ecfa9a90cab7659 [INFO] running `Command { std: "docker" "start" "-a" "f5919cb3e96c8ae23b67f2d5161686f5c2818d08b0b1e8982ecfa9a90cab7659", 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] 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: unused variable: `input` [INFO] [stdout] --> src/parsing/pattern_parser.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn stub_parse_expr<'a>(input : &mut (impl Iterator + Clone)) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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] [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 `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct FnDef { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [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 `l_start` and `l_end` are never read [INFO] [stdout] --> src/data.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | Call { fn_expr : Box, params : Vec, l_start : usize, l_end : usize }, [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:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | Float { value: f64, l_start : usize, l_end : usize }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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 `value`, `l_start`, and `l_end` are never read [INFO] [stdout] --> src/data.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | Symbol { value : String, l_start : usize, l_end : usize }, [INFO] [stdout] | ------ ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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 `value`, `l_start`, and `l_end` are never read [INFO] [stdout] --> src/data.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | UnboundVariable { value : String, l_start : usize, l_end : usize }, [INFO] [stdout] | --------------- ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | Tuple { params : Vec, l_start : usize, l_end : usize }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Pat` 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "f5919cb3e96c8ae23b67f2d5161686f5c2818d08b0b1e8982ecfa9a90cab7659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5919cb3e96c8ae23b67f2d5161686f5c2818d08b0b1e8982ecfa9a90cab7659", kill_on_drop: false }` [INFO] [stdout] f5919cb3e96c8ae23b67f2d5161686f5c2818d08b0b1e8982ecfa9a90cab7659