[INFO] cloning repository https://github.com/hansihe/beam_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hansihe/beam_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64f05a3f331e5ca9fc19c2501739c248995b9587 [INFO] checking hansihe/beam_code against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Fbeam_code" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hansihe/beam_code on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hansihe/beam_code [INFO] finished tweaking git repo https://github.com/hansihe/beam_code [INFO] tweaked toml for git repo https://github.com/hansihe/beam_code written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/hansihe/beam_code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cae3f6ccf4af02261d8e41c45b2a01a615ffd084ab43b2bd316d31ab8107ac3 [INFO] running `Command { std: "docker" "start" "-a" "5cae3f6ccf4af02261d8e41c45b2a01a615ffd084ab43b2bd316d31ab8107ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cae3f6ccf4af02261d8e41c45b2a01a615ffd084ab43b2bd316d31ab8107ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cae3f6ccf4af02261d8e41c45b2a01a615ffd084ab43b2bd316d31ab8107ac3", kill_on_drop: false }` [INFO] [stdout] 5cae3f6ccf4af02261d8e41c45b2a01a615ffd084ab43b2bd316d31ab8107ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62b19ae33473c3dc4004d42df6205ec170119fa14b82478676a580a743c12a4f [INFO] running `Command { std: "docker" "start" "-a" "62b19ae33473c3dc4004d42df6205ec170119fa14b82478676a580a743c12a4f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking serde v1.0.10 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking libflate v0.1.9 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking itertools v0.6.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking beam_file v0.2.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking num-bigint v0.1.39 [INFO] [stderr] Checking num-complex v0.1.38 [INFO] [stderr] Checking num-rational v0.1.38 [INFO] [stderr] Checking num v0.1.39 [INFO] [stderr] Checking eetf v0.3.6 [INFO] [stderr] Checking string-intern v0.1.6 [INFO] [stderr] Checking beam_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(NodeId, usize) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(NodeId, usize) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x_reg` [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [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: `GraphAccessor` [INFO] [stdout] --> src/graph/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x_reg` [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [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: `GraphAccessor` [INFO] [stdout] --> src/graph/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(NodeId, usize) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::rc::Rc` [INFO] [stdout] --> src/op.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/ssa/mod.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use ::op::{ Op, LabelId, Register, OpKind, Source, Literal }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ssa/mod.rs:493:56 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn function_to_dot(function: &SSAFunction, w: &mut Write) -> ::std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GraphAccessor` [INFO] [stdout] --> src/graph/dfs.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ GraphAccessor, GraphDfs }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/mod.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(NodeId, usize) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_num` [INFO] [stdout] --> src/beam_module.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | for atom_num in 0..len { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | for mut block in fun.blocks.values_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ssa/mod.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for mut op in block.ops.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_reads_labels` [INFO] [stdout] --> src/op.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with_reads_labels(kind: OpKind, reads: Vec, labels: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CaseEnd` [INFO] [stdout] --> src/op.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | CaseEnd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x_reg` [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register` [INFO] [stdout] --> src/op.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn get_register(&self) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register` [INFO] [stdout] --> src/ssa/representation.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_register(&self) -> SSARegister { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `GraphAccessor` [INFO] [stdout] --> src/graph/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_reads_labels` [INFO] [stdout] --> src/op.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with_reads_labels(kind: OpKind, reads: Vec, labels: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CaseEnd` [INFO] [stdout] --> src/op.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | CaseEnd, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x_reg` [INFO] [stdout] --> src/op.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | fn x_reg(num: u32) -> Source { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register` [INFO] [stdout] --> src/op.rs:691:12 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn get_register(&self) -> Register { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register` [INFO] [stdout] --> src/ssa/representation.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_register(&self) -> SSARegister { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `GraphAccessor` [INFO] [stdout] --> src/graph/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub type GraphAccessor = Fn(NodeId, usize) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.98s [INFO] running `Command { std: "docker" "inspect" "62b19ae33473c3dc4004d42df6205ec170119fa14b82478676a580a743c12a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b19ae33473c3dc4004d42df6205ec170119fa14b82478676a580a743c12a4f", kill_on_drop: false }` [INFO] [stdout] 62b19ae33473c3dc4004d42df6205ec170119fa14b82478676a580a743c12a4f