[INFO] cloning repository https://github.com/trumank/kismet-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trumank/kismet-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrumank%2Fkismet-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrumank%2Fkismet-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fc3c7957b97246b5e9665de4866d68a036dfc09 [INFO] checking trumank/kismet-experiments/1fc3c7957b97246b5e9665de4866d68a036dfc09 against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrumank%2Fkismet-experiments" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trumank/kismet-experiments [INFO] finished tweaking git repo https://github.com/trumank/kismet-experiments [INFO] tweaked toml for git repo https://github.com/trumank/kismet-experiments written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trumank/kismet-experiments on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trumank/kismet-experiments 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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/trumank/jmap` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordermap v0.5.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67060254d26ea3d3f401d9612fb7739943809d62fa3f9f7b3949473baeed5b46 [INFO] running `Command { std: "docker" "start" "-a" "67060254d26ea3d3f401d9612fb7739943809d62fa3f9f7b3949473baeed5b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67060254d26ea3d3f401d9612fb7739943809d62fa3f9f7b3949473baeed5b46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67060254d26ea3d3f401d9612fb7739943809d62fa3f9f7b3949473baeed5b46", kill_on_drop: false }` [INFO] [stdout] 67060254d26ea3d3f401d9612fb7739943809d62fa3f9f7b3949473baeed5b46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90f0b3d9181e01167dfac709e314c6e8c3e4fcdb770a670243fa624c20f66544 [INFO] running `Command { std: "docker" "start" "-a" "90f0b3d9181e01167dfac709e314c6e8c3e4fcdb770a670243fa624c20f66544", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking paste_buffer v0.1.0 (/opt/rustwide/workdir/paste_buffer) [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking ordermap v0.5.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking jmap v0.1.0 (https://github.com/trumank/jmap#eca05dcf) [INFO] [stderr] Checking jmap-kismet-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/paste.rs:1175:18 [INFO] [stdout] | [INFO] [stdout] 1175 | fn is_temp_local(prop: &jmap::Property) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/bytecode/address_index.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ObjectInfo<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub path: &'a str, [INFO] [stdout] 10 | pub object: &'a ObjectType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset_to_block` is never read [INFO] [stdout] --> src/bytecode/cfg.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ControlFlowGraph { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub offset_to_block: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlFlowGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_at_offset` is never used [INFO] [stdout] --> src/bytecode/cfg.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ControlFlowGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_block_at_offset(&self, offset: BytecodeOffset) -> Option<&BasicBlock> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `strictly_dominates`, `dominated_by`, `immediate_dominator`, and `dominance_frontier` are never used [INFO] [stdout] --> src/bytecode/dominators.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DominatorTree { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn strictly_dominates(&self, dominator: BlockId, dominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn dominated_by(&self, dominator: BlockId) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn immediate_dominator(&self, block: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn dominance_frontier(&self, cfg: &ControlFlowGraph, block: BlockId) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `children` is never read [INFO] [stdout] --> src/bytecode/dominators.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct PostDominatorTree { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 269 | pub children: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostDominatorTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post_dominates`, `strictly_post_dominates`, `immediate_post_dominator`, and `immediate_common_post_dominator` are never used [INFO] [stdout] --> src/bytecode/dominators.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl PostDominatorTree { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn post_dominates(&self, postdom: BlockId, postdominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn strictly_post_dominates(&self, postdom: BlockId, postdominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn immediate_post_dominator(&self, block: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn immediate_common_post_dominator(&self, b1: BlockId, b2: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/bytecode/expr.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 482 | SetSet { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 483 | set_expr: Box, [INFO] [stdout] 484 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/bytecode/expr.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 487 | SetMap { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 488 | map_expr: Box, [INFO] [stdout] 489 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LogLevel { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/bytecode/logger.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Logger { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn error(&self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StderrLogger` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StderrLogger { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `all`, `info_and_above`, `warn_and_above`, and `error_only` are never used [INFO] [stdout] --> src/bytecode/logger.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl StderrLogger { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn new(min_level: LogLevel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn info_and_above() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn warn_and_above() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn error_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferedLogger` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BufferedLogger { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `all`, `messages`, and `clear` are never used [INFO] [stdout] --> src/bytecode/logger.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl BufferedLogger { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 89 | pub fn new(min_level: LogLevel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn messages(&self) -> Vec<(LogLevel, String)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LoggerRef` is never used [INFO] [stdout] --> src/bytecode/logger.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub type LoggerRef<'a> = &'a dyn Logger; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_nested` is never used [INFO] [stdout] --> src/bytecode/loops.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Loop { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loop_for_block` and `is_loop_header` are never used [INFO] [stdout] --> src/bytecode/loops.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl LoopInfo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn get_loop_for_block(&self, block: BlockId) -> Option<&Loop> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn is_loop_header(&self, block: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opcode_value` is never used [INFO] [stdout] --> src/bytecode/opcodes.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl EExprToken { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 13 | pub fn opcode_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | / define_opcodes! { [INFO] [stdout] 33 | | (0x00, LocalVariable), [INFO] [stdout] 34 | | (0x01, InstanceVariable), [INFO] [stdout] 35 | | (0x02, DefaultVariable), [INFO] [stdout] ... | [INFO] [stdout] 127 | | (0x6D, FieldPathConst), [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_opcodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_index` is never read [INFO] [stdout] --> src/bytecode/reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ScriptReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | address_index: &'a AddressIndex<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_dot` is never used [INFO] [stdout] --> src/bytecode/structured.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 346 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 347 | /// Export the region graph to DOT format for visualization [INFO] [stdout] 348 | pub fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `replace_node` and `remove_edge` are never used [INFO] [stdout] --> src/bytecode/structured.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 403 | impl Region { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 484 | fn replace_node(&mut self, old: BlockId, new_id: BlockId, new_node: StructuredNode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | fn remove_edge(&mut self, from: BlockId, to: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protected_edges` is never read [INFO] [stdout] --> src/bytecode/structured.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 540 | pub struct PhoenixStructurer<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 544 | protected_edges: HashSet<(BlockId, BlockId)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dot.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 177 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_attr` is never used [INFO] [stdout] --> src/dot.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl Edge { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn new_attr( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormattingOptions` is never constructed [INFO] [stdout] --> src/formatters/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FormattingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_statement_prefix` and `clear_statement_prefix` are never used [INFO] [stdout] --> src/formatters/cpp.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> CppFormatter<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn set_statement_prefix(&mut self, prefix: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn clear_statement_prefix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic_type` is never used [INFO] [stdout] --> src/formatters/theme.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn generic_type(base: &str, params: &[&str]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_call` is never used [INFO] [stdout] --> src/formatters/theme.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn function_call(func_name: &str, args: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `member_access` is never used [INFO] [stdout] --> src/formatters/theme.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn member_access(object: &str, member: &str, is_variable: bool) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parameter_name` is never used [INFO] [stdout] --> src/paste.rs:1185:4 [INFO] [stdout] | [INFO] [stdout] 1185 | fn get_parameter_name(expr: &Expr, ctx: &PasteContext) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop` [INFO] [stdout] --> src/paste.rs:1175:18 [INFO] [stdout] | [INFO] [stdout] 1175 | fn is_temp_local(prop: &jmap::Property) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/bytecode/address_index.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ObjectInfo<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub path: &'a str, [INFO] [stdout] 10 | pub object: &'a ObjectType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset_to_block` is never read [INFO] [stdout] --> src/bytecode/cfg.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct ControlFlowGraph { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub offset_to_block: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlFlowGraph` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_at_offset` is never used [INFO] [stdout] --> src/bytecode/cfg.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ControlFlowGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_block_at_offset(&self, offset: BytecodeOffset) -> Option<&BasicBlock> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `strictly_dominates`, `dominated_by`, `immediate_dominator`, and `dominance_frontier` are never used [INFO] [stdout] --> src/bytecode/dominators.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DominatorTree { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn strictly_dominates(&self, dominator: BlockId, dominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn dominated_by(&self, dominator: BlockId) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn immediate_dominator(&self, block: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn dominance_frontier(&self, cfg: &ControlFlowGraph, block: BlockId) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `children` is never read [INFO] [stdout] --> src/bytecode/dominators.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct PostDominatorTree { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 269 | pub children: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostDominatorTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post_dominates`, `strictly_post_dominates`, `immediate_post_dominator`, and `immediate_common_post_dominator` are never used [INFO] [stdout] --> src/bytecode/dominators.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl PostDominatorTree { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn post_dominates(&self, postdom: BlockId, postdominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn strictly_post_dominates(&self, postdom: BlockId, postdominated: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn immediate_post_dominator(&self, block: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn immediate_common_post_dominator(&self, b1: BlockId, b2: BlockId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/bytecode/expr.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 482 | SetSet { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 483 | set_expr: Box, [INFO] [stdout] 484 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/bytecode/expr.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 487 | SetMap { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 488 | map_expr: Box, [INFO] [stdout] 489 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum LogLevel { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/bytecode/logger.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Logger { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn error(&self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StderrLogger` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StderrLogger { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `all`, `info_and_above`, `warn_and_above`, and `error_only` are never used [INFO] [stdout] --> src/bytecode/logger.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl StderrLogger { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn new(min_level: LogLevel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn info_and_above() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn warn_and_above() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn error_only() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferedLogger` is never constructed [INFO] [stdout] --> src/bytecode/logger.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BufferedLogger { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `all`, `messages`, and `clear` are never used [INFO] [stdout] --> src/bytecode/logger.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl BufferedLogger { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 89 | pub fn new(min_level: LogLevel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn all() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn messages(&self) -> Vec<(LogLevel, String)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LoggerRef` is never used [INFO] [stdout] --> src/bytecode/logger.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub type LoggerRef<'a> = &'a dyn Logger; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_nested` is never used [INFO] [stdout] --> src/bytecode/loops.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Loop { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_nested(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loop_for_block` and `is_loop_header` are never used [INFO] [stdout] --> src/bytecode/loops.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl LoopInfo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn get_loop_for_block(&self, block: BlockId) -> Option<&Loop> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn is_loop_header(&self, block: BlockId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opcode_value` is never used [INFO] [stdout] --> src/bytecode/opcodes.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 12 | impl EExprToken { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 13 | pub fn opcode_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | / define_opcodes! { [INFO] [stdout] 33 | | (0x00, LocalVariable), [INFO] [stdout] 34 | | (0x01, InstanceVariable), [INFO] [stdout] 35 | | (0x02, DefaultVariable), [INFO] [stdout] ... | [INFO] [stdout] 127 | | (0x6D, FieldPathConst), [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_opcodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_index` is never read [INFO] [stdout] --> src/bytecode/reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ScriptReader<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | address_index: &'a AddressIndex<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_dot` is never used [INFO] [stdout] --> src/bytecode/structured.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 346 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 347 | /// Export the region graph to DOT format for visualization [INFO] [stdout] 348 | pub fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `replace_node` and `remove_edge` are never used [INFO] [stdout] --> src/bytecode/structured.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 403 | impl Region { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 484 | fn replace_node(&mut self, old: BlockId, new_id: BlockId, new_node: StructuredNode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | fn remove_edge(&mut self, from: BlockId, to: BlockId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protected_edges` is never read [INFO] [stdout] --> src/bytecode/structured.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 540 | pub struct PhoenixStructurer<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 544 | protected_edges: HashSet<(BlockId, BlockId)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormattingOptions` is never constructed [INFO] [stdout] --> src/formatters/mod.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FormattingOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_statement_prefix` and `clear_statement_prefix` are never used [INFO] [stdout] --> src/formatters/cpp.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> CppFormatter<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn set_statement_prefix(&mut self, prefix: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn clear_statement_prefix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parameter_name` is never used [INFO] [stdout] --> src/paste.rs:1185:4 [INFO] [stdout] | [INFO] [stdout] 1185 | fn get_parameter_name(expr: &Expr, ctx: &PasteContext) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.74s [INFO] running `Command { std: "docker" "inspect" "90f0b3d9181e01167dfac709e314c6e8c3e4fcdb770a670243fa624c20f66544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f0b3d9181e01167dfac709e314c6e8c3e4fcdb770a670243fa624c20f66544", kill_on_drop: false }` [INFO] [stdout] 90f0b3d9181e01167dfac709e314c6e8c3e4fcdb770a670243fa624c20f66544