[INFO] cloning repository https://github.com/thepowersgang/mosslang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thepowersgang/mosslang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Fmosslang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Fmosslang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d7dc2205dc9edc899b901bedc7d76b7bbf2e7b6 [INFO] checking thepowersgang/mosslang/9d7dc2205dc9edc899b901bedc7d76b7bbf2e7b6 against master#a2db9280539229a3b8a084a09886670a57bc7e9c for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Fmosslang" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thepowersgang/mosslang [INFO] finished tweaking git repo https://github.com/thepowersgang/mosslang [INFO] tweaked toml for git repo https://github.com/thepowersgang/mosslang written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thepowersgang/mosslang on toolchain a2db9280539229a3b8a084a09886670a57bc7e9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thepowersgang/mosslang 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" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8reader v0.1.0 [INFO] [stderr] Downloaded gumdrop v0.8.1 [INFO] [stderr] Downloaded gumdrop_derive v0.8.1 [INFO] [stderr] Downloaded string-interner v0.19.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.118.0 [INFO] [stderr] Downloaded cranelift-control v0.118.0 [INFO] [stderr] Downloaded cranelift-bitset v0.118.0 [INFO] [stderr] Downloaded cranelift-object v0.118.0 [INFO] [stderr] Downloaded cranelift-module v0.118.0 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.118.0 [INFO] [stderr] Downloaded cranelift-bforest v0.118.0 [INFO] [stderr] Downloaded cranelift-frontend v0.118.0 [INFO] [stderr] Downloaded cranelift-entity v0.118.0 [INFO] [stderr] Downloaded litrs v0.4.0 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.118.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.118.0 [INFO] [stderr] Downloaded regalloc2 v0.11.2 [INFO] [stderr] Downloaded cranelift-isle v0.118.0 [INFO] [stderr] Downloaded cranelift-codegen v0.118.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b6caa12d4bc792e551252ffb16bd6e359ad86c4770af891188b26dd26701089 [INFO] running `Command { std: "docker" "start" "-a" "1b6caa12d4bc792e551252ffb16bd6e359ad86c4770af891188b26dd26701089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b6caa12d4bc792e551252ffb16bd6e359ad86c4770af891188b26dd26701089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6caa12d4bc792e551252ffb16bd6e359ad86c4770af891188b26dd26701089", kill_on_drop: false }` [INFO] [stdout] 1b6caa12d4bc792e551252ffb16bd6e359ad86c4770af891188b26dd26701089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99218a63f00d8944ac419add4515b9b590e5c7fd7fd10282033786241b3060d2 [INFO] running `Command { std: "docker" "start" "-a" "99218a63f00d8944ac419add4515b9b590e5c7fd7fd10282033786241b3060d2", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.118.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling cranelift-isle v0.118.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.118.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking cranelift-bitset v0.118.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking cranelift-entity v0.118.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking cranelift-bforest v0.118.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking regalloc2 v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.118.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking unicode-ident v1.0.8 [INFO] [stderr] Checking cranelift-control v0.118.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking litrs v0.4.0 [INFO] [stderr] Checking utf8reader v0.1.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.118.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Checking string-interner v0.19.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling cranelift-codegen v0.118.0 [INFO] [stderr] Checking cranelift-module v0.118.0 [INFO] [stderr] Checking cranelift-frontend v0.118.0 [INFO] [stderr] Checking cranelift-object v0.118.0 [INFO] [stderr] Checking minirust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast/ty.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | fn cmp(&self, other: &Self) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fcn` [INFO] [stdout] --> src/typecheck/enumerate.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | let fcn = self.lc.functions.get(&absolute_path).expect("Incorrect function path"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fcn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/typecheck/enumerate.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | ... let Some(args) = self.lc.functions.get(&absolute_path) else { panic!("{}: Unable to find function for data variant {}", expr.span, ... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/typecheck/enumerate.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | ExprKind::CallValue(expr, exprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/typecheck/enumerate.rs:415:35 [INFO] [stdout] | [INFO] [stdout] 415 | ExprKind::CallValue(expr, exprs) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/typecheck/enumerate.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | TypeBinding::Union(absolute_path) => todo!("{}struct literal - union", expr.span), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/typecheck/enumerate.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | TypeBinding::EnumVariant(absolute_path, _) => todo!("{}struct literal - enum variant?", expr.span), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_l` [INFO] [stdout] --> src/typecheck/ivars.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | (ArraySize::Unevaluated(se_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_r` [INFO] [stdout] --> src/typecheck/ivars.rs:285:63 [INFO] [stdout] | [INFO] [stdout] 285 | (ArraySize::Unevaluated(se_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_l` [INFO] [stdout] --> src/typecheck/ivars.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | (ArraySize::Unevaluated(se_l), ArraySize::Known(s_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_r` [INFO] [stdout] --> src/typecheck/ivars.rs:286:57 [INFO] [stdout] | [INFO] [stdout] 286 | (ArraySize::Unevaluated(se_l), ArraySize::Known(s_r)) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_l` [INFO] [stdout] --> src/typecheck/ivars.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | (ArraySize::Known(s_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_r` [INFO] [stdout] --> src/typecheck/ivars.rs:287:56 [INFO] [stdout] | [INFO] [stdout] 287 | (ArraySize::Known(s_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast/ty.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | fn cmp(&self, other: &Self) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | TypeBinding::EnumVariant(absolute_path, _) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | ExprKind::FieldIndex(expr, _) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | TypeKind::Array { inner, count } => todo!("to_abi_params: {:?}", ty), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | TypeKind::Array { inner, count } => todo!("to_abi_params: {:?}", ty), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:239:69 [INFO] [stdout] | [INFO] [stdout] 239 | let mut block_param_entries: Vec<_> = (0..ir.blocks.len()).map(|v| Vec::new()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_slot` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 412 | ReadValue::Memory(stack_slot, _, _) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_index` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:38 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:51 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:69 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:562:32 [INFO] [stdout] | [INFO] [stdout] 562 | let (dyn_ofs, ofs, ty) = out_state.get_offset_from_wrappers(&ir.locals[slot.0], wrapper_list); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:33 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:41 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapper_list` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:56 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:29 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tgt` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:34 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `tgt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:39 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:44 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:841:40 [INFO] [stdout] | [INFO] [stdout] 841 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:848:43 [INFO] [stdout] | [INFO] [stdout] 848 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:977:32 [INFO] [stdout] | [INFO] [stdout] 977 | ... Value::FunctionPointer(absolute_path, function_pointer_ty) => todo!(),//ReadValue::Single(self.builder.ins().func_addr(self.ctxt.pt... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_pointer_ty` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:977:47 [INFO] [stdout] | [INFO] [stdout] 977 | ...(absolute_path, function_pointer_ty) => todo!(),//ReadValue::Single(self.builder.ins().func_addr(self.ctxt.ptr_ty(), self.ctxt.functio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_pointer_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:1037:40 [INFO] [stdout] | [INFO] [stdout] 1037 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:1042:43 [INFO] [stdout] | [INFO] [stdout] 1042 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/mod.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/mod.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/codegen/mod.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | TypeKind::Array { inner, count } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/codegen/mod.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | TypeKind::Array { inner, count } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fcn` [INFO] [stdout] --> src/typecheck/enumerate.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | let fcn = self.lc.functions.get(&absolute_path).expect("Incorrect function path"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fcn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/typecheck/enumerate.rs:374:30 [INFO] [stdout] | [INFO] [stdout] 374 | ... let Some(args) = self.lc.functions.get(&absolute_path) else { panic!("{}: Unable to find function for data variant {}", expr.span, ... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/typecheck/enumerate.rs:415:29 [INFO] [stdout] | [INFO] [stdout] 415 | ExprKind::CallValue(expr, exprs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/typecheck/enumerate.rs:415:35 [INFO] [stdout] | [INFO] [stdout] 415 | ExprKind::CallValue(expr, exprs) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/typecheck/enumerate.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | TypeBinding::Union(absolute_path) => todo!("{}struct literal - union", expr.span), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/typecheck/enumerate.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | TypeBinding::EnumVariant(absolute_path, _) => todo!("{}struct literal - enum variant?", expr.span), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `abi` is never read [INFO] [stdout] --> src/ast/items.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ExternBlock [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub abi: super::AbiSpec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_incomplete` is never read [INFO] [stdout] --> src/ast/items.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Struct [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub is_incomplete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_incomplete` is never read [INFO] [stdout] --> src/ast/items.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Enum [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub is_incomplete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `abi` is never read [INFO] [stdout] --> src/ast/items.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct FunctionSignature [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub abi: super::AbiSpec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/typecheck/ivars.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InferType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InferType` 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: field `variants` is never read [INFO] [stdout] --> src/codegen/type_info.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | variants: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_l` [INFO] [stdout] --> src/typecheck/ivars.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | (ArraySize::Unevaluated(se_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/type_info.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | Array(Rc), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 - Array(Rc), [INFO] [stdout] 17 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_r` [INFO] [stdout] --> src/typecheck/ivars.rs:285:63 [INFO] [stdout] | [INFO] [stdout] 285 | (ArraySize::Unevaluated(se_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_field` and `max_variant` are never read [INFO] [stdout] --> src/codegen/type_info.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Variants { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | tag_field: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | max_variant: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_l` [INFO] [stdout] --> src/typecheck/ivars.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | (ArraySize::Unevaluated(se_l), ArraySize::Known(s_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_r` [INFO] [stdout] --> src/typecheck/ivars.rs:286:57 [INFO] [stdout] | [INFO] [stdout] 286 | (ArraySize::Unevaluated(se_l), ArraySize::Known(s_r)) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_l` [INFO] [stdout] --> src/typecheck/ivars.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | (ArraySize::Known(s_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_r` [INFO] [stdout] --> src/typecheck/ivars.rs:287:56 [INFO] [stdout] | [INFO] [stdout] 287 | (ArraySize::Known(s_l), ArraySize::Unevaluated(se_r)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | TypeBinding::EnumVariant(absolute_path, _) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/codegen/ir/from_expr.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | ExprKind::FieldIndex(expr, _) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | TypeKind::Array { inner, count } => todo!("to_abi_params: {:?}", ty), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | TypeKind::Array { inner, count } => todo!("to_abi_params: {:?}", ty), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:239:69 [INFO] [stdout] | [INFO] [stdout] 239 | let mut block_param_entries: Vec<_> = (0..ir.blocks.len()).map(|v| Vec::new()).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_slot` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:412:39 [INFO] [stdout] | [INFO] [stdout] 412 | ReadValue::Memory(stack_slot, _, _) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_slot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_index` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:38 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:51 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:417:69 [INFO] [stdout] | [INFO] [stdout] 417 | Operation::CreateDataVariant(local_index, absolute_path, _, values) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:562:32 [INFO] [stdout] | [INFO] [stdout] 562 | let (dyn_ofs, ofs, ty) = out_state.get_offset_from_wrappers(&ir.locals[slot.0], wrapper_list); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:33 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:41 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapper_list` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:570:56 [INFO] [stdout] | [INFO] [stdout] 570 | Operation::BorrowGlobal(dst, _, absolute_path, wrapper_list) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapper_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:29 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tgt` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:34 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `tgt: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:39 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:707:44 [INFO] [stdout] | [INFO] [stdout] 707 | Terminator::CallValue { dst, tgt, ptr, args } => todo!("terminator: CallValue"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:841:40 [INFO] [stdout] | [INFO] [stdout] 841 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:848:43 [INFO] [stdout] | [INFO] [stdout] 848 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:977:32 [INFO] [stdout] | [INFO] [stdout] 977 | ... Value::FunctionPointer(absolute_path, function_pointer_ty) => todo!(),//ReadValue::Single(self.builder.ins().func_addr(self.ctxt.pt... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_pointer_ty` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:977:47 [INFO] [stdout] | [INFO] [stdout] 977 | ...(absolute_path, function_pointer_ty) => todo!(),//ReadValue::Single(self.builder.ins().func_addr(self.ctxt.ptr_ty(), self.ctxt.functio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_pointer_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:1037:40 [INFO] [stdout] | [INFO] [stdout] 1037 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/backend_cranelift.rs:1042:43 [INFO] [stdout] | [INFO] [stdout] 1042 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/mod.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | TypeBinding::Union(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute_path` [INFO] [stdout] --> src/codegen/mod.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | TypeBinding::DataEnum(absolute_path) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/codegen/mod.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 157 | TypeKind::Array { inner, count } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `inner: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/codegen/mod.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | TypeKind::Array { inner, count } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `count: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `abi` is never read [INFO] [stdout] --> src/ast/items.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ExternBlock [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub abi: super::AbiSpec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_incomplete` is never read [INFO] [stdout] --> src/ast/items.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Struct [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub is_incomplete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_incomplete` is never read [INFO] [stdout] --> src/ast/items.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Enum [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | pub is_incomplete: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `abi` is never read [INFO] [stdout] --> src/ast/items.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct FunctionSignature [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | pub abi: super::AbiSpec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Float` is never constructed [INFO] [stdout] --> src/typecheck/ivars.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InferType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InferType` 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: field `variants` is never read [INFO] [stdout] --> src/codegen/type_info.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TypeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | variants: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/codegen/type_info.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | Array(Rc), [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 - Array(Rc), [INFO] [stdout] 17 + Array(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_field` and `max_variant` are never read [INFO] [stdout] --> src/codegen/type_info.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Variants { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | tag_field: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | max_variant: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 56.32s [INFO] running `Command { std: "docker" "inspect" "99218a63f00d8944ac419add4515b9b590e5c7fd7fd10282033786241b3060d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99218a63f00d8944ac419add4515b9b590e5c7fd7fd10282033786241b3060d2", kill_on_drop: false }` [INFO] [stdout] 99218a63f00d8944ac419add4515b9b590e5c7fd7fd10282033786241b3060d2