[INFO] cloning repository https://github.com/QiuFeng54321/compiler-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QiuFeng54321/compiler-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuFeng54321%2Fcompiler-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuFeng54321%2Fcompiler-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fc3bd6b1229d99ba3b69b498fd7d2e15e690cf1 [INFO] checking QiuFeng54321/compiler-backend/4fc3bd6b1229d99ba3b69b498fd7d2e15e690cf1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQiuFeng54321%2Fcompiler-backend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QiuFeng54321/compiler-backend on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QiuFeng54321/compiler-backend [INFO] finished tweaking git repo https://github.com/QiuFeng54321/compiler-backend [INFO] tweaked toml for git repo https://github.com/QiuFeng54321/compiler-backend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/QiuFeng54321/compiler-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78d6e08d873a818711068dc411d7ce36218b7e46c114cf53e6f80138c74813d3 [INFO] running `Command { std: "docker" "start" "-a" "78d6e08d873a818711068dc411d7ce36218b7e46c114cf53e6f80138c74813d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78d6e08d873a818711068dc411d7ce36218b7e46c114cf53e6f80138c74813d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d6e08d873a818711068dc411d7ce36218b7e46c114cf53e6f80138c74813d3", kill_on_drop: false }` [INFO] [stdout] 78d6e08d873a818711068dc411d7ce36218b7e46c114cf53e6f80138c74813d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c300211b1b4f85218e90c0e1a6ed877efc0ea35c4a975dc5edb55b60679eb3 [INFO] running `Command { std: "docker" "start" "-a" "b1c300211b1b4f85218e90c0e1a6ed877efc0ea35c4a975dc5edb55b60679eb3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking semilattice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RefMut`, `Ref`, `Weak`, and `collections::HashMap` [INFO] [stdout] --> src/ir/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arena` [INFO] [stdout] --> src/ir/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use id_arena::{Arena, Id}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `fmt::Display` [INFO] [stdout] --> src/ir/parser.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockType` and `MonotonicNameMap` [INFO] [stdout] --> src/ir/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | BlockType, IRInformation, Operation, IR, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | util::{MonotonicNameMap, MonotonicNamedPool, RcRef}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scope`, `SpaceSignature`, and `WeakSpaceRef` [INFO] [stdout] --> src/ir/parser.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | JumpOperation, ProgramRef, Scope, Space, SpaceId, SpaceNameId, SpaceSignature, StructValue, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Value, WeakSpaceRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromInner`, `MonotonicIdGenerator`, `MultiKeyArenaHashMap`, and `SemiLattice` [INFO] [stdout] --> src/ir/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | semilattice::{FlatLattice, SemiLattice}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | util::{ [INFO] [stdout] 20 | FromInner, MonotonicIdGenerator, MonotonicNameMap, MonotonicNamedPool, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | MultiKeyArenaHashMap, RcRef, RefExt, WeakRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/ir/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/ir/block.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{write, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/ir/block.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/ir/block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixedbitset::FixedBitSet` [INFO] [stdout] --> src/ir/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fixedbitset::FixedBitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddressMarker`, `BlockNameId`, `IRInformation`, `JumpOperation`, and `SpaceId` [INFO] [stdout] --> src/ir/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | AddressMarker, BlockNameId, BlockType, IRInformation, JumpOperation, SpaceId, SpaceSignature, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/reach_lattice.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arena` and `DefaultArenaBehavior` [INFO] [stdout] --> src/reach_lattice.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use id_arena::{Arena, DefaultArenaBehavior}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::block::CodeBlock` [INFO] [stdout] --> src/reach_lattice.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ir::block::CodeBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `DerefMut`, `Deref`, and `marker::PhantomData` [INFO] [stdout] --> src/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ops::{Add, AddAssign, Deref, DerefMut}, [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut`, `Ref`, `Weak`, and `collections::HashMap` [INFO] [stdout] --> src/ir/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arena` [INFO] [stdout] --> src/ir/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use id_arena::{Arena, Id}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `fmt::Display` [INFO] [stdout] --> src/ir/parser.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockType` and `MonotonicNameMap` [INFO] [stdout] --> src/ir/parser.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | BlockType, IRInformation, Operation, IR, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | util::{MonotonicNameMap, MonotonicNamedPool, RcRef}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Scope`, `SpaceSignature`, and `WeakSpaceRef` [INFO] [stdout] --> src/ir/parser.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | JumpOperation, ProgramRef, Scope, Space, SpaceId, SpaceNameId, SpaceSignature, StructValue, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Value, WeakSpaceRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromInner`, `MonotonicIdGenerator`, `MultiKeyArenaHashMap`, and `SemiLattice` [INFO] [stdout] --> src/ir/mod.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | semilattice::{FlatLattice, SemiLattice}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | util::{ [INFO] [stdout] 20 | FromInner, MonotonicIdGenerator, MonotonicNameMap, MonotonicNamedPool, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | MultiKeyArenaHashMap, RcRef, RefExt, WeakRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/ir/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/ir/block.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{write, Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/ir/block.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/ir/block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixedbitset::FixedBitSet` [INFO] [stdout] --> src/ir/block.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fixedbitset::FixedBitSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddressMarker`, `BlockNameId`, `IRInformation`, `JumpOperation`, and `SpaceId` [INFO] [stdout] --> src/ir/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | AddressMarker, BlockNameId, BlockType, IRInformation, JumpOperation, SpaceId, SpaceSignature, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read`, and `path::PathBuf` [INFO] [stdout] --> src/ir/tests.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::Read, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/reach_lattice.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arena` and `DefaultArenaBehavior` [INFO] [stdout] --> src/reach_lattice.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use id_arena::{Arena, DefaultArenaBehavior}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::block::CodeBlock` [INFO] [stdout] --> src/reach_lattice.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ir::block::CodeBlock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `DerefMut`, `Deref`, and `marker::PhantomData` [INFO] [stdout] --> src/util/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ops::{Add, AddAssign, Deref, DerefMut}, [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::JumpOperation` [INFO] [stdout] --> src/tests/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ir::JumpOperation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Sub` [INFO] [stdout] --> src/tests/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ir::ops::BinaryOp::{Add, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unit` [INFO] [stdout] --> src/tests/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ir::ops::UnaryOp::{Unit}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Assignment` and `Jump` [INFO] [stdout] --> src/tests/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ir::IR::{Jump, Assignment}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeBlock` [INFO] [stdout] --> src/tests/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{ir::block::{CodeBlock, CodeBlockGraphWeight}, reach_lattice::ReachLattice}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefExt` [INFO] [stdout] --> src/ir/mod.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | MultiKeyArenaHashMap, RcRef, RefExt, WeakRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefExt` [INFO] [stdout] --> src/ir/mod.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | MultiKeyArenaHashMap, RcRef, RefExt, WeakRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/ir/block.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(src: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [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/ir/block.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut res = Self::new(CodeBlockGraphWeight::default()); [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: unused variable: `cmp` [INFO] [stdout] --> src/ir/mod.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | fn static_cmp(&self, cmp: CompareType, other: Option) -> bool [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ir/mod.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | fn static_cmp(&self, cmp: CompareType, other: Option) -> bool [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/ir/mod.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | fn unary(&mut self, op: UnaryOp, other: Option) -> Self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ir/mod.rs:169:38 [INFO] [stdout] | [INFO] [stdout] 169 | fn unary(&mut self, op: UnaryOp, other: Option) -> Self [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_id` [INFO] [stdout] --> src/ir/mod.rs:361:45 [INFO] [stdout] | [INFO] [stdout] 361 | self.blocks.get_id_or_insert(name, |name_id, id| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ir/mod.rs:478:55 [INFO] [stdout] | [INFO] [stdout] 478 | .get_id_or_insert(name.clone(), |name_id, id| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir` [INFO] [stdout] --> src/reach_lattice.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn kill_var(ir: &IR, code_block_graph_weight: &CodeBlockGraphWeight) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_block_graph_weight` [INFO] [stdout] --> src/reach_lattice.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn kill_var(ir: &IR, code_block_graph_weight: &CodeBlockGraphWeight) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_block_graph_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_kill` [INFO] [stdout] --> src/reach_lattice.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_kill = FixedBitSet::with_capacity(graph.weight.assignment_count); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_kill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reach_lattice.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut current_gen = FixedBitSet::with_capacity(graph.weight.assignment_count); [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/reach_lattice.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_kill = FixedBitSet::with_capacity(graph.weight.assignment_count); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/ir/block.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(src: Vec) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [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/ir/block.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut res = Self::new(CodeBlockGraphWeight::default()); [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: unused variable: `name_id` [INFO] [stdout] --> src/util/mod.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 393 | Some(name_id) => Err(KeyExistsError { key: name }), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forward` and `Backward` are never constructed [INFO] [stdout] --> src/block.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Direction { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 26 | Forward = 0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Backward = 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `converge` is never used [INFO] [stdout] --> src/block.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait BlockUpdate { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn converge(&mut self, direction: Direction); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bottom` is never used [INFO] [stdout] --> src/block.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait BlockTransfer: [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn bottom(data_flow_graph: &DataFlowGraph) -> SemiLatticeType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphBlockID` is never used [INFO] [stdout] --> src/ir/mod.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type GraphBlockID = NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WeakSpaceRef` is never used [INFO] [stdout] --> src/ir/mod.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type WeakSpaceRef = WeakRef; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AddressMarkerRef` is never used [INFO] [stdout] --> src/ir/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type AddressMarkerRef = RcRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ir/parser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl> Parser { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn match_one_of(&mut self, expected: Vec) -> Result<&Token, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn put_back(&mut self, token: Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn put_back_all(&mut self, tokens: VecDeque) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn enter_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn leave_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn backtrack_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn match_preservative(&mut self, transform: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphBlockID` is never used [INFO] [stdout] --> src/ir/block.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type GraphBlockID = NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lattice` is never used [INFO] [stdout] --> src/semilattice.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Lattice: SemiLattice + Ord { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt` is never used [INFO] [stdout] --> src/semilattice.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SemiLatticeOrd { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 9 | fn lte(&self, other: &Self) -> bool; [INFO] [stdout] 10 | fn lt(&self, other: &Self) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map`, `map_mut`, `filter_map2`, and `filter_map_mut2` are never used [INFO] [stdout] --> src/util/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) trait RefExt<'b, T> { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn map(&'b self, f: F) -> Ref<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn map_mut(&'b self, f: F) -> RefMut<'b, U> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn filter_map2(&'b self, f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn filter_map_mut2(&'b self, f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WeakFromInner` is never used [INFO] [stdout] --> src/util/mod.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) trait WeakFromInner { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include` is never used [INFO] [stdout] --> src/util/mod.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn include(t: T, f: impl FnOnce(T, U) -> R) -> impl FnOnce(U) -> R { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/util/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl MultiKeyArenaHashMap { [INFO] [stdout] | ------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn get(&self, key: &K) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn get_mut(&mut self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_from_id(&self, id: Id) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn get_mut_from_id(&mut self, id: Id) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn remove(&mut self, key: &K) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn redirect(&mut self, key: &K, redirect_to: &K) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn iter_mut(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp` [INFO] [stdout] --> src/ir/mod.rs:162:26 [INFO] [stdout] | [INFO] [stdout] 162 | fn static_cmp(&self, cmp: CompareType, other: Option) -> bool [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ir/mod.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | fn static_cmp(&self, cmp: CompareType, other: Option) -> bool [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/ir/mod.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | fn unary(&mut self, op: UnaryOp, other: Option) -> Self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ir/mod.rs:169:38 [INFO] [stdout] | [INFO] [stdout] 169 | fn unary(&mut self, op: UnaryOp, other: Option) -> Self [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_id` [INFO] [stdout] --> src/ir/mod.rs:361:45 [INFO] [stdout] | [INFO] [stdout] 361 | self.blocks.get_id_or_insert(name, |name_id, id| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/ir/mod.rs:478:55 [INFO] [stdout] | [INFO] [stdout] 478 | .get_id_or_insert(name.clone(), |name_id, id| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir` [INFO] [stdout] --> src/reach_lattice.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn kill_var(ir: &IR, code_block_graph_weight: &CodeBlockGraphWeight) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_block_graph_weight` [INFO] [stdout] --> src/reach_lattice.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn kill_var(ir: &IR, code_block_graph_weight: &CodeBlockGraphWeight) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_block_graph_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_kill` [INFO] [stdout] --> src/reach_lattice.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_kill = FixedBitSet::with_capacity(graph.weight.assignment_count); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_kill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reach_lattice.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut current_gen = FixedBitSet::with_capacity(graph.weight.assignment_count); [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/reach_lattice.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut current_kill = FixedBitSet::with_capacity(graph.weight.assignment_count); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_id` [INFO] [stdout] --> src/util/mod.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 393 | Some(name_id) => Err(KeyExistsError { key: name }), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id1` [INFO] [stdout] --> src/util/mod.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | let id1 = map.insert(1, 1); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_id1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id2` [INFO] [stdout] --> src/util/mod.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let id2 = map.insert(2, 2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_id2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/tests/u32_lattice.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn meet_with(&mut self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tests/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/tests/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let j = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/tests/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let k = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/tests/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let t1 = 3; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/tests/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/tests/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let j = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/tests/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let a = 2; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/tests/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let m = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/tests/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let n = 4; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u1` [INFO] [stdout] --> src/tests/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let u1 = 5; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u2` [INFO] [stdout] --> src/tests/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let u2 = 6; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u3` [INFO] [stdout] --> src/tests/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let u3 = 7; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_u3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backward` is never constructed [INFO] [stdout] --> src/block.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 26 | Forward = 0, [INFO] [stdout] 27 | Backward = 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `bottom` is never used [INFO] [stdout] --> src/block.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait BlockTransfer: [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn bottom(data_flow_graph: &DataFlowGraph) -> SemiLatticeType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphBlockID` is never used [INFO] [stdout] --> src/ir/mod.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type GraphBlockID = NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WeakSpaceRef` is never used [INFO] [stdout] --> src/ir/mod.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type WeakSpaceRef = WeakRef; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AddressMarkerRef` is never used [INFO] [stdout] --> src/ir/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type AddressMarkerRef = RcRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ir/parser.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl> Parser { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn match_one_of(&mut self, expected: Vec) -> Result<&Token, ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn put_back(&mut self, token: Token) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn put_back_all(&mut self, tokens: VecDeque) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn enter_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn leave_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn backtrack_preservation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn match_preservative(&mut self, transform: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GraphBlockID` is never used [INFO] [stdout] --> src/ir/block.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type GraphBlockID = NodeIndex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lattice` is never used [INFO] [stdout] --> src/semilattice.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Lattice: SemiLattice + Ord { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lt` is never used [INFO] [stdout] --> src/semilattice.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SemiLatticeOrd { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 9 | fn lte(&self, other: &Self) -> bool; [INFO] [stdout] 10 | fn lt(&self, other: &Self) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map`, `map_mut`, `filter_map2`, and `filter_map_mut2` are never used [INFO] [stdout] --> src/util/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) trait RefExt<'b, T> { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn map(&'b self, f: F) -> Ref<'b, U> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn map_mut(&'b self, f: F) -> RefMut<'b, U> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn filter_map2(&'b self, f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn filter_map_mut2(&'b self, f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WeakFromInner` is never used [INFO] [stdout] --> src/util/mod.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) trait WeakFromInner { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include` is never used [INFO] [stdout] --> src/util/mod.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn include(t: T, f: impl FnOnce(T, U) -> R) -> impl FnOnce(U) -> R { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `is_empty`, `iter`, and `iter_mut` are never used [INFO] [stdout] --> src/util/mod.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl MultiKeyArenaHashMap { [INFO] [stdout] | ------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn iter(&self) -> impl Iterator)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn iter_mut(&mut self) -> impl Iterator)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "b1c300211b1b4f85218e90c0e1a6ed877efc0ea35c4a975dc5edb55b60679eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c300211b1b4f85218e90c0e1a6ed877efc0ea35c4a975dc5edb55b60679eb3", kill_on_drop: false }` [INFO] [stdout] b1c300211b1b4f85218e90c0e1a6ed877efc0ea35c4a975dc5edb55b60679eb3