[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] testing rustisan/rustisan-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustisan%2Frustisan-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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 handlebars v4.5.0 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 863d147044af6ac10dea5566d70d3814ad818a0dbda598171d5b52ce5be5c2f4 [INFO] running `Command { std: "docker" "start" "-a" "863d147044af6ac10dea5566d70d3814ad818a0dbda598171d5b52ce5be5c2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863d147044af6ac10dea5566d70d3814ad818a0dbda598171d5b52ce5be5c2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863d147044af6ac10dea5566d70d3814ad818a0dbda598171d5b52ce5be5c2f4", kill_on_drop: false }` [INFO] [stdout] 863d147044af6ac10dea5566d70d3814ad818a0dbda598171d5b52ce5be5c2f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f45c177fa2292390c2d6fb3f0610dd1f928976303998a5af8eb40ed381b6ff7 [INFO] running `Command { std: "docker" "start" "-a" "0f45c177fa2292390c2d6fb3f0610dd1f928976303998a5af8eb40ed381b6ff7", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [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 xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling which v4.4.2 [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 handlebars v4.5.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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 48.20s [INFO] running `Command { std: "docker" "inspect" "0f45c177fa2292390c2d6fb3f0610dd1f928976303998a5af8eb40ed381b6ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f45c177fa2292390c2d6fb3f0610dd1f928976303998a5af8eb40ed381b6ff7", kill_on_drop: false }` [INFO] [stdout] 0f45c177fa2292390c2d6fb3f0610dd1f928976303998a5af8eb40ed381b6ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ae4f845b20ad1148dc702a6a7e18752de008ba9bdf3cbc212699172ff71e108 [INFO] running `Command { std: "docker" "start" "-a" "7ae4f845b20ad1148dc702a6a7e18752de008ba9bdf3cbc212699172ff71e108", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 16.32s [INFO] running `Command { std: "docker" "inspect" "7ae4f845b20ad1148dc702a6a7e18752de008ba9bdf3cbc212699172ff71e108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae4f845b20ad1148dc702a6a7e18752de008ba9bdf3cbc212699172ff71e108", kill_on_drop: false }` [INFO] [stdout] 7ae4f845b20ad1148dc702a6a7e18752de008ba9bdf3cbc212699172ff71e108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b342e442c7ca22a6d915eee5fcff469d682221233c2784554be1a120dbdc9597 [INFO] running `Command { std: "docker" "start" "-a" "b342e442c7ca22a6d915eee5fcff469d682221233c2784554be1a120dbdc9597", kill_on_drop: false }` [INFO] [stderr] warning: named argument `name` is not used by name [INFO] [stderr] --> src/commands/migrate.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 89 | r#"//! Migration: {} [INFO] [stderr] | -- this formatting argument uses named argument `name` by position [INFO] [stderr] ... [INFO] [stderr] 111 | name = name, [INFO] [stderr] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stderr] help: use the named argument by name to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 89 | r#"//! Migration: {name} [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: named argument `migration_class` is not used by name [INFO] [stderr] --> src/commands/migrate.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 90 | //! Created: {} [INFO] [stderr] | -- this formatting argument uses named argument `migration_class` by position [INFO] [stderr] ... [INFO] [stderr] 112 | migration_class = CommandUtils::to_pascal_case(&name), [INFO] [stderr] | ^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stderr] | [INFO] [stderr] help: use the named argument by name to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 90 | //! Created: {migration_class} [INFO] [stderr] | +++++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GeneratorOptions` [INFO] [stderr] --> src/commands/make.rs:10:42 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::generators::{TemplateManager, GeneratorOptions}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/commands/serve.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/commands/seed.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/commands/cache.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/commands/deploy.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/commands/dev.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CacheCommands`, `ConfigCommands`, `DbCommands`, `DevCommands`, `MakeCommands`, `MigrateCommands`, `PackageCommands`, `QueueCommands`, and `RouteCommands` [INFO] [stderr] --> src/commands/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | DbCommands, MakeCommands, MigrateCommands, RouteCommands, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] 26 | CacheCommands, QueueCommands, ConfigCommands, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 27 | PackageCommands, DevCommands [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `commands::*` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use commands::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::debug` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use log::debug; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `class_name` [INFO] [stderr] --> src/commands/make.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | let class_name = CommandUtils::to_pascal_case(&name); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `create` [INFO] [stderr] --> src/commands/make.rs:148:39 [INFO] [stderr] | [INFO] [stderr] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_create` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/commands/make.rs:148:63 [INFO] [stderr] | [INFO] [stderr] 148 | async fn make_migration(name: String, create: Option, table: Option) -> Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/commands/make.rs:500:38 [INFO] [stderr] | [INFO] [stderr] 500 | async fn make_listener(name: String, event: Option) -> Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `model` [INFO] [stderr] --> src/commands/make.rs:512:36 [INFO] [stderr] | [INFO] [stderr] 512 | async fn make_policy(name: String, model: Option) -> Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `template_vars` [INFO] [stderr] --> src/commands/make.rs:529:9 [INFO] [stderr] | [INFO] [stderr] 529 | let template_vars = serde_json::json!({ [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_vars` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_name` [INFO] [stderr] --> src/commands/db.rs:293:35 [INFO] [stderr] | [INFO] [stderr] 293 | async fn create_postgres_database(db_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_name` [INFO] [stderr] --> src/commands/db.rs:300:33 [INFO] [stderr] | [INFO] [stderr] 300 | async fn drop_postgres_database(db_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `host` [INFO] [stderr] --> src/commands/db.rs:307:35 [INFO] [stderr] | [INFO] [stderr] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `port` [INFO] [stderr] --> src/commands/db.rs:307:47 [INFO] [stderr] | [INFO] [stderr] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database` [INFO] [stderr] --> src/commands/db.rs:307:59 [INFO] [stderr] | [INFO] [stderr] 307 | async fn test_postgres_connection(host: &str, port: &str, database: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job` [INFO] [stderr] --> src/commands/queue.rs:235:22 [INFO] [stderr] | [INFO] [stderr] 235 | async fn process_job(job: &Job) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job` [INFO] [stderr] --> src/commands/queue.rs:248:29 [INFO] [stderr] | [INFO] [stderr] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/commands/queue.rs:248:40 [INFO] [stderr] | [INFO] [stderr] 248 | async fn mark_job_as_failed(job: &Job, error: &str) -> Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/commands/deploy.rs:288:21 [INFO] [stderr] | [INFO] [stderr] 288 | async fn deploy_aws(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/commands/deploy.rs:305:21 [INFO] [stderr] | [INFO] [stderr] 305 | async fn deploy_gcp(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/commands/deploy.rs:322:23 [INFO] [stderr] | [INFO] [stderr] 322 | async fn deploy_azure(config: &DeploymentConfig, dry_run: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `server_command` [INFO] [stderr] --> src/commands/dev.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | let server_command = format!("cargo run -- serve --host {} --port {} --reload", host, port); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_command` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `module_dir` [INFO] [stderr] --> src/commands/make.rs:612:23 [INFO] [stderr] | [INFO] [stderr] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `component_name` [INFO] [stderr] --> src/commands/make.rs:612:41 [INFO] [stderr] | [INFO] [stderr] 612 | fn update_module_file(module_dir: &str, component_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/commands/package.rs:192:33 [INFO] [stderr] | [INFO] [stderr] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `version` [INFO] [stderr] --> src/commands/package.rs:192:45 [INFO] [stderr] | [INFO] [stderr] 192 | fn add_dependency_to_cargo_toml(name: &str, version: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/commands/package.rs:198:38 [INFO] [stderr] | [INFO] [stderr] 198 | fn remove_dependency_from_cargo_toml(name: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: associated functions `execute_command`, `to_camel_case`, and `command_exists` are never used [INFO] [stderr] --> src/commands/mod.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 37 | impl CommandUtils { [INFO] [stderr] | ----------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn execute_command(cmd: &str, args: &[&str]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn to_camel_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn command_exists(command: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `check_server_health` is never used [INFO] [stderr] --> src/commands/serve.rs:193:14 [INFO] [stderr] | [INFO] [stderr] 193 | pub async fn check_server_health(host: &str, port: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `wait_for_server` is never used [INFO] [stderr] --> src/commands/serve.rs:203:14 [INFO] [stderr] | [INFO] [stderr] 203 | pub async fn wait_for_server(host: &str, port: u16, timeout_seconds: u64) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `display_server_info` is never used [INFO] [stderr] --> src/commands/serve.rs:218:8 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn display_server_info(host: &str, port: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_local_ip` is never used [INFO] [stderr] --> src/commands/serve.rs:236:4 [INFO] [stderr] | [INFO] [stderr] 236 | fn get_local_ip() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `job_type`, `payload`, `queue`, and `attempts` are never read [INFO] [stderr] --> src/commands/queue.rs:202:5 [INFO] [stderr] | [INFO] [stderr] 200 | struct Job { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 201 | id: String, [INFO] [stderr] 202 | job_type: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 203 | payload: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 204 | queue: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 205 | attempts: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `payload` is never read [INFO] [stderr] --> src/commands/queue.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 209 | struct FailedJob { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 212 | payload: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FailedJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `run_unit_tests` is never used [INFO] [stderr] --> src/commands/test.rs:167:14 [INFO] [stderr] | [INFO] [stderr] 167 | pub async fn run_unit_tests() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_integration_tests` is never used [INFO] [stderr] --> src/commands/test.rs:183:14 [INFO] [stderr] | [INFO] [stderr] 183 | pub async fn run_integration_tests() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_benchmark_tests` is never used [INFO] [stderr] --> src/commands/test.rs:199:14 [INFO] [stderr] | [INFO] [stderr] 199 | pub async fn run_benchmark_tests() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `watch_tests` is never used [INFO] [stderr] --> src/commands/test.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | pub async fn watch_tests() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_production` is never used [INFO] [stderr] --> src/commands/build.rs:284:14 [INFO] [stderr] | [INFO] [stderr] 284 | pub async fn build_production() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_development` is never used [INFO] [stderr] --> src/commands/build.rs:289:14 [INFO] [stderr] | [INFO] [stderr] 289 | pub async fn build_development() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_target` is never used [INFO] [stderr] --> src/commands/build.rs:294:14 [INFO] [stderr] | [INFO] [stderr] 294 | pub async fn build_target(target: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `port` is never read [INFO] [stderr] --> src/commands/deploy.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 68 | struct DeploymentConfig { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | port: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeploymentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `create_deployment_config` is never used [INFO] [stderr] --> src/commands/deploy.rs:392:14 [INFO] [stderr] | [INFO] [stderr] 392 | pub async fn create_deployment_config(target: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `description` is never read [INFO] [stderr] --> src/commands/package.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 166 | struct PackageInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 170 | description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PackageInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `search_packages` is never used [INFO] [stderr] --> src/commands/package.rs:320:14 [INFO] [stderr] | [INFO] [stderr] 320 | pub async fn search_packages(query: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_outdated` is never used [INFO] [stderr] --> src/commands/package.rs:339:14 [INFO] [stderr] | [INFO] [stderr] 339 | pub async fn check_outdated() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_all_checks` is never used [INFO] [stderr] --> src/commands/dev.rs:173:14 [INFO] [stderr] | [INFO] [stderr] 173 | pub async fn run_all_checks() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_tests` is never used [INFO] [stderr] --> src/commands/dev.rs:193:10 [INFO] [stderr] | [INFO] [stderr] 193 | async fn run_tests() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `setup_dev_environment` is never used [INFO] [stderr] --> src/commands/dev.rs:209:14 [INFO] [stderr] | [INFO] [stderr] 209 | pub async fn setup_dev_environment() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_dev_config_files` is never used [INFO] [stderr] --> src/commands/dev.rs:242:10 [INFO] [stderr] | [INFO] [stderr] 242 | async fn create_dev_config_files() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `profile_app` is never used [INFO] [stderr] --> src/commands/dev.rs:303:14 [INFO] [stderr] | [INFO] [stderr] 303 | pub async fn profile_app() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `benchmark` is never used [INFO] [stderr] --> src/commands/dev.rs:343:14 [INFO] [stderr] | [INFO] [stderr] 343 | pub async fn benchmark() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Generator` is never used [INFO] [stderr] --> src/generators/mod.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub trait Generator { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GeneratorOptions` is never constructed [INFO] [stderr] --> src/generators/mod.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct GeneratorOptions { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_template` is never used [INFO] [stderr] --> src/generators/mod.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 74 | impl TemplateManager { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn has_template(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GeneratorUtils` is never constructed [INFO] [stderr] --> src/generators/mod.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct GeneratorUtils; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `name_variations`, `check_file_exists`, `ensure_directory`, `write_file`, and `update_module_file` are never used [INFO] [stderr] --> src/generators/mod.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 112 | impl GeneratorUtils { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 113 | /// Convert name to various cases [INFO] [stderr] 114 | pub fn name_variations(name: &str) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | pub fn check_file_exists(path: &Path, force: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn ensure_directory(path: &Path) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn write_file(path: &Path, content: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn update_module_file(module_dir: &Path, component_name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_camel_case` is never used [INFO] [stderr] --> src/generators/mod.rs:174:4 [INFO] [stderr] | [INFO] [stderr] 174 | fn to_camel_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_kebab_case` is never used [INFO] [stderr] --> src/generators/mod.rs:184:4 [INFO] [stderr] | [INFO] [stderr] 184 | fn to_kebab_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_title_case` is never used [INFO] [stderr] --> src/generators/mod.rs:189:4 [INFO] [stderr] | [INFO] [stderr] 189 | fn to_title_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pluralize` is never used [INFO] [stderr] --> src/generators/mod.rs:204:4 [INFO] [stderr] | [INFO] [stderr] 204 | fn pluralize(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `singularize` is never used [INFO] [stderr] --> src/generators/mod.rs:221:4 [INFO] [stderr] | [INFO] [stderr] 221 | fn singularize(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `find_files_with_extension`, `file_stem`, `copy_dir`, `remove_dir_all`, `is_file`, and `is_dir` are never used [INFO] [stderr] --> src/utils/file.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl FileUtils { [INFO] [stderr] | -------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn find_files_with_extension>(dir: P, extension: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn file_stem>(path: P) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn copy_dir, Q: AsRef>(from: P, to: Q) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn remove_dir_all>(path: P) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn is_file>(path: P) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn is_dir>(path: P) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ProcessUtils` is never constructed [INFO] [stderr] --> src/utils/process.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ProcessUtils; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated functions are never used [INFO] [stderr] --> src/utils/process.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl ProcessUtils { [INFO] [stderr] | ----------------- associated functions in this implementation [INFO] [stderr] 12 | /// Check if a command exists in PATH [INFO] [stderr] 13 | pub fn command_exists(command: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn execute(command: &str, args: &[&str]) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn execute_with_output(command: &str, args: &[&str]) -> Result<(bool, String, String)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn execute_or_fail(command: &str, args: &[&str]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn execute_in_dir>( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn execute_with_code(command: &str, args: &[&str]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn is_windows() -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn is_macos() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn is_linux() -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn get_shell_command() -> (&'static str, &'static str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn execute_shell(command: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated functions are never used [INFO] [stderr] --> src/utils/text.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl TextUtils { [INFO] [stderr] | -------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn to_camel_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn to_kebab_case(input: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn truncate(text: &str, max_length: usize) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn pad_left(text: &str, width: usize) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn pad_right(text: &str, width: usize) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 134 | pub fn center(text: &str, width: usize) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | pub fn normalize_whitespace(text: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustisan` (bin "rustisan" test) generated 73 warnings (run `cargo fix --bin "rustisan" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustisan-611c5a5fcb21195c) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test commands::config::tests::test_is_sensitive_key ... ok [INFO] [stdout] test commands::config::tests::test_parse_config_value ... ok [INFO] [stdout] test commands::config::tests::test_format_value ... ok [INFO] [stdout] test utils::text::tests::test_capitalize ... ok [INFO] [stdout] test utils::text::tests::test_is_valid_identifier ... ok [INFO] [stdout] test utils::text::tests::test_pluralize ... ok [INFO] [stdout] test utils::text::tests::test_to_pascal_case ... ok [INFO] [stdout] test utils::text::tests::test_to_snake_case ... ok [INFO] [stdout] test utils::text::tests::test_singularize ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utils::text::tests::test_singularize stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'utils::text::tests::test_singularize' (30) panicked at src/utils/text.rs:198:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "leafe" [INFO] [stdout] right: "leave" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x648bb045b6b2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x648bb045b6b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x648bb045b6b2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x648bb045b6b2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x648bb046cd0f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x648bb046cd0f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x648bb0428c91 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x648bb0428c91 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x648bb0434bf2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x648bb043973f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x648bb04395d1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x648bb03e1cde - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x648bb03e1cde - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x648bb0439dff - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x648bb0439dff - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x648bb0439c5a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x648bb0434d29 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x648bb041cf3d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x648bb0476860 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x648bb0476703 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x648bb03bdc88 - core::panicking::assert_failed::h2e49cf80d84ea580 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x648bb03ba2a0 - rustisan::utils::text::tests::test_singularize::h2c6810afecc7ad65 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/text.rs:198:9 [INFO] [stdout] 22: 0x648bb03ba2e7 - rustisan::utils::text::tests::test_singularize::{{closure}}::h939393ef1da752f4 [INFO] [stdout] at /opt/rustwide/workdir/src/utils/text.rs:194:26 [INFO] [stdout] 23: 0x648bb03b6ab6 - core::ops::function::FnOnce::call_once::h538d6f8acd483e14 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x648bb03e1a9b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x648bb03e1a9b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x648bb03f7585 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x648bb03f7585 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x648bb03f7585 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x648bb03f7585 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x648bb03f7585 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x648bb03f7585 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x648bb03f7585 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x648bb03cdef4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x648bb03cdef4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x648bb03d189a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x648bb03d189a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x648bb03d189a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x648bb03d189a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x648bb03d189a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x648bb03d189a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x648bb03d189a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x648bb042ee5f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x648bb042ee5f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7f047a759aa4 - [INFO] [stdout] 45: 0x7f047a7e6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utils::text::tests::test_singularize [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rustisan` [INFO] running `Command { std: "docker" "inspect" "b342e442c7ca22a6d915eee5fcff469d682221233c2784554be1a120dbdc9597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b342e442c7ca22a6d915eee5fcff469d682221233c2784554be1a120dbdc9597", kill_on_drop: false }` [INFO] [stdout] b342e442c7ca22a6d915eee5fcff469d682221233c2784554be1a120dbdc9597