[INFO] cloning repository https://github.com/CandanUmut/Systematic-Automation-Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CandanUmut/Systematic-Automation-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCandanUmut%2FSystematic-Automation-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCandanUmut%2FSystematic-Automation-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 544ad7758bde3ac5ccfe9341a2a75392f2fd9d9d [INFO] checking CandanUmut/Systematic-Automation-Engine against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCandanUmut%2FSystematic-Automation-Engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CandanUmut/Systematic-Automation-Engine [INFO] finished tweaking git repo https://github.com/CandanUmut/Systematic-Automation-Engine [INFO] tweaked toml for git repo https://github.com/CandanUmut/Systematic-Automation-Engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CandanUmut/Systematic-Automation-Engine on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CandanUmut/Systematic-Automation-Engine 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.13 [INFO] [stderr] Downloaded serde_derive v1.0.216 [INFO] [stderr] Downloaded fantoccini v0.17.7 [INFO] [stderr] Downloaded webdriver v0.43.1 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded serde v1.0.216 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ec90b842f6b9e65a7281925eea41ec3c13cf63526339d4ac79c86342175a58e [INFO] running `Command { std: "docker" "start" "-a" "9ec90b842f6b9e65a7281925eea41ec3c13cf63526339d4ac79c86342175a58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ec90b842f6b9e65a7281925eea41ec3c13cf63526339d4ac79c86342175a58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec90b842f6b9e65a7281925eea41ec3c13cf63526339d4ac79c86342175a58e", kill_on_drop: false }` [INFO] [stdout] 9ec90b842f6b9e65a7281925eea41ec3c13cf63526339d4ac79c86342175a58e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d4414e058706e40dbc207b92c643cef44102b451f64c70f81cb53c3ea7ee7ee [INFO] running `Command { std: "docker" "start" "-a" "0d4414e058706e40dbc207b92c643cef44102b451f64c70f81cb53c3ea7ee7ee", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webdriver v0.43.1 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking fantoccini v0.17.7 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking systematic_automation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_library.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [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: `task_library` [INFO] [stdout] --> src/ui.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{automation_engine, task_library, rewards}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fantoccini::Client` [INFO] [stdout] --> src/executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fantoccini::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskResult` [INFO] [stdout] --> src/central_coordinator.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::task_model::{Subtask, TaskResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/central_coordinator.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/task_library.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [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: `task_library` [INFO] [stdout] --> src/ui.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{automation_engine, task_library, rewards}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fantoccini::Client` [INFO] [stdout] --> src/executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fantoccini::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskResult` [INFO] [stdout] --> src/central_coordinator.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::task_model::{Subtask, TaskResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/central_coordinator.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `fantoccini::Client::new`: Prefer ClientBuilder::native [INFO] [stdout] --> src/web_interaction.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let client = Client::new("http://localhost:4444").await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `fantoccini::Client::new`: Prefer ClientBuilder::native [INFO] [stdout] --> src/web_interaction.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let client = Client::new("http://localhost:4444").await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_task` is never used [INFO] [stdout] --> src/automation_engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn create_task() { [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 `run_task` is never used [INFO] [stdout] --> src/automation_engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn run_task() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WebInteractionError` is never used [INFO] [stdout] --> src/web_interaction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum WebInteractionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_task` is never used [INFO] [stdout] --> src/automation_engine.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn create_task() { [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 `run_task` is never used [INFO] [stdout] --> src/automation_engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn run_task() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WebInteractionError` is never used [INFO] [stdout] --> src/web_interaction.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum WebInteractionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_browser` is never used [INFO] [stdout] --> src/web_interaction.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn start_browser() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_website` is never used [INFO] [stdout] --> src/web_interaction.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn open_website(client: &mut Client, url: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `click_element` is never used [INFO] [stdout] --> src/web_interaction.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn click_element(client: &mut Client, selector: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_form_field` is never used [INFO] [stdout] --> src/web_interaction.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn fill_form_field(client: &mut Client, selector: &str, value: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_screenshot` is never used [INFO] [stdout] --> src/web_interaction.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn take_screenshot(client: &mut Client, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_element` is never used [INFO] [stdout] --> src/web_interaction.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn wait_for_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_element_with_timeout` is never used [INFO] [stdout] --> src/web_interaction.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn wait_for_element_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_task` is never used [INFO] [stdout] --> src/task_library.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn save_task(name: String, steps: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_task` is never used [INFO] [stdout] --> src/task_library.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn load_task(name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_ui` is never used [INFO] [stdout] --> src/ui.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn start_ui() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_task` is never used [INFO] [stdout] --> src/executor.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn execute_task(task: AutomationTask) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutomationTask` is never constructed [INFO] [stdout] --> src/task_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AutomationTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/task_model.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Subtask { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub id: usize, [INFO] [stdout] 8 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subtask` 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 `id` and `status` are never read [INFO] [stdout] --> src/task_model.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TaskResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_step` are never used [INFO] [stdout] --> src/task_model.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AutomationTask { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 19 | // Add a constructor for creating tasks [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add_step(&mut self, step: TaskStep) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaskStep` is never used [INFO] [stdout] --> src/task_model.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum TaskStep { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_reward` is never used [INFO] [stdout] --> src/rewards.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_reward(amount: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_rewards` is never used [INFO] [stdout] --> src/rewards.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn view_rewards() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_browser` is never used [INFO] [stdout] --> src/web_interaction.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn start_browser() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_website` is never used [INFO] [stdout] --> src/web_interaction.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn open_website(client: &mut Client, url: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `click_element` is never used [INFO] [stdout] --> src/web_interaction.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn click_element(client: &mut Client, selector: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_form_field` is never used [INFO] [stdout] --> src/web_interaction.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn fill_form_field(client: &mut Client, selector: &str, value: &str) -> Result<(), fantoccini::error::CmdError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_screenshot` is never used [INFO] [stdout] --> src/web_interaction.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn take_screenshot(client: &mut Client, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_element` is never used [INFO] [stdout] --> src/web_interaction.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn wait_for_element( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_element_with_timeout` is never used [INFO] [stdout] --> src/web_interaction.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn wait_for_element_with_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_task` is never used [INFO] [stdout] --> src/task_library.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn save_task(name: String, steps: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_task` is never used [INFO] [stdout] --> src/task_library.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn load_task(name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_ui` is never used [INFO] [stdout] --> src/ui.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn start_ui() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_task` is never used [INFO] [stdout] --> src/executor.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn execute_task(task: AutomationTask) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutomationTask` is never constructed [INFO] [stdout] --> src/task_model.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AutomationTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/task_model.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Subtask { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub id: usize, [INFO] [stdout] 8 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subtask` 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 `id` and `status` are never read [INFO] [stdout] --> src/task_model.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TaskResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_step` are never used [INFO] [stdout] --> src/task_model.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AutomationTask { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 19 | // Add a constructor for creating tasks [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add_step(&mut self, step: TaskStep) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaskStep` is never used [INFO] [stdout] --> src/task_model.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum TaskStep { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_reward` is never used [INFO] [stdout] --> src/rewards.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_reward(amount: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view_rewards` is never used [INFO] [stdout] --> src/rewards.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn view_rewards() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.76s [INFO] running `Command { std: "docker" "inspect" "0d4414e058706e40dbc207b92c643cef44102b451f64c70f81cb53c3ea7ee7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4414e058706e40dbc207b92c643cef44102b451f64c70f81cb53c3ea7ee7ee", kill_on_drop: false }` [INFO] [stdout] 0d4414e058706e40dbc207b92c643cef44102b451f64c70f81cb53c3ea7ee7ee