[INFO] cloning repository https://github.com/FredTheDino/wretch-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FredTheDino/wretch-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredTheDino%2Fwretch-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredTheDino%2Fwretch-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9383e677c42bc8d73b96b521f2ac1c90141741c9 [INFO] checking FredTheDino/wretch-lang against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFredTheDino%2Fwretch-lang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FredTheDino/wretch-lang on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FredTheDino/wretch-lang [INFO] finished tweaking git repo https://github.com/FredTheDino/wretch-lang [INFO] tweaked toml for git repo https://github.com/FredTheDino/wretch-lang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FredTheDino/wretch-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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-codegen v0.14.1 [INFO] [stderr] Downloaded logos-derive v0.14.1 [INFO] [stderr] Downloaded logos v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e9549535d844a82b9f6f8aee5decbc85b9b73964e01ae030963febf3a023174 [INFO] running `Command { std: "docker" "start" "-a" "4e9549535d844a82b9f6f8aee5decbc85b9b73964e01ae030963febf3a023174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e9549535d844a82b9f6f8aee5decbc85b9b73964e01ae030963febf3a023174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9549535d844a82b9f6f8aee5decbc85b9b73964e01ae030963febf3a023174", kill_on_drop: false }` [INFO] [stdout] 4e9549535d844a82b9f6f8aee5decbc85b9b73964e01ae030963febf3a023174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6902841da1916d08dabf6f2e8997c0e887cf6f9c73b2ddf949943848b3948623 [INFO] running `Command { std: "docker" "start" "-a" "6902841da1916d08dabf6f2e8997c0e887cf6f9c73b2ddf949943848b3948623", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling logos-codegen v0.14.1 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Compiling logos-derive v0.14.1 [INFO] [stderr] Checking logos v0.14.1 [INFO] [stderr] Checking wretch-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Variant` is more private than the item `Terror::MeetError::0` [INFO] [stdout] --> src/tyc.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | ^^^^^^^ field `Terror::MeetError::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Variant` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Variant` is more private than the item `Terror::MeetError::1` [INFO] [stdout] --> src/tyc.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | ^^^^^^^ field `Terror::MeetError::1` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Variant` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vertex` is more private than the item `Graph::0` [INFO] [stdout] --> src/tyc.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Graph<'s>(pub Vec, pub Vec, pub &'s [(&'s str, Span)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ field `Graph::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Vertex` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | enum Vertex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'s> N<'s> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 27 | fn span(&self) -> Span { self.1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'s> P<'s> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 39 | fn span(&self) -> Span { self.1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span`, `name`, and `show` are never used [INFO] [stdout] --> src/ast.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'s> Ast<'s> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | #[rustfmt::skip] [INFO] [stdout] 51 | fn span(&self) -> Span { self.0.span().merge(self.1.last().map_or(self.0.span(), |x| x.span())) } [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | #[rustfmt::skip] [INFO] [stdout] 53 | fn name(&self) -> P<'s> { self.0 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | [INFO] [stdout] 55 | pub fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'s> DefTyp<'s> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 73 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dat` is never constructed [INFO] [stdout] --> src/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Decl<'s> { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Dat(Span, P<'s>, Vec>, Vec<(P<'s>, Option>)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl<'s> Decl<'s> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 105 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl<'s> Expr<'s> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 157 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'s> Typ<'s> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dat` is never constructed [INFO] [stdout] --> src/rst.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum Decl { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 184 | Dat(Export, Span, I, Vec, Vec<(I, Option)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | ForeignDefWithoutType(rst::I, Span), [INFO] [stdout] | --------------------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 5 - ForeignDefWithoutType(rst::I, Span), [INFO] [stdout] 5 + ForeignDefWithoutType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tyc.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Generic(&'static str), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` 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] 6 - Generic(&'static str), [INFO] [stdout] 6 + Generic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | --------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 7 - MeetError(Variant, Variant), [INFO] [stdout] 7 + MeetError((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | StackSizeMissmatch(usize, usize), [INFO] [stdout] | ------------------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 8 - StackSizeMissmatch(usize, usize), [INFO] [stdout] 8 + StackSizeMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> src/tyc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variant` 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/tyc.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Unify(Key, Key, Span), [INFO] [stdout] | ----- ^^^ ^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 54 - Unify(Key, Key, Span), [INFO] [stdout] 54 + Unify((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | Define(Key, Span), [INFO] [stdout] | ------ ^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 55 - Define(Key, Span), [INFO] [stdout] 55 + Define((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/tyc.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | Explicit(Key, Variant, Span), [INFO] [stdout] | -------- ^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 56 - Explicit(Key, Variant, Span), [INFO] [stdout] 56 + Explicit((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Variant` is more private than the item `Terror::MeetError::0` [INFO] [stdout] --> src/tyc.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | ^^^^^^^ field `Terror::MeetError::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Variant` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Variant` is more private than the item `Terror::MeetError::1` [INFO] [stdout] --> src/tyc.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | ^^^^^^^ field `Terror::MeetError::1` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Variant` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vertex` is more private than the item `Graph::0` [INFO] [stdout] --> src/tyc.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Graph<'s>(pub Vec, pub Vec, pub &'s [(&'s str, Span)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ field `Graph::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Vertex` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/tyc.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | enum Vertex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'s> N<'s> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 27 | fn span(&self) -> Span { self.1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'s> P<'s> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 39 | fn span(&self) -> Span { self.1 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span`, `name`, and `show` are never used [INFO] [stdout] --> src/ast.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'s> Ast<'s> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 50 | #[rustfmt::skip] [INFO] [stdout] 51 | fn span(&self) -> Span { self.0.span().merge(self.1.last().map_or(self.0.span(), |x| x.span())) } [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | #[rustfmt::skip] [INFO] [stdout] 53 | fn name(&self) -> P<'s> { self.0 } [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | [INFO] [stdout] 55 | pub fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'s> DefTyp<'s> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 73 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dat` is never constructed [INFO] [stdout] --> src/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Decl<'s> { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Dat(Span, P<'s>, Vec>, Vec<(P<'s>, Option>)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl<'s> Decl<'s> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 105 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 156 | impl<'s> Expr<'s> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 157 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `show` are never used [INFO] [stdout] --> src/ast.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'s> Typ<'s> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 198 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn show(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dat` is never constructed [INFO] [stdout] --> src/rst.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum Decl { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 184 | Dat(Export, Span, I, Vec, Vec<(I, Option)>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | ForeignDefWithoutType(rst::I, Span), [INFO] [stdout] | --------------------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 5 - ForeignDefWithoutType(rst::I, Span), [INFO] [stdout] 5 + ForeignDefWithoutType((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tyc.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Generic(&'static str), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` 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] 6 - Generic(&'static str), [INFO] [stdout] 6 + Generic(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | MeetError(Variant, Variant), [INFO] [stdout] | --------- ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 7 - MeetError(Variant, Variant), [INFO] [stdout] 7 + MeetError((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | StackSizeMissmatch(usize, usize), [INFO] [stdout] | ------------------ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Terror` has derived impls for the traits `Clone` and `Debug`, but these are 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] 8 - StackSizeMissmatch(usize, usize), [INFO] [stdout] 8 + StackSizeMissmatch((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> src/tyc.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum Variant { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variant` 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: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/tyc.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Unify(Key, Key, Span), [INFO] [stdout] | ----- ^^^ ^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 54 - Unify(Key, Key, Span), [INFO] [stdout] 54 + Unify((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/tyc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | Define(Key, Span), [INFO] [stdout] | ------ ^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 55 - Define(Key, Span), [INFO] [stdout] 55 + Define((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/tyc.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | Explicit(Key, Variant, Span), [INFO] [stdout] | -------- ^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Poi` has derived impls for the traits `Clone` and `Debug`, but these are 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] 56 - Explicit(Key, Variant, Span), [INFO] [stdout] 56 + Explicit((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s [INFO] running `Command { std: "docker" "inspect" "6902841da1916d08dabf6f2e8997c0e887cf6f9c73b2ddf949943848b3948623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6902841da1916d08dabf6f2e8997c0e887cf6f9c73b2ddf949943848b3948623", kill_on_drop: false }` [INFO] [stdout] 6902841da1916d08dabf6f2e8997c0e887cf6f9c73b2ddf949943848b3948623