[INFO] cloning repository https://github.com/Thesecondbestname/typechecker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thesecondbestname/typechecker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThesecondbestname%2Ftypechecker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThesecondbestname%2Ftypechecker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 238533c57fd55ff7b03b2f3b09eb05f6b433ecb3 [INFO] checking Thesecondbestname/typechecker against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThesecondbestname%2Ftypechecker" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Thesecondbestname/typechecker [INFO] finished tweaking git repo https://github.com/Thesecondbestname/typechecker [INFO] tweaked toml for git repo https://github.com/Thesecondbestname/typechecker written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Thesecondbestname/typechecker on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Thesecondbestname/typechecker 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Thesecondbestname/typechecker against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThesecondbestname%2Ftypechecker" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Thesecondbestname/typechecker [INFO] finished tweaking git repo https://github.com/Thesecondbestname/typechecker [INFO] tweaked toml for git repo https://github.com/Thesecondbestname/typechecker written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Thesecondbestname/typechecker on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Thesecondbestname/typechecker 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0dd493dff88ebf0c8e5c9faf1a694d59136f17cbbba20c14feb0c1b6b2aa6b0 [INFO] running `Command { std: "docker" "start" "-a" "b0dd493dff88ebf0c8e5c9faf1a694d59136f17cbbba20c14feb0c1b6b2aa6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0dd493dff88ebf0c8e5c9faf1a694d59136f17cbbba20c14feb0c1b6b2aa6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0dd493dff88ebf0c8e5c9faf1a694d59136f17cbbba20c14feb0c1b6b2aa6b0", kill_on_drop: false }` [INFO] [stdout] b0dd493dff88ebf0c8e5c9faf1a694d59136f17cbbba20c14feb0c1b6b2aa6b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c868f43e4c705aaf89c6b89e905311ce160a190c34a7d7436648bf95aa59097 [INFO] running `Command { std: "docker" "start" "-a" "7c868f43e4c705aaf89c6b89e905311ce160a190c34a7d7436648bf95aa59097", kill_on_drop: false }` [INFO] [stderr] Checking type_checker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/resolve_names.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | Expr::Functor(n, ast) => (Expr::Functor(n, self.resolve_ident_names(*ast).into())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - Expr::Functor(n, ast) => (Expr::Functor(n, self.resolve_ident_names(*ast).into())), [INFO] [stdout] 165 + Expr::Functor(n, ast) => Expr::Functor(n, self.resolve_ident_names(*ast).into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/resolve_names.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::LitInt(i) => (Expr::LitInt(i)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - Expr::LitInt(i) => (Expr::LitInt(i)), [INFO] [stdout] 180 + Expr::LitInt(i) => Expr::LitInt(i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolve_names::debrujin::resolve_names` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use resolve_names::debrujin::resolve_names; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/resolve_names.rs:165:42 [INFO] [stdout] | [INFO] [stdout] 165 | Expr::Functor(n, ast) => (Expr::Functor(n, self.resolve_ident_names(*ast).into())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - Expr::Functor(n, ast) => (Expr::Functor(n, self.resolve_ident_names(*ast).into())), [INFO] [stdout] 165 + Expr::Functor(n, ast) => Expr::Functor(n, self.resolve_ident_names(*ast).into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/resolve_names.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | Expr::LitInt(i) => (Expr::LitInt(i)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - Expr::LitInt(i) => (Expr::LitInt(i)), [INFO] [stdout] 180 + Expr::LitInt(i) => Expr::LitInt(i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 917 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 918 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/types.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | ContextElement::Variable(alpha) => false, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/types.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | ContextElement::TypedVariable(var, ty) => self.is_well_formed(ty), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_hat` [INFO] [stdout] --> src/types.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | ContextElement::Existential(alpha_hat) => false, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_hat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/types.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | ContextElement::Solved(var, ty) => self.is_well_formed(ty), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/types.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | ContextElement::Variable(alpha) => false, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/types.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | ContextElement::TypedVariable(var, ty) => self.is_well_formed(ty), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_hat` [INFO] [stdout] --> src/types.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | ContextElement::Existential(alpha_hat) => false, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_hat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/types.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | ContextElement::Solved(var, ty) => self.is_well_formed(ty), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1` [INFO] [stdout] --> src/lib.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/lib.rs:575:40 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name2` [INFO] [stdout] --> src/lib.rs:575:66 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open2` [INFO] [stdout] --> src/lib.rs:575:77 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_open2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name1` [INFO] [stdout] --> src/lib.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open` [INFO] [stdout] --> src/lib.rs:575:40 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name2` [INFO] [stdout] --> src/lib.rs:575:66 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open2` [INFO] [stdout] --> src/lib.rs:575:77 [INFO] [stdout] | [INFO] [stdout] 575 | (Type::HigherKinded(name1, v1, open), Type::HigherKinded(name2, v2, open2)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_open2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TCContext` is more private than the item `check` [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / pub fn check( [INFO] [stdout] 263 | | e: Expr, [INFO] [stdout] 264 | | ty: Type, [INFO] [stdout] 265 | | ctx: TCContext, [INFO] [stdout] 266 | | ) -> Result<(Expr, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |____________________________________________________________________^ function `check` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TCContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct TCContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckingError` is more private than the item `check` [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / pub fn check( [INFO] [stdout] 263 | | e: Expr, [INFO] [stdout] 264 | | ty: Type, [INFO] [stdout] 265 | | ctx: TCContext, [INFO] [stdout] 266 | | ) -> Result<(Expr, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |____________________________________________________________________^ function `check` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckingError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum CheckingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TCContext` is more private than the item `synth` [INFO] [stdout] --> src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub fn synth( [INFO] [stdout] 324 | | e: Expr, [INFO] [stdout] 325 | | mut ctx: TCContext, [INFO] [stdout] 326 | | ) -> Result<(Expr, Type, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |_________________________________________________________________________________^ function `synth` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TCContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct TCContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckingError` is more private than the item `synth` [INFO] [stdout] --> src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub fn synth( [INFO] [stdout] 324 | | e: Expr, [INFO] [stdout] 325 | | mut ctx: TCContext, [INFO] [stdout] 326 | | ) -> Result<(Expr, Type, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |_________________________________________________________________________________^ function `synth` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckingError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum CheckingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `begin_scope_with` are never used [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 20 | impl TCContext { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn begin_scope_with(mut self, elem: ContextElement) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id_fn` is never used [INFO] [stdout] --> src/lib.rs:811:4 [INFO] [stdout] | [INFO] [stdout] 811 | fn id_fn() -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Var` is never constructed [INFO] [stdout] --> src/lower.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Var(VarId, Type); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarId` is never constructed [INFO] [stdout] --> src/lower.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct VarId(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `INCOMPARABLE` is never used [INFO] [stdout] --> src/lower.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | impl VarId { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 6 | const INCOMPARABLE: Self = Self(usize::MAX); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Kind` is never used [INFO] [stdout] --> src/lower.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/lower.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SystemF` is never used [INFO] [stdout] --> src/lower.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum SystemF { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LowerTypes` is never constructed [INFO] [stdout] --> src/lower.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct LowerTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `incr_index`, `store_var`, and `lookup_var` are never used [INFO] [stdout] --> src/lower.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | impl LowerTypes { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 46 | const fn incr_index(&mut self) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn store_var(&mut self, id: crate::VarId, item: VarId) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn lookup_var(&self, id: crate::VarId) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_names` is never used [INFO] [stdout] --> src/resolve_names.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn resolve_names(ast: Expr) -> (Expr, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarContext` is never constructed [INFO] [stdout] --> src/resolve_names.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct VarContext { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_var`, `lookup_ty`, `fresh_id`, `resolve_names_shadowing`, `resolve_type`, and `resolve_ident_names` are never used [INFO] [stdout] --> src/resolve_names.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl VarContext { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 25 | pub(crate) fn lookup_var(&self, var: &str) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn lookup_ty(&self, var: &str) -> VarId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn fresh_id(&mut self, name: String) -> VarId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn resolve_names_shadowing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn resolve_type(&mut self, ty: Type) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn resolve_ident_names(&mut self, ast: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarContext` is never constructed [INFO] [stdout] --> src/resolve_names.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | struct VarContext { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_names` is never used [INFO] [stdout] --> src/resolve_names.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn resolve_names(ast: Expr) -> (Expr, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/resolve_names.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 140 | impl VarContext { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 141 | const fn get_index(&self) -> VarId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn resolve_ident_names(&mut self, ast: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | const fn new_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn lookup_var(&self, var: &str) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn resolve_names_shadowing(&mut self, ast: Expr, name: String) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | const fn incr_index(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn resolve_type(&mut self, ty: Type) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | UnannotatedVariable(VarId), [INFO] [stdout] | ------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 60 - UnannotatedVariable(VarId), [INFO] [stdout] 60 + UnannotatedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | DoubelyInitializedVariable(VarId), [INFO] [stdout] | -------------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 61 - DoubelyInitializedVariable(VarId), [INFO] [stdout] 61 + DoubelyInitializedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | TypeMissmatch(Type, Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - TypeMissmatch(Type, Type), [INFO] [stdout] 63 + TypeMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | AllOptionsFailed(Vec), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 64 - AllOptionsFailed(Vec), [INFO] [stdout] 64 + AllOptionsFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | InvalidInstantiation(Type, String), [INFO] [stdout] | -------------------- ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 65 - InvalidInstantiation(Type, String), [INFO] [stdout] 65 + InvalidInstantiation((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | NotWellFormed(Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 66 - NotWellFormed(Type), [INFO] [stdout] 66 + NotWellFormed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | MissmatchedArity(Type, Type), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 67 - MissmatchedArity(Type, Type), [INFO] [stdout] 67 + MissmatchedArity((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | KindMissmatch(Type, Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 68 - KindMissmatch(Type, Type), [INFO] [stdout] 68 + KindMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_type` is never used [INFO] [stdout] --> src/types.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl ContextElement { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 71 | pub fn to_type(self) -> TypedVar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_complete` is never used [INFO] [stdout] --> src/types.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl TCContext { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 80 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TCContext` is more private than the item `check` [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / pub fn check( [INFO] [stdout] 263 | | e: Expr, [INFO] [stdout] 264 | | ty: Type, [INFO] [stdout] 265 | | ctx: TCContext, [INFO] [stdout] 266 | | ) -> Result<(Expr, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |____________________________________________________________________^ function `check` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TCContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct TCContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckingError` is more private than the item `check` [INFO] [stdout] --> src/lib.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | / pub fn check( [INFO] [stdout] 263 | | e: Expr, [INFO] [stdout] 264 | | ty: Type, [INFO] [stdout] 265 | | ctx: TCContext, [INFO] [stdout] 266 | | ) -> Result<(Expr, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |____________________________________________________________________^ function `check` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckingError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum CheckingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TCContext` is more private than the item `synth` [INFO] [stdout] --> src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub fn synth( [INFO] [stdout] 324 | | e: Expr, [INFO] [stdout] 325 | | mut ctx: TCContext, [INFO] [stdout] 326 | | ) -> Result<(Expr, Type, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |_________________________________________________________________________________^ function `synth` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TCContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct TCContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckingError` is more private than the item `synth` [INFO] [stdout] --> src/lib.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | / pub fn synth( [INFO] [stdout] 324 | | e: Expr, [INFO] [stdout] 325 | | mut ctx: TCContext, [INFO] [stdout] 326 | | ) -> Result<(Expr, Type, TCContext), (CheckingError, TCContext)> { [INFO] [stdout] | |_________________________________________________________________________________^ function `synth` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckingError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/types.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) enum CheckingError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_scope_with` is never used [INFO] [stdout] --> src/lib.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl TCContext { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn begin_scope_with(mut self, elem: ContextElement) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Var` is never constructed [INFO] [stdout] --> src/lower.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Var(VarId, Type); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarId` is never constructed [INFO] [stdout] --> src/lower.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct VarId(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `INCOMPARABLE` is never used [INFO] [stdout] --> src/lower.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 5 | impl VarId { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 6 | const INCOMPARABLE: Self = Self(usize::MAX); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Kind` is never used [INFO] [stdout] --> src/lower.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/lower.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SystemF` is never used [INFO] [stdout] --> src/lower.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum SystemF { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LowerTypes` is never constructed [INFO] [stdout] --> src/lower.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct LowerTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `incr_index`, `store_var`, and `lookup_var` are never used [INFO] [stdout] --> src/lower.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 45 | impl LowerTypes { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 46 | const fn incr_index(&mut self) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn store_var(&mut self, id: crate::VarId, item: VarId) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn lookup_var(&self, id: crate::VarId) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_names` is never used [INFO] [stdout] --> src/resolve_names.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn resolve_names(ast: Expr) -> (Expr, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarContext` is never constructed [INFO] [stdout] --> src/resolve_names.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct VarContext { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lookup_var`, `lookup_ty`, `fresh_id`, `resolve_names_shadowing`, `resolve_type`, and `resolve_ident_names` are never used [INFO] [stdout] --> src/resolve_names.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 24 | impl VarContext { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 25 | pub(crate) fn lookup_var(&self, var: &str) -> VarId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn lookup_ty(&self, var: &str) -> VarId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn fresh_id(&mut self, name: String) -> VarId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn resolve_names_shadowing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn resolve_type(&mut self, ty: Type) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn resolve_ident_names(&mut self, ast: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ty_scope` is never read [INFO] [stdout] --> src/resolve_names.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 124 | struct VarContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | ty_scope: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | UnannotatedVariable(VarId), [INFO] [stdout] | ------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 60 - UnannotatedVariable(VarId), [INFO] [stdout] 60 + UnannotatedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | DoubelyInitializedVariable(VarId), [INFO] [stdout] | -------------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 61 - DoubelyInitializedVariable(VarId), [INFO] [stdout] 61 + DoubelyInitializedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | TypeMissmatch(Type, Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - TypeMissmatch(Type, Type), [INFO] [stdout] 63 + TypeMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | AllOptionsFailed(Vec), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 64 - AllOptionsFailed(Vec), [INFO] [stdout] 64 + AllOptionsFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | InvalidInstantiation(Type, String), [INFO] [stdout] | -------------------- ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 65 - InvalidInstantiation(Type, String), [INFO] [stdout] 65 + InvalidInstantiation((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | NotWellFormed(Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is 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] 66 - NotWellFormed(Type), [INFO] [stdout] 66 + NotWellFormed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | MissmatchedArity(Type, Type), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 67 - MissmatchedArity(Type, Type), [INFO] [stdout] 67 + MissmatchedArity((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/types.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | KindMissmatch(Type, Type), [INFO] [stdout] | ------------- ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CheckingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 68 - KindMissmatch(Type, Type), [INFO] [stdout] 68 + KindMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_type` is never used [INFO] [stdout] --> src/types.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl ContextElement { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 71 | pub fn to_type(self) -> TypedVar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "7c868f43e4c705aaf89c6b89e905311ce160a190c34a7d7436648bf95aa59097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c868f43e4c705aaf89c6b89e905311ce160a190c34a7d7436648bf95aa59097", kill_on_drop: false }` [INFO] [stdout] 7c868f43e4c705aaf89c6b89e905311ce160a190c34a7d7436648bf95aa59097