[INFO] cloning repository https://github.com/2aecfff4/ir-thingy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2aecfff4/ir-thingy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e73cf8b78ba24fedda1f1261e71b3c035d9432 [INFO] checking 2aecfff4/ir-thingy against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2aecfff4/ir-thingy on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] finished tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] tweaked toml for git repo https://github.com/2aecfff4/ir-thingy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/2aecfff4/ir-thingy 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0b0b66e1fed901ae9d20cd54d0ec7a4e8071f4ce5cbf208baf682bd71ea343e [INFO] running `Command { std: "docker" "start" "-a" "e0b0b66e1fed901ae9d20cd54d0ec7a4e8071f4ce5cbf208baf682bd71ea343e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0b0b66e1fed901ae9d20cd54d0ec7a4e8071f4ce5cbf208baf682bd71ea343e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b0b66e1fed901ae9d20cd54d0ec7a4e8071f4ce5cbf208baf682bd71ea343e", kill_on_drop: false }` [INFO] [stdout] e0b0b66e1fed901ae9d20cd54d0ec7a4e8071f4ce5cbf208baf682bd71ea343e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be009b2bc073f4caecccb479dda5fba9c286f406333c4822ce2c970e13b8eea7 [INFO] running `Command { std: "docker" "start" "-a" "be009b2bc073f4caecccb479dda5fba9c286f406333c4822ce2c970e13b8eea7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ir v0.1.0 (/opt/rustwide/workdir/crates/ir) [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/bin/compiler) [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Not`, `Ref`, and `Deref` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Neg, [INFO] [stdout] 6 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Deref, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Not`, `Ref`, and `Deref` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Neg, [INFO] [stdout] 6 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Deref, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Builtin { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 105 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` 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: variant `Void` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Builtin { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 105 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` 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: variants `Array`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 126 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` 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: variants `Array`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 126 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` 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: variant `Struct` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 187 | Struct {}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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: variant `Struct` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 187 | Struct {}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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 `ir`, `ret`, and `params` are never read [INFO] [stdout] --> bin/compiler/src/emitter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 89 | ir: ir::function::Function, [INFO] [stdout] | ^^ [INFO] [stdout] 90 | ret: Ty, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Keyword { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_string(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir`, `ret`, and `params` are never read [INFO] [stdout] --> bin/compiler/src/emitter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 89 | ir: ir::function::Function, [INFO] [stdout] | ^^ [INFO] [stdout] 90 | ret: Ty, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 143 | pub fn to_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_keyword` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn get_keyword(&self, token: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Keyword { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_string(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 143 | pub fn to_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_keyword` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn get_keyword(&self, token: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "be009b2bc073f4caecccb479dda5fba9c286f406333c4822ce2c970e13b8eea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be009b2bc073f4caecccb479dda5fba9c286f406333c4822ce2c970e13b8eea7", kill_on_drop: false }` [INFO] [stdout] be009b2bc073f4caecccb479dda5fba9c286f406333c4822ce2c970e13b8eea7 [INFO] checking 2aecfff4/ir-thingy against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2aecfff4/ir-thingy on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] finished tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] tweaked toml for git repo https://github.com/2aecfff4/ir-thingy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2aecfff4/ir-thingy 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae24824fc7f76250537ac770945472c77a0b783cbe81d70baaba0efe4a5cbc80 [INFO] running `Command { std: "docker" "start" "-a" "ae24824fc7f76250537ac770945472c77a0b783cbe81d70baaba0efe4a5cbc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae24824fc7f76250537ac770945472c77a0b783cbe81d70baaba0efe4a5cbc80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae24824fc7f76250537ac770945472c77a0b783cbe81d70baaba0efe4a5cbc80", kill_on_drop: false }` [INFO] [stdout] ae24824fc7f76250537ac770945472c77a0b783cbe81d70baaba0efe4a5cbc80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9366ffa6508d003dd5441c592af2b5d4dcd392388fc4816db3c05ec9c9f878 [INFO] running `Command { std: "docker" "start" "-a" "ca9366ffa6508d003dd5441c592af2b5d4dcd392388fc4816db3c05ec9c9f878", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ir v0.1.0 (/opt/rustwide/workdir/crates/ir) [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` 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: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ir/src/context.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | .filter(|instr| instr.targets().is_some()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/ir/src/context.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | .filter(|instr| instr.targets().is_some()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ir` (lib) due to 2 previous errors; 51 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ir` (lib test) due to 2 previous errors; 51 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca9366ffa6508d003dd5441c592af2b5d4dcd392388fc4816db3c05ec9c9f878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9366ffa6508d003dd5441c592af2b5d4dcd392388fc4816db3c05ec9c9f878", kill_on_drop: false }` [INFO] [stdout] ca9366ffa6508d003dd5441c592af2b5d4dcd392388fc4816db3c05ec9c9f878