[INFO] cloning repository https://github.com/Tamiyo/Pineapple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tamiyo/Pineapple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bc1988fe580e83152aa40038ce6a3afc18fde3a [INFO] checking Tamiyo/Pineapple against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamiyo%2FPineapple" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tamiyo/Pineapple on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tamiyo/Pineapple [INFO] finished tweaking git repo https://github.com/Tamiyo/Pineapple [INFO] tweaked toml for git repo https://github.com/Tamiyo/Pineapple written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Tamiyo/Pineapple already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dee92e42310824a38a8ee63d78389687d14ad6a3e0b85c6cb445996113296457 [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" "dee92e42310824a38a8ee63d78389687d14ad6a3e0b85c6cb445996113296457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee92e42310824a38a8ee63d78389687d14ad6a3e0b85c6cb445996113296457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee92e42310824a38a8ee63d78389687d14ad6a3e0b85c6cb445996113296457", kill_on_drop: false }` [INFO] [stdout] dee92e42310824a38a8ee63d78389687d14ad6a3e0b85c6cb445996113296457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbd45735c8cc166ead1861c96d991d43f639b605adc99c77e1fd170b2d58be92 [INFO] running `Command { std: "docker" "start" "-a" "bbd45735c8cc166ead1861c96d991d43f639b605adc99c77e1fd170b2d58be92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking pineapple v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::ir::{Expr, Oper}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::IndexSet` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indexmap::IndexSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::flowgraph::cfg::CFG` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::flowgraph::cfg::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Oper`, `bytecode::constant::Constant` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | bytecode::constant::Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | compiler::ir::{Expr, Oper, Stmt}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::ir::{Expr, Oper}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::IndexSet` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indexmap::IndexSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::flowgraph::cfg::CFG` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::flowgraph::cfg::CFG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Oper`, `bytecode::constant::Constant` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | bytecode::constant::Constant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | compiler::ir::{Expr, Oper, Stmt}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bytecode/constant.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | _ => unimplemented!(), [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/compiler/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | _ => vec![], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | i += 1; [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: cannot borrow `state.register` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compiler/register_allocation/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | let spilled = state.register.get(&spill.oper).unwrap(); [INFO] [stdout] | -------------- immutable borrow occurs here [INFO] [stdout] 115 | state.register.insert(i.oper, *spilled); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bytecode/constant.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | _ => unimplemented!(), [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/compiler/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | _ => vec![], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | _ => false, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/ir/mod.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vm/mod.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | i += 1; [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: variant is never constructed: `BF` [INFO] [stdout] --> src/bytecode/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | BF(IR, Label), // Banch if false [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockIndex` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type BlockIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn jump(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `as_conventional_ssa` [INFO] [stdout] --> src/compiler/ir/ssa.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn as_conventional_ssa(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_empty_parallel_copies` [INFO] [stdout] --> src/compiler/ir/ssa.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn remove_empty_parallel_copies(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NamedLabel` [INFO] [stdout] --> src/compiler/ir/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NamedLabel(Label), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParallelCopy` [INFO] [stdout] --> src/compiler/ir/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ParallelCopy, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `patch_phi` [INFO] [stdout] --> src/compiler/ir/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn patch_phi(&mut self, x: &Oper) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Statement` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Statement = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/util/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_child` [INFO] [stdout] --> src/util/tree.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_child(&mut self, child: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [INFO] [stdout] --> src/util/tree.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_in_between` [INFO] [stdout] --> src/util/graph.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert_in_between(&mut self, a: &T, b: &T, c: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/graph.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PCi` should have a snake case name [INFO] [stdout] --> src/compiler/ir/ssa.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | let PCi = cfg.blocks[*bi].statements.last().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pci` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC0` should have a snake case name [INFO] [stdout] --> src/compiler/ir/ssa.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let PC0 = b0.statements.first().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `state.register` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/compiler/register_allocation/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | let spilled = state.register.get(&spill.oper).unwrap(); [INFO] [stdout] | -------------- immutable borrow occurs here [INFO] [stdout] 115 | state.register.insert(i.oper, *spilled); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BF` [INFO] [stdout] --> src/bytecode/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | BF(IR, Label), // Banch if false [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BlockIndex` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type BlockIndex = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/compiler/flowgraph/cfg.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn jump(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `as_conventional_ssa` [INFO] [stdout] --> src/compiler/ir/ssa.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn as_conventional_ssa(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_empty_parallel_copies` [INFO] [stdout] --> src/compiler/ir/ssa.rs:235:4 [INFO] [stdout] | [INFO] [stdout] 235 | fn remove_empty_parallel_copies(cfg: &mut CFG) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NamedLabel` [INFO] [stdout] --> src/compiler/ir/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NamedLabel(Label), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ParallelCopy` [INFO] [stdout] --> src/compiler/ir/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ParallelCopy, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `patch_phi` [INFO] [stdout] --> src/compiler/ir/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn patch_phi(&mut self, x: &Oper) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Statement` [INFO] [stdout] --> src/compiler/optimizer/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Statement = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/util/tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/tree.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_child` [INFO] [stdout] --> src/util/tree.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_child(&mut self, child: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [INFO] [stdout] --> src/util/tree.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_in_between` [INFO] [stdout] --> src/util/graph.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn insert_in_between(&mut self, a: &T, b: &T, c: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util/graph.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PCi` should have a snake case name [INFO] [stdout] --> src/compiler/ir/ssa.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | let PCi = cfg.blocks[*bi].statements.last().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pci` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC0` should have a snake case name [INFO] [stdout] --> src/compiler/ir/ssa.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let PC0 = b0.statements.first().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.10s [INFO] running `Command { std: "docker" "inspect" "bbd45735c8cc166ead1861c96d991d43f639b605adc99c77e1fd170b2d58be92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd45735c8cc166ead1861c96d991d43f639b605adc99c77e1fd170b2d58be92", kill_on_drop: false }` [INFO] [stdout] bbd45735c8cc166ead1861c96d991d43f639b605adc99c77e1fd170b2d58be92