[INFO] cloning repository https://github.com/gustavomedeiross/lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gustavomedeiross/lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavomedeiross%2Flang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavomedeiross%2Flang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cb0a31e6c4b05c974822b936153331ac1407c1a [INFO] checking gustavomedeiross/lang against master#19dd9535408db0f1ff3d16613619076aef524d19 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavomedeiross%2Flang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gustavomedeiross/lang on toolchain 19dd9535408db0f1ff3d16613619076aef524d19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/gustavomedeiross/lang [INFO] finished tweaking git repo https://github.com/gustavomedeiross/lang [INFO] tweaked toml for git repo https://github.com/gustavomedeiross/lang written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gustavomedeiross/lang 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" "+19dd9535408db0f1ff3d16613619076aef524d19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.13.0 [INFO] [stderr] Downloaded logos-derive v0.13.0 [INFO] [stderr] Downloaded logos-codegen v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58decc9d62e4a3f46d7e64f9b58294f94fd0b13ebad2734d37a0331d2efafa88 [INFO] running `Command { std: "docker" "start" "-a" "58decc9d62e4a3f46d7e64f9b58294f94fd0b13ebad2734d37a0331d2efafa88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58decc9d62e4a3f46d7e64f9b58294f94fd0b13ebad2734d37a0331d2efafa88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58decc9d62e4a3f46d7e64f9b58294f94fd0b13ebad2734d37a0331d2efafa88", kill_on_drop: false }` [INFO] [stdout] 58decc9d62e4a3f46d7e64f9b58294f94fd0b13ebad2734d37a0331d2efafa88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bab62b4a0d6dfb19dd5e0398bdee0fc89bae8f42d5c16eca4a0f7b8aa0160a5b [INFO] running `Command { std: "docker" "start" "-a" "bab62b4a0d6dfb19dd5e0398bdee0fc89bae8f42d5c16eca4a0f7b8aa0160a5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling lalrpop-util v0.20.0 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Compiling lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Var`, `Lit`, `App`, `Let`, and `Lambda` are never constructed [INFO] [stdout] --> src/ast.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 42 | Var(Id, T), [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | Lit(Literal, T), [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | App(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | Let(Id, T, Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | Lambda(Id, T, Box>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UntypedExpr` is never used [INFO] [stdout] --> src/ast.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub type UntypedExpr = Expr<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TypedExpr` is never used [INFO] [stdout] --> src/ast.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub type TypedExpr = Expr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_type` and `stringify_types` are never used [INFO] [stdout] --> src/ast.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl TypedExpr { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 53 | pub fn get_type(self) -> QualType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn stringify_types(self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(input: &str) -> Result, SyntaxError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse` are never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/lang-b0adc173803803a6/out/grammar.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 495 | impl ExprParser { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 496 | pub fn new() -> ExprParser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn parse< [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simplify` is never used [INFO] [stdout] --> src/simplifier.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn simplify(parsed_expr: ParsedExpr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnboundVariable` and `KindError` are never constructed [INFO] [stdout] --> src/typer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum TypeError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 13 | UnboundVariable(Id), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | KindError(KindError), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeError` 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: struct `Typer` is never constructed [INFO] [stdout] --> src/typer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Typer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/typer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Typer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(prelude: Prelude) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prelude` is never constructed [INFO] [stdout] --> src/typer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Prelude(pub TypeClassEnv); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeClassEnv` is never constructed [INFO] [stdout] --> src/typer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct TypeClassEnv; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TGenState` is never constructed [INFO] [stdout] --> src/typer.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct TGenState(TGen); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initial_state` and `gen_fresh` are never used [INFO] [stdout] --> src/typer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl TGenState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | pub fn initial_state() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn gen_fresh(&mut self, kind: Kind) -> TyVar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraints` is never constructed [INFO] [stdout] --> src/typer.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Constraints(Vec<(QualType, QualType)>); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/typer.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Constraints { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 57 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_check`, `infer`, `infer_lit`, `dont_generalize`, `instantiate`, and `unify` are never used [INFO] [stdout] --> src/typer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Typer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 63 | pub fn type_check(&mut self, expr: UntypedExpr) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn infer(&mut self, expr: UntypedExpr) -> Result<(TypedExpr, Constraints), TypeError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn infer_lit(&mut self, lit: Literal) -> (TypedExpr, Constraints) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn dont_generalize(qual_type: QualType) -> Scheme { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn instantiate(&mut self, scheme: Scheme) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn unify(&mut self, _constraints: Constraints) -> Subst { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KFun` is never constructed [INFO] [stdout] --> src/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 6 | Star, [INFO] [stdout] 7 | KFun(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` 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 `Var`, `Con`, `Arrow`, and `Gen` are never constructed [INFO] [stdout] --> src/types.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 44 | Var(TyVar), [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | Con(TyCon), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Arrow(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | Gen(TGen), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: associated items `initial`, `next`, and `to_tyvar` are never used [INFO] [stdout] --> src/types.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl TGen { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 123 | pub fn initial() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn next(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn to_tyvar(&self, kind: Kind) -> TyVar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/types.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl TyVar { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 140 | pub fn from_int(int: usize, kind: Kind) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ty` is never used [INFO] [stdout] --> src/types.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl QualType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 182 | pub fn ty(self) -> Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `preds` are never used [INFO] [stdout] --> src/types.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Qual { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 197 | pub fn new(preds: Vec, t: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn preds(self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Pred { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 228 | pub fn new(id: Id, ty: Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_char` is never used [INFO] [stdout] --> src/types.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn t_char() -> Type { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_list` is never used [INFO] [stdout] --> src/types.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn t_list() -> Type { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/types.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn list(t: Type) -> Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t_string` is never used [INFO] [stdout] --> src/types.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn t_string() -> Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qual_type` [INFO] [stdout] --> src/typer.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let qual_type = "t0 -> t0".to_owned(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qual_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_class_env` is never read [INFO] [stdout] --> src/typer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Typer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | type_class_env: TypeClassEnv, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gen` is never constructed [INFO] [stdout] --> src/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Gen(TGen), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "bab62b4a0d6dfb19dd5e0398bdee0fc89bae8f42d5c16eca4a0f7b8aa0160a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab62b4a0d6dfb19dd5e0398bdee0fc89bae8f42d5c16eca4a0f7b8aa0160a5b", kill_on_drop: false }` [INFO] [stdout] bab62b4a0d6dfb19dd5e0398bdee0fc89bae8f42d5c16eca4a0f7b8aa0160a5b