[INFO] cloning repository https://github.com/re-masashi/suicmez [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/re-masashi/suicmez" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre-masashi%2Fsuicmez", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre-masashi%2Fsuicmez'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30d162fa3c76d4a968f38c22291f50e5df80998d [INFO] checking re-masashi/suicmez against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fre-masashi%2Fsuicmez" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/re-masashi/suicmez [INFO] finished tweaking git repo https://github.com/re-masashi/suicmez [INFO] tweaked toml for git repo https://github.com/re-masashi/suicmez written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/re-masashi/suicmez on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/re-masashi/suicmez 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-codegen v0.16.0 [INFO] [stderr] Downloaded logos-derive v0.16.0 [INFO] [stderr] Downloaded logos v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 000bc37cd3fc257c377bbb744e4fe3b22992006473c0b49126b95279edcb412f [INFO] running `Command { std: "docker" "start" "-a" "000bc37cd3fc257c377bbb744e4fe3b22992006473c0b49126b95279edcb412f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "000bc37cd3fc257c377bbb744e4fe3b22992006473c0b49126b95279edcb412f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000bc37cd3fc257c377bbb744e4fe3b22992006473c0b49126b95279edcb412f", kill_on_drop: false }` [INFO] [stdout] 000bc37cd3fc257c377bbb744e4fe3b22992006473c0b49126b95279edcb412f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200f289242f1c440d8d93d3e71f6770bf403c44ee094b0cb3d2e4105f17594c6 [INFO] running `Command { std: "docker" "start" "-a" "200f289242f1c440d8d93d3e71f6770bf403c44ee094b0cb3d2e4105f17594c6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling logos-codegen v0.16.0 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Compiling logos-derive v0.16.0 [INFO] [stderr] Checking logos v0.16.0 [INFO] [stderr] Checking suicmez v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/c_ir.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | CType::FixedArray(inner, size) => format!("{}*", inner.to_string()), // For now, treat as pointer in type strings [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/codegen/transpiler.rs:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | TypedASTNodeKind::Extern(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_trait` [INFO] [stdout] --> src/codegen/transpiler.rs:293:37 [INFO] [stdout] | [INFO] [stdout] 293 | TypedASTNodeKind::Trait(typed_trait) => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/c_ir.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | CType::FixedArray(inner, size) => format!("{}*", inner.to_string()), // For now, treat as pointer in type strings [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/codegen/transpiler.rs:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | TypedASTNodeKind::Extern(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typed_trait` [INFO] [stdout] --> src/codegen/transpiler.rs:293:37 [INFO] [stdout] | [INFO] [stdout] 293 | TypedASTNodeKind::Trait(typed_trait) => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typed_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/monomorphize.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | TypedASTNodeKind::Const(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/monomorphize.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | TypedASTNodeKind::Const(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/monomorphize.rs:994:33 [INFO] [stdout] | [INFO] [stdout] 994 | TypedASTNodeKind::Const(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/monomorphize.rs:994:33 [INFO] [stdout] | [INFO] [stdout] 994 | TypedASTNodeKind::Const(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/typechecker.rs:2656:30 [INFO] [stdout] | [INFO] [stdout] 2656 | ASTNodeKind::Use(path) => Type::Unit, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/typechecker.rs:2656:30 [INFO] [stdout] | [INFO] [stdout] 2656 | ASTNodeKind::Use(path) => Type::Unit, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_map` is never read [INFO] [stdout] --> src/c_lowerer/declaration_transpiler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DeclarationTranspiler { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 7 | type_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `register_array_type`, `get_array_struct_name`, and `generate_heap_alloc` are never used [INFO] [stdout] --> src/codegen/transpiler.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Transpiler { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn register_array_type(&mut self, elem_type: &CType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn get_array_struct_name(elem_type: &CType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn generate_heap_alloc(&self, ty: &CType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_params` is never read [INFO] [stdout] --> src/typechecker.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct FunctionType { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 198 | type_params: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionType` 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 `methods` and `parameters` are never read [INFO] [stdout] --> src/typechecker.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | struct TraitInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 205 | methods: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 206 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_name` is never read [INFO] [stdout] --> src/typechecker.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 210 | struct ImplInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 211 | target: String, [INFO] [stdout] 212 | trait_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplInfo` 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: method `get_var` is never used [INFO] [stdout] --> src/typechecker.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl TypeEnv { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn get_var(&self, id: &crate::ast::BindingId) -> Option<&VarInfo> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_map` is never read [INFO] [stdout] --> src/c_lowerer/declaration_transpiler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DeclarationTranspiler { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 7 | type_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `register_array_type`, `get_array_struct_name`, and `generate_heap_alloc` are never used [INFO] [stdout] --> src/codegen/transpiler.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Transpiler { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn register_array_type(&mut self, elem_type: &CType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn get_array_struct_name(elem_type: &CType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | fn generate_heap_alloc(&self, ty: &CType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_params` is never read [INFO] [stdout] --> src/typechecker.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 197 | struct FunctionType { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 198 | type_params: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionType` 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 `methods` and `parameters` are never read [INFO] [stdout] --> src/typechecker.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 204 | struct TraitInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 205 | methods: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 206 | parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraitInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trait_name` is never read [INFO] [stdout] --> src/typechecker.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 210 | struct ImplInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 211 | target: String, [INFO] [stdout] 212 | trait_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImplInfo` 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: method `get_var` is never used [INFO] [stdout] --> src/typechecker.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl TypeEnv { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn get_var(&self, id: &crate::ast::BindingId) -> Option<&VarInfo> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.00s [INFO] running `Command { std: "docker" "inspect" "200f289242f1c440d8d93d3e71f6770bf403c44ee094b0cb3d2e4105f17594c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200f289242f1c440d8d93d3e71f6770bf403c44ee094b0cb3d2e4105f17594c6", kill_on_drop: false }` [INFO] [stdout] 200f289242f1c440d8d93d3e71f6770bf403c44ee094b0cb3d2e4105f17594c6