[INFO] cloning repository https://github.com/0x59616e/emacc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x59616e/emacc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x59616e%2Femacc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x59616e%2Femacc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e65469595a450f610e73dbe51fa566aea9890afb [INFO] checking 0x59616e/emacc against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x59616e%2Femacc" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0x59616e/emacc on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0x59616e/emacc [INFO] finished tweaking git repo https://github.com/0x59616e/emacc [INFO] tweaked toml for git repo https://github.com/0x59616e/emacc written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/0x59616e/emacc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 955fca7020cdcb0dce96b83cd180308efd409bcf1c5c4a4280ea8fbb7f58a28e [INFO] running `Command { std: "docker" "start" "-a" "955fca7020cdcb0dce96b83cd180308efd409bcf1c5c4a4280ea8fbb7f58a28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "955fca7020cdcb0dce96b83cd180308efd409bcf1c5c4a4280ea8fbb7f58a28e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955fca7020cdcb0dce96b83cd180308efd409bcf1c5c4a4280ea8fbb7f58a28e", kill_on_drop: false }` [INFO] [stdout] 955fca7020cdcb0dce96b83cd180308efd409bcf1c5c4a4280ea8fbb7f58a28e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3ee576d71701431a96e6e9aa50109d9d9cd53a2f92712a56723e217d223324d [INFO] running `Command { std: "docker" "start" "-a" "e3ee576d71701431a96e6e9aa50109d9d9cd53a2f92712a56723e217d223324d", kill_on_drop: false }` [INFO] [stderr] Checking emacc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ir::basicblock::BasicBlock` [INFO] [stdout] --> src/codegen/target/riscv.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::basicblock::BasicBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_I32` should have an upper camel case name [INFO] [stdout] --> src/value.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | Const_I32(i32, DataTy), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_I1` should have an upper camel case name [INFO] [stdout] --> src/value.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | Const_I1(bool, DataTy), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ConstI1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Stmt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ast::Stmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::basicblock::BasicBlock` [INFO] [stdout] --> src/codegen/target/riscv.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::basicblock::BasicBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_I32` should have an upper camel case name [INFO] [stdout] --> src/value.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | Const_I32(i32, DataTy), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ConstI32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Const_I1` should have an upper camel case name [INFO] [stdout] --> src/value.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | Const_I1(bool, DataTy), [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ConstI1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Stmt` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ast::Stmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/lex.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let mut kind = TokenKind::Useless; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> src/lex.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let mut kind = TokenKind::Useless; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LiveRange` [INFO] [stdout] --> src/codegen/liveinterval.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct LiveRange { [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: `new` [INFO] [stdout] --> src/codegen/liveinterval.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(start: u32, end: u32) -> LiveRange { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LiveInterval` [INFO] [stdout] --> src/codegen/liveinterval.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct LiveInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eliminate_phi` [INFO] [stdout] --> src/codegen.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn eliminate_phi(func: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/ir/basicblock.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | parent: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_root` [INFO] [stdout] --> src/ir/basicblock.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_root(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pred` [INFO] [stdout] --> src/ir/basicblock.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_pred(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before_terminator` [INFO] [stdout] --> src/ir/basicblock.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn insert_before_terminator(&mut self, inst: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_all_phi` [INFO] [stdout] --> src/ir/basicblock.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn remove_all_phi(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/ir/function.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | parent: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_list_mut` [INFO] [stdout] --> src/ir/function.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn bb_list_mut(&mut self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_parent` [INFO] [stdout] --> src/ir/function.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_parent(&mut self, parent: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_parent` [INFO] [stdout] --> src/ir/function.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_parent(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param_data_ty_list` [INFO] [stdout] --> src/ir/function.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn param_data_ty_list(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mi_ty` [INFO] [stdout] --> src/ir/instruction.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | mi_ty: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_asm_ty` [INFO] [stdout] --> src/ir/instruction.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_asm_ty(&mut self, (ty, name): (u8, String)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_using` [INFO] [stdout] --> src/ir/instruction.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn is_using(&self, u: Value) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pairs_list_in_phi` [INFO] [stdout] --> src/ir/instruction.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_pairs_list_in_phi(&self) -> Vec<(&Value, &Rc>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `src_operand_list_mut` [INFO] [stdout] --> src/ir/instruction.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn src_operand_list_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_parent` [INFO] [stdout] --> src/ir/instruction.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_parent(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_const_i1` [INFO] [stdout] --> src/ir/irbuilder.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new_const_i1(&self, value: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/symtab.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I1` [INFO] [stdout] --> src/value.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | I1, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Const_I1` [INFO] [stdout] --> src/value.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | Const_I1(bool, DataTy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackMemAddr` [INFO] [stdout] --> src/value.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | StackMemAddr(u32/*offset from stack pointer*/), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neg` [INFO] [stdout] --> src/value.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn neg(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_const_i1` [INFO] [stdout] --> src/value.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new_const_i1(value: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LiveRangeSet` should have a snake case name [INFO] [stdout] --> src/codegen/liveinterval.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | LiveRangeSet: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `live_range_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ValueSet` should have a snake case name [INFO] [stdout] --> src/codegen/liveinterval.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | ValueSet: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `value_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/symtab.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | write!(f, "{}", item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LiveRange` [INFO] [stdout] --> src/codegen/liveinterval.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct LiveRange { [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: `new` [INFO] [stdout] --> src/codegen/liveinterval.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(start: u32, end: u32) -> LiveRange { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LiveInterval` [INFO] [stdout] --> src/codegen/liveinterval.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct LiveInterval { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eliminate_phi` [INFO] [stdout] --> src/codegen.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn eliminate_phi(func: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/ir/basicblock.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | parent: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_root` [INFO] [stdout] --> src/ir/basicblock.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_root(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pred` [INFO] [stdout] --> src/ir/basicblock.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_pred(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_before_terminator` [INFO] [stdout] --> src/ir/basicblock.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn insert_before_terminator(&mut self, inst: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_all_phi` [INFO] [stdout] --> src/ir/basicblock.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn remove_all_phi(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/ir/function.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | parent: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bb_list_mut` [INFO] [stdout] --> src/ir/function.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn bb_list_mut(&mut self) -> impl Iterator>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_parent` [INFO] [stdout] --> src/ir/function.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_parent(&mut self, parent: &Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_parent` [INFO] [stdout] --> src/ir/function.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_parent(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param_data_ty_list` [INFO] [stdout] --> src/ir/function.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn param_data_ty_list(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mi_ty` [INFO] [stdout] --> src/ir/instruction.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | mi_ty: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_asm_ty` [INFO] [stdout] --> src/ir/instruction.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_asm_ty(&mut self, (ty, name): (u8, String)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_using` [INFO] [stdout] --> src/ir/instruction.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn is_using(&self, u: Value) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pairs_list_in_phi` [INFO] [stdout] --> src/ir/instruction.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_pairs_list_in_phi(&self) -> Vec<(&Value, &Rc>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `src_operand_list_mut` [INFO] [stdout] --> src/ir/instruction.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn src_operand_list_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_parent` [INFO] [stdout] --> src/ir/instruction.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_parent(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_const_i1` [INFO] [stdout] --> src/ir/irbuilder.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new_const_i1(&self, value: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/symtab.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `I1` [INFO] [stdout] --> src/value.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | I1, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Const_I1` [INFO] [stdout] --> src/value.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | Const_I1(bool, DataTy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StackMemAddr` [INFO] [stdout] --> src/value.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | StackMemAddr(u32/*offset from stack pointer*/), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neg` [INFO] [stdout] --> src/value.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn neg(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_const_i1` [INFO] [stdout] --> src/value.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new_const_i1(value: bool) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LiveRangeSet` should have a snake case name [INFO] [stdout] --> src/codegen/liveinterval.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | LiveRangeSet: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `live_range_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ValueSet` should have a snake case name [INFO] [stdout] --> src/codegen/liveinterval.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | ValueSet: Vec, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `value_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/symtab.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | write!(f, "{}", item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "e3ee576d71701431a96e6e9aa50109d9d9cd53a2f92712a56723e217d223324d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ee576d71701431a96e6e9aa50109d9d9cd53a2f92712a56723e217d223324d", kill_on_drop: false }` [INFO] [stdout] e3ee576d71701431a96e6e9aa50109d9d9cd53a2f92712a56723e217d223324d