[INFO] cloning repository https://github.com/rustisan/rustisan-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustisan/rustisan-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustisan%2Frustisan-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustisan%2Frustisan-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ad279c71b185065db3360a3e0971e81307d0b9d [INFO] building rustisan/rustisan-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustisan%2Frustisan-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rustisan/rustisan-cli [INFO] finished tweaking git repo https://github.com/rustisan/rustisan-cli [INFO] tweaked toml for git repo https://github.com/rustisan/rustisan-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustisan/rustisan-cli on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustisan/rustisan-cli 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b12174bb2781ba65b7ea44972000e3815b69c3b03013b576740e75e84eda6f8d [INFO] running `Command { std: "docker" "start" "-a" "b12174bb2781ba65b7ea44972000e3815b69c3b03013b576740e75e84eda6f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b12174bb2781ba65b7ea44972000e3815b69c3b03013b576740e75e84eda6f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12174bb2781ba65b7ea44972000e3815b69c3b03013b576740e75e84eda6f8d", kill_on_drop: false }` [INFO] [stdout] b12174bb2781ba65b7ea44972000e3815b69c3b03013b576740e75e84eda6f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed8058143102aad864fa07e93df5cbdc2799f495b01ba7735b138a8dd4c7d4f9 [INFO] running `Command { std: "docker" "start" "-a" "ed8058143102aad864fa07e93df5cbdc2799f495b01ba7735b138a8dd4c7d4f9", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling handlebars v4.5.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rustisan v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `name` is not used by name [INFO] [stdout] --> src/commands/migrate.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 89 | r#"//! Migration: {} [INFO] [stdout] | -- this formatting argument uses named argument `name` by position [INFO] [stdout] ... [INFO] [stdout] 111 | name = name, [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 89 | r#"//! Migration: {name} [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `migration_class` is not used by name [INFO] [stdout] --> src/commands/migrate.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 90 | //! Created: {} [INFO] [stdout] | -- this formatting argument uses named argument `migration_class` by position [INFO] [stdout] ... [INFO] [stdout] 112 | migration_class = CommandUtils::to_pascal_case(&name), [INFO] [stdout] | ^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 90 | //! Created: {migration_class} [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratorOptions` [INFO] [stdout] --> src/commands/make.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::generators::{TemplateManager, GeneratorOptions}; [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: `std::thread` [INFO] [stdout] --> src/commands/serve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/seed.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/cache.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/deploy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/dev.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheCommands`, `ConfigCommands`, `DbCommands`, `DevCommands`, `MakeCommands`, `MigrateCommands`, `PackageCommands`, `QueueCommands`, and `RouteCommands` [INFO] [stdout] --> src/commands/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DbCommands, MakeCommands, MigrateCommands, RouteCommands, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 26 | CacheCommands, QueueCommands, ConfigCommands, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | PackageCommands, DevCommands [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use commands::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_name` [INFO] [stdout] --> src/commands/make.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let class_name = CommandUtils::to_pascal_case(&name); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create` [INFO] [stdout] --> src/commands/make.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/commands/make.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/commands/make.rs:500:38 [INFO] [stdout] | [INFO] [stdout] 500 | async fn make_listener(name: String, event: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/commands/make.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | async fn make_policy(name: String, model: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_vars` [INFO] [stdout] --> src/commands/make.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | let template_vars = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/commands/db.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | async fn create_postgres_database(db_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/commands/db.rs:300:33 [INFO] [stdout] | [INFO] [stdout] 300 | async fn drop_postgres_database(db_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/commands/db.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/commands/db.rs:307:47 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> src/commands/db.rs:307:59 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/commands/queue.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | async fn process_job(job: &Job) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/commands/queue.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/commands/queue.rs:248:40 [INFO] [stdout] | [INFO] [stdout] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | async fn deploy_aws(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | async fn deploy_gcp(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | async fn deploy_azure(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_command` [INFO] [stdout] --> src/commands/dev.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let server_command = format!("cargo run -- serve --host {} --port {} --reload", host, port); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_dir` [INFO] [stdout] --> src/commands/make.rs:612:23 [INFO] [stdout] | [INFO] [stdout] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_name` [INFO] [stdout] --> src/commands/make.rs:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/package.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/commands/package.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/package.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | fn remove_dependency_from_cargo_toml(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute_command`, `to_camel_case`, and `command_exists` are never used [INFO] [stdout] --> src/commands/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommandUtils { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn execute_command(cmd: &str, args: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn command_exists(command: &str) -> bool { [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 `check_server_health` is never used [INFO] [stdout] --> src/commands/serve.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn check_server_health(host: &str, port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_server` is never used [INFO] [stdout] --> src/commands/serve.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn wait_for_server(host: &str, port: u16, timeout_seconds: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_server_info` is never used [INFO] [stdout] --> src/commands/serve.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn display_server_info(host: &str, port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_local_ip` is never used [INFO] [stdout] --> src/commands/serve.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_local_ip() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `job_type`, `payload`, `queue`, and `attempts` are never read [INFO] [stdout] --> src/commands/queue.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 200 | struct Job { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 201 | id: String, [INFO] [stdout] 202 | job_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 203 | payload: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | queue: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | attempts: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` 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 `payload` is never read [INFO] [stdout] --> src/commands/queue.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 209 | struct FailedJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 212 | payload: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FailedJob` 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: function `run_unit_tests` is never used [INFO] [stdout] --> src/commands/test.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn run_unit_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_integration_tests` is never used [INFO] [stdout] --> src/commands/test.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | pub async fn run_integration_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark_tests` is never used [INFO] [stdout] --> src/commands/test.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | pub async fn run_benchmark_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `watch_tests` is never used [INFO] [stdout] --> src/commands/test.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub async fn watch_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_production` is never used [INFO] [stdout] --> src/commands/build.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn build_production() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_development` is never used [INFO] [stdout] --> src/commands/build.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn build_development() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_target` is never used [INFO] [stdout] --> src/commands/build.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | pub async fn build_target(target: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/commands/deploy.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct DeploymentConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeploymentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deployment_config` is never used [INFO] [stdout] --> src/commands/deploy.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | pub async fn create_deployment_config(target: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/commands/package.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct PackageInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageInfo` 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: function `search_packages` is never used [INFO] [stdout] --> src/commands/package.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | pub async fn search_packages(query: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_outdated` is never used [INFO] [stdout] --> src/commands/package.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | pub async fn check_outdated() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_checks` is never used [INFO] [stdout] --> src/commands/dev.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub async fn run_all_checks() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tests` is never used [INFO] [stdout] --> src/commands/dev.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | async fn run_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_dev_environment` is never used [INFO] [stdout] --> src/commands/dev.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | pub async fn setup_dev_environment() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dev_config_files` is never used [INFO] [stdout] --> src/commands/dev.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | async fn create_dev_config_files() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_app` is never used [INFO] [stdout] --> src/commands/dev.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | pub async fn profile_app() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/commands/dev.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | pub async fn benchmark() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Generator` is never used [INFO] [stdout] --> src/generators/mod.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Generator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratorOptions` is never constructed [INFO] [stdout] --> src/generators/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GeneratorOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_template` is never used [INFO] [stdout] --> src/generators/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl TemplateManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn has_template(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratorUtils` is never constructed [INFO] [stdout] --> src/generators/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct GeneratorUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `name_variations`, `check_file_exists`, `ensure_directory`, `write_file`, and `update_module_file` are never used [INFO] [stdout] --> src/generators/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl GeneratorUtils { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 113 | /// Convert name to various cases [INFO] [stdout] 114 | pub fn name_variations(name: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn check_file_exists(path: &Path, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn ensure_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn write_file(path: &Path, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn update_module_file(module_dir: &Path, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_camel_case` is never used [INFO] [stdout] --> src/generators/mod.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_kebab_case` is never used [INFO] [stdout] --> src/generators/mod.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn to_kebab_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_title_case` is never used [INFO] [stdout] --> src/generators/mod.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn to_title_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pluralize` is never used [INFO] [stdout] --> src/generators/mod.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn pluralize(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `singularize` is never used [INFO] [stdout] --> src/generators/mod.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn singularize(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_files_with_extension`, `file_stem`, `copy_dir`, `remove_dir_all`, `is_file`, and `is_dir` are never used [INFO] [stdout] --> src/utils/file.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn find_files_with_extension>(dir: P, extension: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn file_stem>(path: P) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn copy_dir, Q: AsRef>(from: P, to: Q) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn remove_dir_all>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_file>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn is_dir>(path: P) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessUtils` is never constructed [INFO] [stdout] --> src/utils/process.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProcessUtils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/utils/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ProcessUtils { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 12 | /// Check if a command exists in PATH [INFO] [stdout] 13 | pub fn command_exists(command: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn execute(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn execute_with_output(command: &str, args: &[&str]) -> Result<(bool, String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn execute_or_fail(command: &str, args: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn execute_in_dir>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn execute_with_code(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_windows() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_macos() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn is_linux() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_shell_command() -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn execute_shell(command: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/utils/text.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TextUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 9 | /// Capitalize first letter [INFO] [stdout] 10 | pub fn capitalize(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn to_kebab_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn pluralize(word: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn singularize(word: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn truncate(text: &str, max_length: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn pad_left(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn pad_right(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn center(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn normalize_whitespace(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_valid_identifier(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.15s [INFO] running `Command { std: "docker" "inspect" "ed8058143102aad864fa07e93df5cbdc2799f495b01ba7735b138a8dd4c7d4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed8058143102aad864fa07e93df5cbdc2799f495b01ba7735b138a8dd4c7d4f9", kill_on_drop: false }` [INFO] [stdout] ed8058143102aad864fa07e93df5cbdc2799f495b01ba7735b138a8dd4c7d4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdd024eb5e040df5102e1350c7b4751cb590d9001e79d7fb5e88a92e4ceee1a9 [INFO] running `Command { std: "docker" "start" "-a" "fdd024eb5e040df5102e1350c7b4751cb590d9001e79d7fb5e88a92e4ceee1a9", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling rustisan v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `name` is not used by name [INFO] [stdout] --> src/commands/migrate.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 89 | r#"//! Migration: {} [INFO] [stdout] | -- this formatting argument uses named argument `name` by position [INFO] [stdout] ... [INFO] [stdout] 111 | name = name, [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 89 | r#"//! Migration: {name} [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `migration_class` is not used by name [INFO] [stdout] --> src/commands/migrate.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 90 | //! Created: {} [INFO] [stdout] | -- this formatting argument uses named argument `migration_class` by position [INFO] [stdout] ... [INFO] [stdout] 112 | migration_class = CommandUtils::to_pascal_case(&name), [INFO] [stdout] | ^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 90 | //! Created: {migration_class} [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeneratorOptions` [INFO] [stdout] --> src/commands/make.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::generators::{TemplateManager, GeneratorOptions}; [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: `std::thread` [INFO] [stdout] --> src/commands/serve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/seed.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/cache.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/deploy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/commands/dev.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheCommands`, `ConfigCommands`, `DbCommands`, `DevCommands`, `MakeCommands`, `MigrateCommands`, `PackageCommands`, `QueueCommands`, and `RouteCommands` [INFO] [stdout] --> src/commands/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DbCommands, MakeCommands, MigrateCommands, RouteCommands, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 26 | CacheCommands, QueueCommands, ConfigCommands, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | PackageCommands, DevCommands [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `commands::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use commands::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_name` [INFO] [stdout] --> src/commands/make.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let class_name = CommandUtils::to_pascal_case(&name); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create` [INFO] [stdout] --> src/commands/make.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/commands/make.rs:148:63 [INFO] [stdout] | [INFO] [stdout] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/commands/make.rs:500:38 [INFO] [stdout] | [INFO] [stdout] 500 | async fn make_listener(name: String, event: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/commands/make.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | async fn make_policy(name: String, model: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_vars` [INFO] [stdout] --> src/commands/make.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | let template_vars = serde_json::json!({ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/commands/db.rs:293:35 [INFO] [stdout] | [INFO] [stdout] 293 | async fn create_postgres_database(db_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/commands/db.rs:300:33 [INFO] [stdout] | [INFO] [stdout] 300 | async fn drop_postgres_database(db_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/commands/db.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/commands/db.rs:307:47 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> src/commands/db.rs:307:59 [INFO] [stdout] | [INFO] [stdout] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/commands/queue.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | async fn process_job(job: &Job) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/commands/queue.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/commands/queue.rs:248:40 [INFO] [stdout] | [INFO] [stdout] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | async fn deploy_aws(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | async fn deploy_gcp(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/commands/deploy.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | async fn deploy_azure(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_command` [INFO] [stdout] --> src/commands/dev.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let server_command = format!("cargo run -- serve --host {} --port {} --reload", host, port); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_dir` [INFO] [stdout] --> src/commands/make.rs:612:23 [INFO] [stdout] | [INFO] [stdout] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_name` [INFO] [stdout] --> src/commands/make.rs:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/package.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/commands/package.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/package.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | fn remove_dependency_from_cargo_toml(name: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute_command`, `to_camel_case`, and `command_exists` are never used [INFO] [stdout] --> src/commands/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommandUtils { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn execute_command(cmd: &str, args: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn command_exists(command: &str) -> bool { [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 `check_server_health` is never used [INFO] [stdout] --> src/commands/serve.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | pub async fn check_server_health(host: &str, port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_server` is never used [INFO] [stdout] --> src/commands/serve.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn wait_for_server(host: &str, port: u16, timeout_seconds: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_server_info` is never used [INFO] [stdout] --> src/commands/serve.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn display_server_info(host: &str, port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_local_ip` is never used [INFO] [stdout] --> src/commands/serve.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn get_local_ip() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `job_type`, `payload`, `queue`, and `attempts` are never read [INFO] [stdout] --> src/commands/queue.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 200 | struct Job { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 201 | id: String, [INFO] [stdout] 202 | job_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 203 | payload: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | queue: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | attempts: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` 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 `payload` is never read [INFO] [stdout] --> src/commands/queue.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 209 | struct FailedJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 212 | payload: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FailedJob` 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: function `run_unit_tests` is never used [INFO] [stdout] --> src/commands/test.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn run_unit_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_integration_tests` is never used [INFO] [stdout] --> src/commands/test.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | pub async fn run_integration_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_benchmark_tests` is never used [INFO] [stdout] --> src/commands/test.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | pub async fn run_benchmark_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `watch_tests` is never used [INFO] [stdout] --> src/commands/test.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub async fn watch_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_production` is never used [INFO] [stdout] --> src/commands/build.rs:284:14 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn build_production() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_development` is never used [INFO] [stdout] --> src/commands/build.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | pub async fn build_development() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_target` is never used [INFO] [stdout] --> src/commands/build.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | pub async fn build_target(target: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/commands/deploy.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct DeploymentConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | port: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeploymentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deployment_config` is never used [INFO] [stdout] --> src/commands/deploy.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | pub async fn create_deployment_config(target: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/commands/package.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct PackageInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 170 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageInfo` 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: function `search_packages` is never used [INFO] [stdout] --> src/commands/package.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | pub async fn search_packages(query: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_outdated` is never used [INFO] [stdout] --> src/commands/package.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | pub async fn check_outdated() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_checks` is never used [INFO] [stdout] --> src/commands/dev.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub async fn run_all_checks() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_tests` is never used [INFO] [stdout] --> src/commands/dev.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | async fn run_tests() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_dev_environment` is never used [INFO] [stdout] --> src/commands/dev.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | pub async fn setup_dev_environment() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dev_config_files` is never used [INFO] [stdout] --> src/commands/dev.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | async fn create_dev_config_files() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile_app` is never used [INFO] [stdout] --> src/commands/dev.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | pub async fn profile_app() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/commands/dev.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | pub async fn benchmark() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Generator` is never used [INFO] [stdout] --> src/generators/mod.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Generator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratorOptions` is never constructed [INFO] [stdout] --> src/generators/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct GeneratorOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_template` is never used [INFO] [stdout] --> src/generators/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl TemplateManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn has_template(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratorUtils` is never constructed [INFO] [stdout] --> src/generators/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct GeneratorUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `name_variations`, `check_file_exists`, `ensure_directory`, `write_file`, and `update_module_file` are never used [INFO] [stdout] --> src/generators/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl GeneratorUtils { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 113 | /// Convert name to various cases [INFO] [stdout] 114 | pub fn name_variations(name: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn check_file_exists(path: &Path, force: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn ensure_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn write_file(path: &Path, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn update_module_file(module_dir: &Path, component_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_camel_case` is never used [INFO] [stdout] --> src/generators/mod.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_kebab_case` is never used [INFO] [stdout] --> src/generators/mod.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn to_kebab_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_title_case` is never used [INFO] [stdout] --> src/generators/mod.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn to_title_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pluralize` is never used [INFO] [stdout] --> src/generators/mod.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn pluralize(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `singularize` is never used [INFO] [stdout] --> src/generators/mod.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn singularize(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_files_with_extension`, `file_stem`, `copy_dir`, `remove_dir_all`, `is_file`, and `is_dir` are never used [INFO] [stdout] --> src/utils/file.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn find_files_with_extension>(dir: P, extension: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn file_stem>(path: P) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn copy_dir, Q: AsRef>(from: P, to: Q) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn remove_dir_all>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_file>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn is_dir>(path: P) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessUtils` is never constructed [INFO] [stdout] --> src/utils/process.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ProcessUtils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/utils/process.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ProcessUtils { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 12 | /// Check if a command exists in PATH [INFO] [stdout] 13 | pub fn command_exists(command: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn execute(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn execute_with_output(command: &str, args: &[&str]) -> Result<(bool, String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn execute_or_fail(command: &str, args: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn execute_in_dir>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn execute_with_code(command: &str, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_windows() -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_macos() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn is_linux() -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_shell_command() -> (&'static str, &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn execute_shell(command: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/utils/text.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TextUtils { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_camel_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn to_kebab_case(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn truncate(text: &str, max_length: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn pad_left(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn pad_right(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn center(text: &str, width: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn normalize_whitespace(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "fdd024eb5e040df5102e1350c7b4751cb590d9001e79d7fb5e88a92e4ceee1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd024eb5e040df5102e1350c7b4751cb590d9001e79d7fb5e88a92e4ceee1a9", kill_on_drop: false }` [INFO] [stdout] fdd024eb5e040df5102e1350c7b4751cb590d9001e79d7fb5e88a92e4ceee1a9