[INFO] cloning repository https://github.com/Jaymesv2/lambda
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaymesv2/lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Flambda", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Flambda'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d8674e172bec97001452287a717ab09f17e963a4
[INFO] checking Jaymesv2/lambda against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaymesv2%2Flambda" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/Jaymesv2/lambda
[INFO] finished tweaking git repo https://github.com/Jaymesv2/lambda
[INFO] tweaked toml for git repo https://github.com/Jaymesv2/lambda written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jaymesv2/lambda on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jaymesv2/lambda 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.11
[INFO] [stderr]   Downloaded unicode-xid v0.2.4
[INFO] [stderr]   Downloaded is-terminal v0.4.9
[INFO] [stderr]   Downloaded errno v0.3.6
[INFO] [stderr]   Downloaded anstyle v1.0.4
[INFO] [stderr]   Downloaded colorchoice v1.0.0
[INFO] [stderr]   Downloaded anstyle-query v1.0.0
[INFO] [stderr]   Downloaded utf8parse v0.2.1
[INFO] [stderr]   Downloaded libredox v0.0.1
[INFO] [stderr]   Downloaded redox_users v0.4.4
[INFO] [stderr]   Downloaded new_debug_unreachable v1.0.4
[INFO] [stderr]   Downloaded clap_lex v0.6.0
[INFO] [stderr]   Downloaded ascii-canvas v3.0.0
[INFO] [stderr]   Downloaded lalrpop-util v0.20.0
[INFO] [stderr]   Downloaded parking_lot_core v0.9.9
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.50
[INFO] [stderr]   Downloaded string_cache v0.8.7
[INFO] [stderr]   Downloaded hermit-abi v0.3.3
[INFO] [stderr]   Downloaded clap-verbosity-flag v2.1.0
[INFO] [stderr]   Downloaded libloading v0.8.1
[INFO] [stderr]   Downloaded rustversion v1.0.14
[INFO] [stderr]   Downloaded thiserror v1.0.50
[INFO] [stderr]   Downloaded smallvec v1.11.1
[INFO] [stderr]   Downloaded lock_api v0.4.11
[INFO] [stderr]   Downloaded clap_derive v4.4.7
[INFO] [stderr]   Downloaded anstream v0.6.4
[INFO] [stderr]   Downloaded anstyle-parse v0.2.2
[INFO] [stderr]   Downloaded indexmap v2.1.0
[INFO] [stderr]   Downloaded petgraph v0.6.4
[INFO] [stderr]   Downloaded ena v0.14.2
[INFO] [stderr]   Downloaded clap v4.4.8
[INFO] [stderr]   Downloaded unicode-segmentation v1.10.1
[INFO] [stderr]   Downloaded hashbrown v0.14.2
[INFO] [stderr]   Downloaded clap_builder v4.4.8
[INFO] [stderr]   Downloaded lalrpop v0.20.0
[INFO] [stderr]   Downloaded rustix v0.38.21
[INFO] [stderr]   Downloaded regex-syntax v0.7.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ba62af889209719a3bccd73a2a1304ff4babc1f11047b3535b89d7106e1826a
[INFO] running `Command { std: "docker" "start" "-a" "0ba62af889209719a3bccd73a2a1304ff4babc1f11047b3535b89d7106e1826a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ba62af889209719a3bccd73a2a1304ff4babc1f11047b3535b89d7106e1826a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ba62af889209719a3bccd73a2a1304ff4babc1f11047b3535b89d7106e1826a", kill_on_drop: false }`
[INFO] [stdout] 0ba62af889209719a3bccd73a2a1304ff4babc1f11047b3535b89d7106e1826a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8938c1ea369bc791019b17e76bff3518de5f05052946485c10feb819481776e
[INFO] running `Command { std: "docker" "start" "-a" "d8938c1ea369bc791019b17e76bff3518de5f05052946485c10feb819481776e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling rustix v0.38.21
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling hashbrown v0.14.2
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling linux-raw-sys v0.4.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]     Checking anstyle-parse v0.2.2
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]     Checking anstream v0.6.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking clap_lex v0.6.0
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]     Checking libloading v0.8.1
[INFO] [stderr]     Checking unicode-segmentation v1.10.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking clap_builder v4.4.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling syn v2.0.39
[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 string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking petgraph v0.6.4
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking lalrpop-util v0.20.0
[INFO] [stderr]    Compiling clap_derive v4.4.7
[INFO] [stderr]    Compiling lalrpop v0.20.0
[INFO] [stderr]     Checking clap v4.4.8
[INFO] [stderr]     Checking clap-verbosity-flag v2.1.0
[INFO] [stderr]    Compiling lambda v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/lambda-39470d2b76c3786a/out/parser/grammar.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `grammar::Error`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/lambda-39470d2b76c3786a/out/parser/grammar.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         grammar::Error,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/lambda-39470d2b76c3786a/out/parser/grammar.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `grammar::Error`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/lambda-39470d2b76c3786a/out/parser/grammar.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         grammar::Error,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable `else` clause
[INFO] [stdout]   --> src/rename.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let Program::Definitions(s) = x else {
[INFO] [stdout]    |     ------------------------------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     assigning to binding pattern will always succeed
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern always matches, so the else clause is unreachable
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scrutinee`
[INFO] [stdout]    --> src/rename.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             scrutinee,
[INFO] [stdout]     |             ^^^^^^^^^ help: try ignoring the field: `scrutinee: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alternatives`
[INFO] [stdout]    --> src/rename.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             alternatives,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: try ignoring the field: `alternatives: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/rename.rs:150:33
[INFO] [stdout]     |
[INFO] [stdout] 150 |         ParseExpr::DataConIdent(id) => unimplemented!(),
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defs`
[INFO] [stdout]    --> src/rename.rs:166:20
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/rename.rs:166:48
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `con`
[INFO] [stdout]    --> src/rename.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 |     con: DataConstructor<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_con`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/rename.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     env: &mut Env,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rename.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut e = self.type_map.entry(ident.ident.clone());
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/rename.rs:281:38
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn reference_type(&mut self, ident: String) -> Option<NameId> {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContextType` is never used
[INFO] [stdout]   --> src/parser/layout.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum ContextType {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]   --> src/parser/layout.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Context {}
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_typedefs` is never used
[INFO] [stdout]    --> src/rename.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_typehints` is never used
[INFO] [stdout]    --> src/rename.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn rename_typehints(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_type` is never used
[INFO] [stdout]    --> src/rename.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn rename_type(ty: Type<String>, env: &mut Env) -> Result<Type<NameId>> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rename.rs:311:19
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub struct TypeId(usize);
[INFO] [stdout]     |            ------ ^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `TypeId` 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 `name` and `constructors` are never read
[INFO] [stdout]    --> src/rename.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 314 | struct TypeData {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 315 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub constructors: Vec<Id>,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeData` 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 `DataConData` is never constructed
[INFO] [stdout]    --> src/rename.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | struct DataConData {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ident` is never read
[INFO] [stdout]    --> src/rename.rs:332:5
[INFO] [stdout]     |
[INFO] [stdout] 331 | struct NameData {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 332 |     ident: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NameData` 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 `IdentData` is never constructed
[INFO] [stdout]    --> src/rename.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | struct IdentData {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable `else` clause
[INFO] [stdout]   --> src/rename.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let Program::Definitions(s) = x else {
[INFO] [stdout]    |     ------------------------------- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     assigning to binding pattern will always succeed
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern always matches, so the else clause is unreachable
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scrutinee`
[INFO] [stdout]    --> src/rename.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             scrutinee,
[INFO] [stdout]     |             ^^^^^^^^^ help: try ignoring the field: `scrutinee: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alternatives`
[INFO] [stdout]    --> src/rename.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             alternatives,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: try ignoring the field: `alternatives: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/rename.rs:150:33
[INFO] [stdout]     |
[INFO] [stdout] 150 |         ParseExpr::DataConIdent(id) => unimplemented!(),
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defs`
[INFO] [stdout]    --> src/rename.rs:166:20
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_defs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/rename.rs:166:48
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `con`
[INFO] [stdout]    --> src/rename.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 |     con: DataConstructor<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_con`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> src/rename.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     env: &mut Env,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rename.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut e = self.type_map.entry(ident.ident.clone());
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/rename.rs:281:38
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pub fn reference_type(&mut self, ident: String) -> Option<NameId> {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContextType` is never used
[INFO] [stdout]   --> src/parser/layout.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | enum ContextType {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]   --> src/parser/layout.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Context {}
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_typedefs` is never used
[INFO] [stdout]    --> src/rename.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn rename_typedefs(defs: Vec<TypeDef<String>>, env: &mut Env) -> Result<Vec<TypeDef<NameId>>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_typehints` is never used
[INFO] [stdout]    --> src/rename.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn rename_typehints(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rename_type` is never used
[INFO] [stdout]    --> src/rename.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn rename_type(ty: Type<String>, env: &mut Env) -> Result<Type<NameId>> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rename.rs:311:19
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub struct TypeId(usize);
[INFO] [stdout]     |            ------ ^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `TypeId` 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 `name` and `constructors` are never read
[INFO] [stdout]    --> src/rename.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 314 | struct TypeData {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 315 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub constructors: Vec<Id>,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeData` 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 `DataConData` is never constructed
[INFO] [stdout]    --> src/rename.rs:323:8
[INFO] [stdout]     |
[INFO] [stdout] 323 | struct DataConData {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ident` is never read
[INFO] [stdout]    --> src/rename.rs:332:5
[INFO] [stdout]     |
[INFO] [stdout] 331 | struct NameData {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] 332 |     ident: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NameData` 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 `IdentData` is never constructed
[INFO] [stdout]    --> src/rename.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | struct IdentData {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.09s
[INFO] running `Command { std: "docker" "inspect" "d8938c1ea369bc791019b17e76bff3518de5f05052946485c10feb819481776e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8938c1ea369bc791019b17e76bff3518de5f05052946485c10feb819481776e", kill_on_drop: false }`
[INFO] [stdout] d8938c1ea369bc791019b17e76bff3518de5f05052946485c10feb819481776e
