[INFO] cloning repository https://github.com/Stanislaw3737/MORRIS-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stanislaw3737/MORRIS-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStanislaw3737%2FMORRIS-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStanislaw3737%2FMORRIS-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71dfed228ebc975a01540726c2cc955c2d097f0a [INFO] checking Stanislaw3737/MORRIS-shell against master#eeb94be79adc9df7a09ad0b2421f16e60e6d932c for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStanislaw3737%2FMORRIS-shell" "/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/Stanislaw3737/MORRIS-shell [INFO] finished tweaking git repo https://github.com/Stanislaw3737/MORRIS-shell [INFO] tweaked toml for git repo https://github.com/Stanislaw3737/MORRIS-shell written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Stanislaw3737/MORRIS-shell on toolchain eeb94be79adc9df7a09ad0b2421f16e60e6d932c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Stanislaw3737/MORRIS-shell 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" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded supports-color v2.1.0 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded shellexpand v3.1.1 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded rustyline v12.0.0 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dc986a0edd6f18b9ef37cc1d169e0af2848f23e5eff432ff4d8f3c877930279 [INFO] running `Command { std: "docker" "start" "-a" "8dc986a0edd6f18b9ef37cc1d169e0af2848f23e5eff432ff4d8f3c877930279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dc986a0edd6f18b9ef37cc1d169e0af2848f23e5eff432ff4d8f3c877930279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc986a0edd6f18b9ef37cc1d169e0af2848f23e5eff432ff4d8f3c877930279", kill_on_drop: false }` [INFO] [stdout] 8dc986a0edd6f18b9ef37cc1d169e0af2848f23e5eff432ff4d8f3c877930279 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7dc164f0d311a94377916450a8f26c3a44ea03f7730ba530efb872ee6ee0f97 [INFO] running `Command { std: "docker" "start" "-a" "f7dc164f0d311a94377916450a8f26c3a44ea03f7730ba530efb872ee6ee0f97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking morris v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SafetyLevel` [INFO] [stdout] --> src/core/library_manager.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::intent::{Intent, SafetyLevel}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceLimits` [INFO] [stdout] --> src/core/startup_validator.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::safety_guard::{SafetyRules, ResourceLimits}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/core/startup_validator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SafetyLevel` [INFO] [stdout] --> src/core/library_manager.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::intent::{Intent, SafetyLevel}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceLimits` [INFO] [stdout] --> src/core/startup_validator.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::safety_guard::{SafetyRules, ResourceLimits}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/core/startup_validator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `escaped` is never read [INFO] [stdout] --> src/core/expr.rs:1642:39 [INFO] [stdout] | [INFO] [stdout] 1642 | let mut escaped = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/propagate.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/propagate.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `escaped` is never read [INFO] [stdout] --> src/core/expr.rs:1642:39 [INFO] [stdout] | [INFO] [stdout] 1642 | let mut escaped = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `removed_item` [INFO] [stdout] --> src/core/builtins.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | let removed_item = new_items.remove(index); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/propagate.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/propagate.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `removed_item` [INFO] [stdout] --> src/core/builtins.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | let removed_item = new_items.remove(index); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intent` [INFO] [stdout] --> src/core/library_manager.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | for (name, intent) in &state.user_intents { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_intent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/core/library_manager.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_intent_file(&self, content: &str, file_path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/library_manager.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | Ok(mut intent) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library_manager.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/startup_validator.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut validator = Self { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/core/startup_validator.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn validate_environment(&self, report: &mut ValidationReport) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/core/startup_validator.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn detect_tampering(&self, report: &mut ValidationReport) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/startup_validator.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn validate_current_state(&self, env: &crate::core::env::Env, defined_intents: &HashMap src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut loaded_intents = match validator.library_manager().load_intent_files() { [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/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut all_intents = loaded_intents; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library_state` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let library_state = match validator.library_manager.load_validated_library() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_intents` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut all_intents = loaded_intents; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_intents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intent` [INFO] [stdout] --> src/core/library_manager.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | for (name, intent) in &state.user_intents { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_intent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/core/library_manager.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | fn parse_intent_file(&self, content: &str, file_path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/library_manager.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | Ok(mut intent) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/core/library_manager.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/startup_validator.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut validator = Self { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/core/startup_validator.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn validate_environment(&self, report: &mut ValidationReport) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report` [INFO] [stdout] --> src/core/startup_validator.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn detect_tampering(&self, report: &mut ValidationReport) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/core/startup_validator.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn validate_current_state(&self, env: &crate::core::env::Env, defined_intents: &HashMap src/main.rs:1223:29 [INFO] [stdout] | [INFO] [stdout] 1223 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1229:21 [INFO] [stdout] | [INFO] [stdout] 1229 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut loaded_intents = match validator.library_manager().load_intent_files() { [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/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut all_intents = loaded_intents; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `library_state` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let library_state = match validator.library_manager.load_validated_library() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_intents` [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut all_intents = loaded_intents; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_intents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1223:29 [INFO] [stdout] | [INFO] [stdout] 1223 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:1229:21 [INFO] [stdout] | [INFO] [stdout] 1229 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:3525:37 [INFO] [stdout] | [INFO] [stdout] 3525 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:3530:29 [INFO] [stdout] | [INFO] [stdout] 3530 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multiline_type` is assigned to, but never used [INFO] [stdout] --> src/main.rs:3891:9 [INFO] [stdout] | [INFO] [stdout] 3891 | let mut multiline_type = MultilineType::Generic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_multiline_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `multiline_type` is never read [INFO] [stdout] --> src/main.rs:3959:17 [INFO] [stdout] | [INFO] [stdout] 3959 | multiline_type = detect_multiline_type(statement_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> src/main.rs:4328:5 [INFO] [stdout] | [INFO] [stdout] 4328 | printer: &Printer, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:4384:5 [INFO] [stdout] | [INFO] [stdout] 4384 | env: &mut Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:3525:37 [INFO] [stdout] | [INFO] [stdout] 3525 | ... Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:3530:29 [INFO] [stdout] | [INFO] [stdout] 3530 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multiline_type` is assigned to, but never used [INFO] [stdout] --> src/main.rs:3891:9 [INFO] [stdout] | [INFO] [stdout] 3891 | let mut multiline_type = MultilineType::Generic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_multiline_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_ctrlc_handler` is never used [INFO] [stdout] --> src/main.rs:570:4 [INFO] [stdout] | [INFO] [stdout] 570 | fn setup_ctrlc_handler() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_safety_condition` is never used [INFO] [stdout] --> src/main.rs:3404:4 [INFO] [stdout] | [INFO] [stdout] 3404 | fn evaluate_safety_condition(condition: &str, _outcome: &crate::core::transaction::ScenarioOutcome, _env: &Env) -> Result<(bool, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `multiline_type` is never read [INFO] [stdout] --> src/main.rs:3959:17 [INFO] [stdout] | [INFO] [stdout] 3959 | multiline_type = detect_multiline_type(statement_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_condition_expression` is never used [INFO] [stdout] --> src/main.rs:3433:4 [INFO] [stdout] | [INFO] [stdout] 3433 | fn evaluate_condition_expression(condition: &str, _env: &Env) -> Result<(bool, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_expression_with_temp_env` is never used [INFO] [stdout] --> src/main.rs:3549:4 [INFO] [stdout] | [INFO] [stdout] 3549 | fn evaluate_expression_with_temp_env( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_assign_intent` is never used [INFO] [stdout] --> src/main.rs:3736:4 [INFO] [stdout] | [INFO] [stdout] 3736 | fn execute_assign_intent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `restore_from_snapshot` is never used [INFO] [stdout] --> src/core/env.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn restore_from_snapshot(&mut self, snapshot: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_condition_expression` is never used [INFO] [stdout] --> src/core/expr.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | fn parse_condition_expression(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_logical_operator` is never used [INFO] [stdout] --> src/core/expr.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn find_logical_operator(s: &str, op: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_dict_from_cleaned` is never used [INFO] [stdout] --> src/core/expr.rs:1496:4 [INFO] [stdout] | [INFO] [stdout] 1496 | fn parse_dict_from_cleaned(token: &str) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_json_pairs` is never used [INFO] [stdout] --> src/core/expr.rs:1516:4 [INFO] [stdout] | [INFO] [stdout] 1516 | fn split_json_pairs(content: &str) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_multiline_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2139:4 [INFO] [stdout] | [INFO] [stdout] 2139 | fn is_multiline_match_expression(lines: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_multiline_conditional` is never used [INFO] [stdout] --> src/core/expr.rs:2164:4 [INFO] [stdout] | [INFO] [stdout] 2164 | fn is_multiline_conditional(input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_multiline_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2187:4 [INFO] [stdout] | [INFO] [stdout] 2187 | fn parse_multiline_match_expression(lines: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2202:4 [INFO] [stdout] | [INFO] [stdout] 2202 | fn parse_match_expression(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_existing_type_hints` is never used [INFO] [stdout] --> src/core/intent.rs:1105:4 [INFO] [stdout] | [INFO] [stdout] 1105 | fn handle_existing_type_hints(value_part: &str, intent: &mut Intent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/core/builtins.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn filter(list_value: &Value, condition_expr: &str, env: &crate::core::env::Env) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inverse`, `Statistical`, `Temporal`, and `Conditional` are never constructed [INFO] [stdout] --> src/core/propagation/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DependencyType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | Direct, [INFO] [stdout] 10 | Inverse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Statistical, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Temporal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyType` 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 `metadata` is never read [INFO] [stdout] --> src/core/propagation/types.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct VariableNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableNode` 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: fields `source`, `target`, `transform_fn`, and `created_at` are never read [INFO] [stdout] --> src/core/propagation/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DependencyEdge { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub transform_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyEdge` 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 `variable_metadata` is never read [INFO] [stdout] --> src/core/propagation/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PropagationGraph { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub variable_metadata: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conflicts_resolved` is never read [INFO] [stdout] --> src/core/propagation/types.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PropagationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub conflicts_resolved: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationResult` 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 `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | VariableNotFound(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - VariableNotFound(String), [INFO] [stdout] 68 + VariableNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | CircularDependency(Vec), [INFO] [stdout] | ------------------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - CircularDependency(Vec), [INFO] [stdout] 69 + CircularDependency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | ConstraintViolation(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - ConstraintViolation(String), [INFO] [stdout] 70 + ConstraintViolation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | InvalidDependency(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - InvalidDependency(String), [INFO] [stdout] 72 + InvalidDependency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout` and `TransactionConflict` are never constructed [INFO] [stdout] --> src/core/propagation/types.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum PropagationError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | InvalidDependency(String), [INFO] [stdout] 73 | TransactionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_value` is never read [INFO] [stdout] --> src/core/propagation/types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PropagationEvent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub old_value: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationEvent` 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 `remove_variable` is never used [INFO] [stdout] --> src/core/propagation/graph.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PropagationGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn remove_variable(&mut self, name: &str) -> Result<(), PropagationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/core/propagation/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct PendingChange { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | timestamp: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingChange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/propagation/engine.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl PropagationEngine { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn find_propagation_path(&self, _from: &str, _to: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn unfreeze_variable(&mut self, name: &str) -> Result<(), PropagationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn graph_mut(&mut self) -> &mut PropagationGraph { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn variable_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn bulk_register_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn bulk_add_dependencies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tempered`, `Annealing`, and `Polishing` are never constructed [INFO] [stdout] --> src/core/transaction/types.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum TransactionState { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 80 | Crafting, [INFO] [stdout] 81 | Tempered, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | Annealing(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | Polishing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionState` 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: fields `metadata`, `parent_transaction`, and `failed_propagations` are never read [INFO] [stdout] --> src/core/transaction/types.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub parent_transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub failed_propagations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `add_metadata` is never used [INFO] [stdout] --> src/core/transaction/types.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn add_metadata(&mut self, key: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VariableNotFound`, `ConstraintViolation`, `PropagationError`, `CircularDependency`, `MergeConflict`, and `InvalidState` are never constructed [INFO] [stdout] --> src/core/transaction/types.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub enum TransactionError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 277 | VariableNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | ConstraintViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | PropagationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | CircularDependency(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | MergeConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 282 | InvalidState(TransactionState, &'static str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhatIfScenario` is never constructed [INFO] [stdout] --> src/core/transaction/types.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct WhatIfScenario { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `forge`, `evaluate_and_apply_change`, and `rollback_transaction` are never used [INFO] [stdout] --> src/core/transaction/engine.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TransactionEngine { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn forge(&mut self, env: &mut crate::core::env::Env) -> Result, TransactionError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn evaluate_and_apply_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn rollback_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integrity_store` is never read [INFO] [stdout] --> src/core/library_manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LibraryManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | base_path: PathBuf, [INFO] [stdout] 10 | integrity_store: IntegrityStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_hash`, `parse_set_intent_definition`, and `parse_ensure_intent_definition` are never used [INFO] [stdout] --> src/core/library_manager.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn calculate_hash(&self, content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn parse_set_intent_definition(&self, name: &str, body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn parse_ensure_intent_definition(&self, name: &str, body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quarantined_files` and `validation_errors` are never read [INFO] [stdout] --> src/core/library_manager.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct LibraryState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 416 | pub quarantined_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 417 | pub validation_errors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_system_hash` is never used [INFO] [stdout] --> src/core/library_manager.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl IntegrityStore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn get_system_hash(&self, file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_fallback_intent` is never used [INFO] [stdout] --> src/core/library_manager.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | fn create_fallback_intent(name: &str, definition: &str) -> Intent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `validation_time` are never read [INFO] [stdout] --> src/core/startup_validator.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct ValidationReport { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub info: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub validation_time: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationReport` 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: associated function `new` is never used [INFO] [stdout] --> src/core/startup_validator.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 272 | impl ValidationIssue { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 273 | pub fn new(issue: String, details: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_child_context` and `validate_reflection` are never used [INFO] [stdout] --> src/core/safety_guard.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SafetyGuard { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn create_child_context(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn validate_reflection(&self, intent: &crate::core::intent::Intent) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_intent_size` and `max_execution_time` are never read [INFO] [stdout] --> src/core/safety_guard.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ResourceLimits { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub max_variables: usize, [INFO] [stdout] 121 | pub max_intent_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | pub max_execution_time: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceLimits` 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: fields `max_recursion_depth` and `resource_limits` are never read [INFO] [stdout] --> src/core/safety_guard.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SafetyRules { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 136 | pub max_recursion_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub resource_limits: ResourceLimits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SafetyRules` 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: associated items `should_exit_multiline` and `is_statement_complete` are never used [INFO] [stdout] --> src/repl.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Repl { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn should_exit_multiline(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn is_statement_complete(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `printer` [INFO] [stdout] --> src/main.rs:4328:5 [INFO] [stdout] | [INFO] [stdout] 4328 | printer: &Printer, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_printer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:4384:5 [INFO] [stdout] | [INFO] [stdout] 4384 | env: &mut Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1957:5 [INFO] [stdout] | [INFO] [stdout] 1957 | process_script_content(&content, env, history, history_manager, engine_manager, library, printer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1957 | let _ = process_script_content(&content, env, history, history_manager, engine_manager, library, printer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_ctrlc_handler` is never used [INFO] [stdout] --> src/main.rs:570:4 [INFO] [stdout] | [INFO] [stdout] 570 | fn setup_ctrlc_handler() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_safety_condition` is never used [INFO] [stdout] --> src/main.rs:3404:4 [INFO] [stdout] | [INFO] [stdout] 3404 | fn evaluate_safety_condition(condition: &str, _outcome: &crate::core::transaction::ScenarioOutcome, _env: &Env) -> Result<(bool, S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_condition_expression` is never used [INFO] [stdout] --> src/main.rs:3433:4 [INFO] [stdout] | [INFO] [stdout] 3433 | fn evaluate_condition_expression(condition: &str, _env: &Env) -> Result<(bool, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate_expression_with_temp_env` is never used [INFO] [stdout] --> src/main.rs:3549:4 [INFO] [stdout] | [INFO] [stdout] 3549 | fn evaluate_expression_with_temp_env( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_assign_intent` is never used [INFO] [stdout] --> src/main.rs:3736:4 [INFO] [stdout] | [INFO] [stdout] 3736 | fn execute_assign_intent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `restore_from_snapshot` is never used [INFO] [stdout] --> src/core/env.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn restore_from_snapshot(&mut self, snapshot: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_condition_expression` is never used [INFO] [stdout] --> src/core/expr.rs:614:4 [INFO] [stdout] | [INFO] [stdout] 614 | fn parse_condition_expression(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_logical_operator` is never used [INFO] [stdout] --> src/core/expr.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn find_logical_operator(s: &str, op: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_dict_from_cleaned` is never used [INFO] [stdout] --> src/core/expr.rs:1496:4 [INFO] [stdout] | [INFO] [stdout] 1496 | fn parse_dict_from_cleaned(token: &str) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_json_pairs` is never used [INFO] [stdout] --> src/core/expr.rs:1516:4 [INFO] [stdout] | [INFO] [stdout] 1516 | fn split_json_pairs(content: &str) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_multiline_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2139:4 [INFO] [stdout] | [INFO] [stdout] 2139 | fn is_multiline_match_expression(lines: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_multiline_conditional` is never used [INFO] [stdout] --> src/core/expr.rs:2164:4 [INFO] [stdout] | [INFO] [stdout] 2164 | fn is_multiline_conditional(input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_multiline_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2187:4 [INFO] [stdout] | [INFO] [stdout] 2187 | fn parse_multiline_match_expression(lines: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_match_expression` is never used [INFO] [stdout] --> src/core/expr.rs:2202:4 [INFO] [stdout] | [INFO] [stdout] 2202 | fn parse_match_expression(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_existing_type_hints` is never used [INFO] [stdout] --> src/core/intent.rs:1105:4 [INFO] [stdout] | [INFO] [stdout] 1105 | fn handle_existing_type_hints(value_part: &str, intent: &mut Intent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter` is never used [INFO] [stdout] --> src/core/builtins.rs:281:8 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn filter(list_value: &Value, condition_expr: &str, env: &crate::core::env::Env) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Inverse`, `Statistical`, `Temporal`, and `Conditional` are never constructed [INFO] [stdout] --> src/core/propagation/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum DependencyType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | Direct, [INFO] [stdout] 10 | Inverse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Statistical, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Temporal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyType` 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 `metadata` is never read [INFO] [stdout] --> src/core/propagation/types.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct VariableNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableNode` 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: fields `source`, `target`, `transform_fn`, and `created_at` are never read [INFO] [stdout] --> src/core/propagation/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DependencyEdge { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub transform_fn: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 36 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependencyEdge` 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 `variable_metadata` is never read [INFO] [stdout] --> src/core/propagation/types.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PropagationGraph { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub variable_metadata: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conflicts_resolved` is never read [INFO] [stdout] --> src/core/propagation/types.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PropagationResult { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | pub conflicts_resolved: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationResult` 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 `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | VariableNotFound(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 68 - VariableNotFound(String), [INFO] [stdout] 68 + VariableNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | CircularDependency(Vec), [INFO] [stdout] | ------------------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - CircularDependency(Vec), [INFO] [stdout] 69 + CircularDependency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | ConstraintViolation(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - ConstraintViolation(String), [INFO] [stdout] 70 + ConstraintViolation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/propagation/types.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | InvalidDependency(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - InvalidDependency(String), [INFO] [stdout] 72 + InvalidDependency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout` and `TransactionConflict` are never constructed [INFO] [stdout] --> src/core/propagation/types.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum PropagationError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 71 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | InvalidDependency(String), [INFO] [stdout] 73 | TransactionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `old_value` is never read [INFO] [stdout] --> src/core/propagation/types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct PropagationEvent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub old_value: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropagationEvent` 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 `remove_variable` is never used [INFO] [stdout] --> src/core/propagation/graph.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PropagationGraph { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn remove_variable(&mut self, name: &str) -> Result<(), PropagationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/core/propagation/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct PendingChange { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | timestamp: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingChange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/propagation/engine.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl PropagationEngine { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn find_propagation_path(&self, _from: &str, _to: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn unfreeze_variable(&mut self, name: &str) -> Result<(), PropagationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn graph_mut(&mut self) -> &mut PropagationGraph { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn has_variable(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn variable_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn bulk_register_variables( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn bulk_add_dependencies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tempered`, `Annealing`, and `Polishing` are never constructed [INFO] [stdout] --> src/core/transaction/types.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum TransactionState { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 80 | Crafting, [INFO] [stdout] 81 | Tempered, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | Annealing(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 86 | Polishing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionState` 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: fields `metadata`, `parent_transaction`, and `failed_propagations` are never read [INFO] [stdout] --> src/core/transaction/types.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 167 | pub parent_transaction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub failed_propagations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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 `add_metadata` is never used [INFO] [stdout] --> src/core/transaction/types.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn add_metadata(&mut self, key: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VariableNotFound`, `ConstraintViolation`, `PropagationError`, `CircularDependency`, `MergeConflict`, and `InvalidState` are never constructed [INFO] [stdout] --> src/core/transaction/types.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 274 | pub enum TransactionError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 277 | VariableNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | ConstraintViolation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | PropagationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | CircularDependency(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | MergeConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 282 | InvalidState(TransactionState, &'static str), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhatIfScenario` is never constructed [INFO] [stdout] --> src/core/transaction/types.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub struct WhatIfScenario { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `forge`, `evaluate_and_apply_change`, and `rollback_transaction` are never used [INFO] [stdout] --> src/core/transaction/engine.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TransactionEngine { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn forge(&mut self, env: &mut crate::core::env::Env) -> Result, TransactionError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn evaluate_and_apply_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn rollback_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `integrity_store` is never read [INFO] [stdout] --> src/core/library_manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LibraryManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 9 | base_path: PathBuf, [INFO] [stdout] 10 | integrity_store: IntegrityStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_hash`, `parse_set_intent_definition`, and `parse_ensure_intent_definition` are never used [INFO] [stdout] --> src/core/library_manager.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl LibraryManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn calculate_hash(&self, content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn parse_set_intent_definition(&self, name: &str, body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn parse_ensure_intent_definition(&self, name: &str, body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quarantined_files` and `validation_errors` are never read [INFO] [stdout] --> src/core/library_manager.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 413 | pub struct LibraryState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 416 | pub quarantined_files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 417 | pub validation_errors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_system_hash` is never used [INFO] [stdout] --> src/core/library_manager.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl IntegrityStore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn get_system_hash(&self, file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_fallback_intent` is never used [INFO] [stdout] --> src/core/library_manager.rs:503:4 [INFO] [stdout] | [INFO] [stdout] 503 | fn create_fallback_intent(name: &str, definition: &str) -> Intent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info` and `validation_time` are never read [INFO] [stdout] --> src/core/startup_validator.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct ValidationReport { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 216 | pub info: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 217 | pub validation_time: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationReport` 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: associated function `new` is never used [INFO] [stdout] --> src/core/startup_validator.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 272 | impl ValidationIssue { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 273 | pub fn new(issue: String, details: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_child_context` and `validate_reflection` are never used [INFO] [stdout] --> src/core/safety_guard.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SafetyGuard { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn create_child_context(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn validate_reflection(&self, intent: &crate::core::intent::Intent) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_intent_size` and `max_execution_time` are never read [INFO] [stdout] --> src/core/safety_guard.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ResourceLimits { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 120 | pub max_variables: usize, [INFO] [stdout] 121 | pub max_intent_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | pub max_execution_time: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceLimits` 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: fields `max_recursion_depth` and `resource_limits` are never read [INFO] [stdout] --> src/core/safety_guard.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct SafetyRules { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 136 | pub max_recursion_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub resource_limits: ResourceLimits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SafetyRules` 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: associated items `should_exit_multiline` and `is_statement_complete` are never used [INFO] [stdout] --> src/repl.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Repl { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn should_exit_multiline(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn is_statement_complete(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1957:5 [INFO] [stdout] | [INFO] [stdout] 1957 | process_script_content(&content, env, history, history_manager, engine_manager, library, printer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1957 | let _ = process_script_content(&content, env, history, history_manager, engine_manager, library, printer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/propagation/engine.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | self.queue_change(name, new_value, std::time::Duration::from_millis(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.queue_change(name, new_value, std::time::Duration::from_millis(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/core/propagation/engine.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | self.queue_change(name, new_value, std::time::Duration::from_millis(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.queue_change(name, new_value, std::time::Duration::from_millis(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.75s [INFO] running `Command { std: "docker" "inspect" "f7dc164f0d311a94377916450a8f26c3a44ea03f7730ba530efb872ee6ee0f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7dc164f0d311a94377916450a8f26c3a44ea03f7730ba530efb872ee6ee0f97", kill_on_drop: false }` [INFO] [stdout] f7dc164f0d311a94377916450a8f26c3a44ea03f7730ba530efb872ee6ee0f97