[INFO] cloning repository https://github.com/xiaoli-white/lg-rust-binding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaoli-white/lg-rust-binding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoli-white%2Flg-rust-binding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoli-white%2Flg-rust-binding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b59f6ca2467fa01ce850840e67c63fbbcf46e5b0 [INFO] checking xiaoli-white/lg-rust-binding against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoli-white%2Flg-rust-binding" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xiaoli-white/lg-rust-binding [INFO] finished tweaking git repo https://github.com/xiaoli-white/lg-rust-binding [INFO] tweaked toml for git repo https://github.com/xiaoli-white/lg-rust-binding written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiaoli-white/lg-rust-binding on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xiaoli-white/lg-rust-binding 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4efd7e1a4f86793925903d97b9f6e333117935b5d3e855c6f2faae2cf89b4aa0 [INFO] running `Command { std: "docker" "start" "-a" "4efd7e1a4f86793925903d97b9f6e333117935b5d3e855c6f2faae2cf89b4aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4efd7e1a4f86793925903d97b9f6e333117935b5d3e855c6f2faae2cf89b4aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efd7e1a4f86793925903d97b9f6e333117935b5d3e855c6f2faae2cf89b4aa0", kill_on_drop: false }` [INFO] [stdout] 4efd7e1a4f86793925903d97b9f6e333117935b5d3e855c6f2faae2cf89b4aa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e231ebd4c52ab1298096a5e799e774ccba42b610938947483c323e61863e5596 [INFO] running `Command { std: "docker" "start" "-a" "e231ebd4c52ab1298096a5e799e774ccba42b610938947483c323e61863e5596", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking lg-rust-binding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ir/operand.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn accept(&self, visitor: &dyn IRVisitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ir/operand.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn accept(&self, visitor: &dyn IRVisitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ir/operand.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | fn accept(&self, visitor: &dyn IRVisitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ir/operand.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn accept(&self, visitor: &dyn IRVisitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_integer_type` [INFO] [stdout] --> src/ir.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | fn visit_integer_type(&self, ir_integer_type: &IRIntegerType) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_integer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_float_type` [INFO] [stdout] --> src/ir.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | fn visit_float_type(&self, ir_float_type: &IRFloatType) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_float_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_double_type` [INFO] [stdout] --> src/ir.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | fn visit_double_type(&self, ir_double_type: &IRDoubleType) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_double_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_void_type` [INFO] [stdout] --> src/ir.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | fn visit_void_type(&self, ir_void_type: &IRVoidType) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_void_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_goto` [INFO] [stdout] --> src/ir.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | fn visit_goto(&self, ir_goto: &IRGoto) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_goto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_integer_type` [INFO] [stdout] --> src/ir.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | fn visit_integer_type(&self, ir_integer_type: &IRIntegerType) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_integer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_float_type` [INFO] [stdout] --> src/ir.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | fn visit_float_type(&self, ir_float_type: &IRFloatType) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_float_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_double_type` [INFO] [stdout] --> src/ir.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | fn visit_double_type(&self, ir_double_type: &IRDoubleType) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_double_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_void_type` [INFO] [stdout] --> src/ir.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | fn visit_void_type(&self, ir_void_type: &IRVoidType) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_void_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_goto` [INFO] [stdout] --> src/ir.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | fn visit_goto(&self, ir_goto: &IRGoto) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_goto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_no_operate` [INFO] [stdout] --> src/ir.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | fn visit_no_operate(&self, ir_no_operate: &IRNoOperate) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_no_operate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_constant` [INFO] [stdout] --> src/ir.rs:301:30 [INFO] [stdout] | [INFO] [stdout] 301 | fn visit_constant(&self, ir_constant: &IRConstant) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_virtual_register` [INFO] [stdout] --> src/ir.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | fn visit_virtual_register(&self, ir_virtual_register: &IRVirtualRegister) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_virtual_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_macro` [INFO] [stdout] --> src/ir.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | fn visit_macro(&self, ir_macro: &IRMacro) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_no_operate` [INFO] [stdout] --> src/ir.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | fn visit_no_operate(&self, ir_no_operate: &IRNoOperate) {} [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_no_operate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_module` [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate(ir_module: &IRModule, options: &Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate(ir_module: &IRModule, options: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl IRConstantPool { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_constant` [INFO] [stdout] --> src/ir.rs:301:30 [INFO] [stdout] | [INFO] [stdout] 301 | fn visit_constant(&self, ir_constant: &IRConstant) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_virtual_register` [INFO] [stdout] --> src/ir.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | fn visit_virtual_register(&self, ir_virtual_register: &IRVirtualRegister) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_virtual_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl IRModule { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 75 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/operand.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl IRVirtualRegister { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_macro` [INFO] [stdout] --> src/ir.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | fn visit_macro(&self, ir_macro: &IRMacro) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_module` [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate(ir_module: &IRModule, options: &Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn generate(ir_module: &IRModule, options: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/operand.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl IRConstant { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 36 | fn new(index: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/structure.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl IRStructure { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | fn new(name: String, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl IRConstantPool { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 44 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl IRModule { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 75 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/operand.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl IRVirtualRegister { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 13 | fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/operand.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl IRConstant { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 36 | fn new(index: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ir/structure.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl IRStructure { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | fn new(name: String, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "e231ebd4c52ab1298096a5e799e774ccba42b610938947483c323e61863e5596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e231ebd4c52ab1298096a5e799e774ccba42b610938947483c323e61863e5596", kill_on_drop: false }` [INFO] [stdout] e231ebd4c52ab1298096a5e799e774ccba42b610938947483c323e61863e5596