[INFO] cloning repository https://github.com/obs145628/strength-reduction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obs145628/strength-reduction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobs145628%2Fstrength-reduction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobs145628%2Fstrength-reduction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 009d943f1f3417ebc12c8fadb2b272a1a2fc8a3e [INFO] checking obs145628/strength-reduction against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobs145628%2Fstrength-reduction" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/obs145628/strength-reduction on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/obs145628/strength-reduction [INFO] finished tweaking git repo https://github.com/obs145628/strength-reduction [INFO] tweaked toml for git repo https://github.com/obs145628/strength-reduction written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/obs145628/strength-reduction already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24cb78549b4e6dddb0c064f6bfcb5be9c8c5d966a081365b9cc2b2672604e13d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24cb78549b4e6dddb0c064f6bfcb5be9c8c5d966a081365b9cc2b2672604e13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24cb78549b4e6dddb0c064f6bfcb5be9c8c5d966a081365b9cc2b2672604e13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24cb78549b4e6dddb0c064f6bfcb5be9c8c5d966a081365b9cc2b2672604e13d", kill_on_drop: false }` [INFO] [stdout] 24cb78549b4e6dddb0c064f6bfcb5be9c8c5d966a081365b9cc2b2672604e13d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d33c6b70bee2d1a34ceb6739d805c66ad55dc20bae85d41be6a50c345665ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75d33c6b70bee2d1a34ceb6739d805c66ad55dc20bae85d41be6a50c345665ce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strength-reduction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BasicBlockRef`, `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/argument.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{ArgumentRef, BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueRef` [INFO] [stdout] --> src/basicblock.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicBlockRef`, `FunctionRef`, `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/constant.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, ConstantRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/digraph.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (0..self.v) [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/digraph_order.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (self.visit_unreachable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/function.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{ArgumentRef, BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueRef` [INFO] [stdout] --> src/instruction.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, InstructionRef, ValueRef, ValueRefEnum}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/isa.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if (self.name == "call") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::checker` [INFO] [stdout] --> src/loader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::checker; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicBlockRef`, `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/argument.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{ArgumentRef, BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueRef` [INFO] [stdout] --> src/basicblock.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicBlockRef`, `FunctionRef`, `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/constant.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, ConstantRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/digraph.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | (0..self.v) [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/digraph_order.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (self.visit_unreachable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InstructionRef`, `ValueRef` [INFO] [stdout] --> src/function.rs:2:64 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{ArgumentRef, BasicBlockRef, FunctionRef, InstructionRef, ValueRef}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueRef` [INFO] [stdout] --> src/instruction.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::valueref::{BasicBlockRef, InstructionRef, ValueRef, ValueRefEnum}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/isa.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if (self.name == "call") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/loader.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/loader.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/loader.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let fun = self.act_fun.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fun` [INFO] [stdout] --> src/loader.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let fun = self.act_fun.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fun` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_pos` [INFO] [stdout] --> src/argument.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | arg_pos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fun` [INFO] [stdout] --> src/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fun: FunctionRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arg_pos` [INFO] [stdout] --> src/argument.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn arg_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun` [INFO] [stdout] --> src/argument.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn fun(&self) -> FunctionRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_mut` [INFO] [stdout] --> src/basicblock.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ins_mut(&mut self) -> &mut [InstructionRef] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_begin` [INFO] [stdout] --> src/basicblock.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert_begin(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before` [INFO] [stdout] --> src/basicblock.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn insert_before(&mut self, new_ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arg_pos` [INFO] [stdout] --> src/argument.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | arg_pos: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_after` [INFO] [stdout] --> src/basicblock.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn insert_after(&mut self, new_ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fun` [INFO] [stdout] --> src/argument.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fun: FunctionRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase` [INFO] [stdout] --> src/basicblock.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn erase(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arg_pos` [INFO] [stdout] --> src/argument.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn arg_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun` [INFO] [stdout] --> src/argument.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn fun(&self) -> FunctionRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_idx` [INFO] [stdout] --> src/basicblock.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn ins_idx(&self, ins: InstructionRef) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_mut` [INFO] [stdout] --> src/basicblock.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn ins_mut(&mut self) -> &mut [InstructionRef] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_begin` [INFO] [stdout] --> src/basicblock.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert_begin(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_constant_mut` [INFO] [stdout] --> src/context.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_data_constant_mut(&mut self, r: ConstantRef) -> Option<&mut Constant> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before` [INFO] [stdout] --> src/basicblock.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn insert_before(&mut self, new_ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_ins` [INFO] [stdout] --> src/context.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn erase_ins(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_after` [INFO] [stdout] --> src/basicblock.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn insert_after(&mut self, new_ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_detach` [INFO] [stdout] --> src/context.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn ins_detach(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase` [INFO] [stdout] --> src/basicblock.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn erase(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_insert_before` [INFO] [stdout] --> src/context.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn ins_insert_before(&mut self, ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_idx` [INFO] [stdout] --> src/basicblock.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn ins_idx(&self, ins: InstructionRef) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_insert_after` [INFO] [stdout] --> src/context.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn ins_insert_after(&mut self, ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_bb` [INFO] [stdout] --> src/context.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn erase_bb(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_constant_mut` [INFO] [stdout] --> src/context.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_data_constant_mut(&mut self, r: ConstantRef) -> Option<&mut Constant> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_detach` [INFO] [stdout] --> src/context.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn bb_detach(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_ins` [INFO] [stdout] --> src/context.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn erase_ins(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_detach` [INFO] [stdout] --> src/context.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn ins_detach(&mut self, ins: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_insert_before` [INFO] [stdout] --> src/context.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn bb_insert_before(&mut self, bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_insert_before` [INFO] [stdout] --> src/context.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn ins_insert_before(&mut self, ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_insert_after` [INFO] [stdout] --> src/context.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn bb_insert_after(&mut self, bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ins_insert_after` [INFO] [stdout] --> src/context.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn ins_insert_after(&mut self, ins: InstructionRef, pos: InstructionRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_arg` [INFO] [stdout] --> src/context.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | fn erase_arg(&mut self, arg: ArgumentRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_bb` [INFO] [stdout] --> src/context.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn erase_bb(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_fun` [INFO] [stdout] --> src/context.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn erase_fun(&mut self, fun: FunctionRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_detach` [INFO] [stdout] --> src/context.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn bb_detach(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_const` [INFO] [stdout] --> src/context.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn erase_const(&mut self, c: ConstantRef) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_insert_before` [INFO] [stdout] --> src/context.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn bb_insert_before(&mut self, bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `e` [INFO] [stdout] --> src/digraph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn e(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_insert_after` [INFO] [stdout] --> src/context.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn bb_insert_after(&mut self, bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_arg` [INFO] [stdout] --> src/context.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | fn erase_arg(&mut self, arg: ArgumentRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `del_edge` [INFO] [stdout] --> src/digraph.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn del_edge(&mut self, u: usize, v: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_fun` [INFO] [stdout] --> src/context.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn erase_fun(&mut self, fun: FunctionRef) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fun` [INFO] [stdout] --> src/dom_tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fun: FunctionRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_get_arg_mut` [INFO] [stdout] --> src/context.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn fun_get_arg_mut(&mut self, fun: FunctionRef, idx: usize) -> &mut Argument { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `idom` [INFO] [stdout] --> src/dom_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn idom(&self, bb: BasicBlockRef) -> BasicBlockRef { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase_const` [INFO] [stdout] --> src/context.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn erase_const(&mut self, c: ConstantRef) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dom` [INFO] [stdout] --> src/dom_tree.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn dom(&self, bb: BasicBlockRef) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `e` [INFO] [stdout] --> src/digraph.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn e(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `del_edge` [INFO] [stdout] --> src/digraph.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn del_edge(&mut self, u: usize, v: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bbs_mut` [INFO] [stdout] --> src/function.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn bbs_mut(&mut self) -> &mut [BasicBlockRef] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fun` [INFO] [stdout] --> src/dom_tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fun: FunctionRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_begin` [INFO] [stdout] --> src/function.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn insert_begin(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `idom` [INFO] [stdout] --> src/dom_tree.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn idom(&self, bb: BasicBlockRef) -> BasicBlockRef { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before` [INFO] [stdout] --> src/function.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn insert_before(&mut self, new_bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dom` [INFO] [stdout] --> src/dom_tree.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn dom(&self, bb: BasicBlockRef) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_after` [INFO] [stdout] --> src/function.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn insert_after(&mut self, new_bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bbs_mut` [INFO] [stdout] --> src/function.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn bbs_mut(&mut self) -> &mut [BasicBlockRef] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase` [INFO] [stdout] --> src/function.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn erase(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_begin` [INFO] [stdout] --> src/function.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn insert_begin(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_idx` [INFO] [stdout] --> src/function.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn bb_idx(&self, bb: BasicBlockRef) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before` [INFO] [stdout] --> src/function.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn insert_before(&mut self, new_bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_after` [INFO] [stdout] --> src/function.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn insert_after(&mut self, new_bb: BasicBlockRef, pos: BasicBlockRef) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `erase` [INFO] [stdout] --> src/function.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn erase(&mut self, bb: BasicBlockRef) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/isa.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_idx` [INFO] [stdout] --> src/function.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn bb_idx(&self, bb: BasicBlockRef) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `users` [INFO] [stdout] --> src/value.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn users(&self) -> &[ValueRef] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `users_mut` [INFO] [stdout] --> src/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn users_mut(&mut self) -> &mut [ValueRef] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/isa.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_op` [INFO] [stdout] --> src/value.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_op(&mut self, ctx: &mut Context, idx: usize, val: ValueRef) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `users` [INFO] [stdout] --> src/value.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn users(&self) -> &[ValueRef] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `own_mut` [INFO] [stdout] --> src/valueref.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn own_mut<'a>(&self, ctx: &'a mut Context) -> Option<&'a mut Constant> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `users_mut` [INFO] [stdout] --> src/value.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn users_mut(&mut self) -> &mut [ValueRef] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_op` [INFO] [stdout] --> src/value.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn set_op(&mut self, ctx: &mut Context, idx: usize, val: ValueRef) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `own_mut` [INFO] [stdout] --> src/valueref.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn own_mut<'a>(&self, ctx: &'a mut Context) -> Option<&'a mut Constant> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "75d33c6b70bee2d1a34ceb6739d805c66ad55dc20bae85d41be6a50c345665ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d33c6b70bee2d1a34ceb6739d805c66ad55dc20bae85d41be6a50c345665ce", kill_on_drop: false }` [INFO] [stdout] 75d33c6b70bee2d1a34ceb6739d805c66ad55dc20bae85d41be6a50c345665ce