[INFO] cloning repository https://github.com/RAprogramm/sql-query-analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RAprogramm/sql-query-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRAprogramm%2Fsql-query-analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRAprogramm%2Fsql-query-analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d5cf51866fd84dc826e7bc7b7ac7dc6701fa049 [INFO] testing RAprogramm/sql-query-analyzer against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRAprogramm%2Fsql-query-analyzer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RAprogramm/sql-query-analyzer [INFO] finished tweaking git repo https://github.com/RAprogramm/sql-query-analyzer [INFO] tweaked toml for git repo https://github.com/RAprogramm/sql-query-analyzer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RAprogramm/sql-query-analyzer on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RAprogramm/sql-query-analyzer 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | homepage = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | repository = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | -------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `sql_query_analyzer` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7 [INFO] running `Command { std: "docker" "start" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | homepage = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | repository = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | -------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `sql_query_analyzer` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling aws-lc-rs v1.17.1 [INFO] [stderr] Compiling http v1.4.2 [INFO] [stderr] Compiling rustls-pki-types v1.15.0 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling rustls v0.23.42 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.20 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling syn v3.0.2 [INFO] [stderr] Compiling http-body v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling cc v1.2.67 [INFO] [stderr] Compiling hybrid-array v0.4.13 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling crossbeam-deque v0.8.7 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling block-buffer v0.12.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling aws-lc-sys v0.42.0 [INFO] [stderr] Compiling stacker v0.1.24 [INFO] [stderr] Compiling rustls-native-certs v0.8.4 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling masterror-template v0.4.2 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling console v0.16.4 [INFO] [stderr] Compiling clap_builder v4.6.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ar_archive_writer v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.16 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling clap_derive v4.6.7 [INFO] [stderr] Compiling psm v0.1.31 [INFO] [stderr] Compiling http-body-util v0.1.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Compiling masterror-derive v0.12.0 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unit-prefix v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling uuid v1.23.5 [INFO] [stderr] Compiling base64 v0.23.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling indicatif v0.18.6 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling smallvec v1.16.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling masterror v0.29.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling compact_str v0.10.0 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling sqlparser v0.63.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling clap v4.6.7 [INFO] [stderr] Compiling colored v3.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.10.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling reqwest v0.13.5 [INFO] [stderr] Compiling sql_query_analyzer v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | homepage = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | repository = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | -------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `sql_query_analyzer` (manifest) generated 1 warning [INFO] [stderr] Compiling regex-automata v0.4.16 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling reqwest v0.13.5 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling bstr v1.12.3 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling sql_query_analyzer v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling assert_cmd v2.2.2 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.90s [INFO] running `Command { std: "docker" "inspect" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | homepage = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | repository = "https://github.com/RAprogramm/sql-query-analyzer" [INFO] [stderr] | -------------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `sql_query_analyzer` (manifest) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/5889e80528188d8a/out/sql_query_analyzer-5889e80528188d8a) [INFO] [stdout] [INFO] [stdout] running 61 tests [INFO] [stdout] test app::convert::tests::test_convert_dialect_mysql ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_postgresql ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_json ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_sqlite ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_text ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_clickhouse ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_sarif ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_generic ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_yaml ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_openai_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_anthropic_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_ollama ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_error ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_openai_with_key ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_anthropic_with_key ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_error_takes_precedence ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_info_only ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_warning ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_no_violations ... ok [INFO] [stdout] test app::helpers::tests::test_create_output_options_json_no_color ... ok [INFO] [stdout] test app::helpers::tests::test_create_output_options_text_colored ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_explicit ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_default ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_default ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_explicit ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_anthropic_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_from_config ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_openai_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_from_config ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_ollama_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_with_api_key ... ok [INFO] [stdout] test app::helpers::tests::test_parse_queries_cached ... ok [INFO] [stdout] test app::tests::test_execute_command_file_not_found ... ok [INFO] [stdout] test app::tests::test_execute_command_stdin_path ... ok [INFO] [stdout] test app::tests::test_execute_command_sqlite_dialect ... ok [INFO] [stdout] test app::tests::test_execute_command_mysql_dialect ... ok [INFO] [stdout] test app::tests::test_execute_command_postgresql_dialect ... ok [INFO] [stdout] test app::types::tests::test_analyze_params_clone ... ok [INFO] [stdout] test app::types::tests::test_analyze_params_debug ... ok [INFO] [stdout] test app::types::tests::test_analyze_result_debug ... ok [INFO] [stdout] test app::tests::test_execute_command_success ... ok [INFO] [stdout] test app::types::tests::test_command_output_debug ... ok [INFO] [stdout] test app::types::tests::test_dry_run_info_debug ... ok [INFO] [stdout] test app::tests::test_execute_command_yaml_format ... ok [INFO] [stdout] test app::tests::test_execute_command_verbose ... ok [INFO] [stdout] test app::tests::test_execute_command_with_violations ... ok [INFO] [stdout] test app::tests::test_execute_command_sarif_format ... ok [INFO] [stdout] test app::tests::test_execute_command_json_format ... ok [INFO] [stdout] test app::tests::test_execute_command_dry_run ... ok [INFO] [stdout] test app::types::tests::test_command_output_clone ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_no_modification_without_special_syntax ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_codec_extraction ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_ttl_extraction ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_generic_passthrough ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_simple_codec_removal ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_nested_codec_params ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_multiple_codecs ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_metadata_extraction ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_clickhouse_removes_codec ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_settings_extraction ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_complex_clickhouse_ddl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 61 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/6233e33ffb843c6c/out/sql_query_analyzer-6233e33ffb843c6c) [INFO] [stdout] [INFO] [stdout] running 65 tests [INFO] [stdout] test app::convert::tests::test_convert_dialect_clickhouse ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_generic ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_mysql ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_postgresql ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_json ... ok [INFO] [stdout] test app::convert::tests::test_convert_dialect_sqlite ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_sarif ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_text ... ok [INFO] [stdout] test app::convert::tests::test_convert_format_yaml ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_anthropic_with_key ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_anthropic_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_ollama ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_openai_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_error ... ok [INFO] [stdout] test app::helpers::tests::test_build_llm_provider_openai_with_key ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_error_takes_precedence ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_info_only ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_no_violations ... ok [INFO] [stdout] test app::helpers::tests::test_calculate_exit_code_warning ... ok [INFO] [stdout] test app::helpers::tests::test_create_output_options_text_colored ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_default ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_from_config ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_default ... ok [INFO] [stdout] test app::helpers::tests::test_create_output_options_json_no_color ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_explicit ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_model_explicit ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_anthropic_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_get_effective_ollama_url_from_config ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_ollama_no_key ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_with_api_key ... ok [INFO] [stdout] test app::helpers::tests::test_has_llm_access_openai_no_key ... ok [INFO] [stdout] test app::tests::test_execute_command_file_not_found ... ok [INFO] [stdout] test app::helpers::tests::test_parse_queries_cached ... ok [INFO] [stdout] test app::tests::test_execute_command_mysql_dialect ... ok [INFO] [stdout] test app::tests::test_execute_command_dry_run ... ok [INFO] [stdout] test app::tests::test_execute_command_stdin_path ... ok [INFO] [stdout] test app::tests::test_execute_command_sarif_format ... ok [INFO] [stdout] test app::tests::test_execute_command_json_format ... ok [INFO] [stdout] test app::types::tests::test_analyze_params_clone ... ok [INFO] [stdout] test app::tests::test_execute_command_postgresql_dialect ... ok [INFO] [stdout] test app::types::tests::test_analyze_params_debug ... ok [INFO] [stdout] test app::types::tests::test_analyze_result_debug ... ok [INFO] [stdout] test app::types::tests::test_command_output_debug ... ok [INFO] [stdout] test app::types::tests::test_command_output_clone ... ok [INFO] [stdout] test app::tests::test_execute_command_sqlite_dialect ... ok [INFO] [stdout] test app::types::tests::test_dry_run_info_debug ... ok [INFO] [stdout] test app::tests::test_execute_command_success ... ok [INFO] [stdout] test app::tests::test_execute_command_verbose ... ok [INFO] [stdout] test app::tests::test_execute_command_yaml_format ... ok [INFO] [stdout] test app::tests::test_execute_command_with_violations ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_ttl_extraction ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_no_modification_without_special_syntax ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_codec_extraction ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_simple_codec_removal ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_nested_codec_params ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_multiple_codecs ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_generic_passthrough ... ok [INFO] [stdout] test tests::test_print_output ... ok [INFO] [stdout] test tests::test_run_file_not_found ... ok [INFO] [stdout] test tests::test_run_success ... ok [INFO] [stdout] test tests::test_run_dry_run ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_metadata_extraction ... ok [INFO] [stdout] test preprocessor::tests::test_preprocessor_clickhouse_removes_codec ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_settings_extraction ... ok [INFO] [stdout] test preprocessor::clickhouse::tests::test_complex_clickhouse_ddl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/binary_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/fa38ec119dcdaf02/out/binary_tests-fa38ec119dcdaf02) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_analyze_file_not_found ... ok [INFO] [stdout] test test_analyze_success ... ok [INFO] [stdout] test test_analyze_mysql_dialect ... ok [INFO] [stdout] test test_analyze_json_format ... ok [INFO] [stdout] test test_analyze_dry_run ... ok [INFO] [stdout] test test_analyze_sarif_format ... ok [INFO] [stdout] test test_help ... ok [INFO] [stdout] test test_version ... ok [INFO] [stdout] test test_analyze_verbose ... ok [INFO] [stdout] test test_analyze_yaml_format ... ok [INFO] [stdout] test test_analyze_with_violations ... ok [INFO] [stdout] test test_analyze_clickhouse_dialect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Running tests/cache_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/bd11ea3dee533bdc/out/cache_tests-bd11ea3dee533bdc) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_query_cache_miss ... ok [INFO] [stdout] test test_query_cache_new ... ok [INFO] [stdout] test test_global_get_cached_miss ... ok [INFO] [stdout] test test_query_cache_eviction ... ok [INFO] [stdout] test test_cache_overwrite ... ok [INFO] [stdout] test test_query_cache_insert_and_get ... ok [INFO] [stdout] test test_global_cache_queries ... ok [INFO] [stdout] test test_cache_different_queries ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/cli_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/d32995b253e9c84b/out/cli_tests-d32995b253e9c84b) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_dialect_clone ... ok [INFO] [stdout] test test_dialect_variants ... ok [INFO] [stdout] test test_dialect_debug ... ok [INFO] [stdout] test test_format_clone ... ok [INFO] [stdout] test test_format_debug ... ok [INFO] [stdout] test test_format_variants ... ok [INFO] [stdout] test test_provider_debug ... ok [INFO] [stdout] test test_provider_default_model_ollama ... ok [INFO] [stderr] Running tests/config_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/027f5a9fac380688/out/config_tests-027f5a9fac380688) [INFO] [stdout] test test_provider_default_model_anthropic ... ok [INFO] [stdout] test test_provider_default_model_openai ... ok [INFO] [stdout] test test_provider_clone ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test test_llm_config_clone ... ok [INFO] [stdout] test test_default_retry_config ... ok [INFO] [stdout] test test_default_rules_config ... ok [INFO] [stdout] test test_config_load ... ok [INFO] [stdout] test test_config_load_with_env_vars ... ok [INFO] [stdout] test test_config_clone ... ok [INFO] [stdout] test test_default_config ... ok [INFO] [stdout] test test_config_debug ... ok [INFO] [stdout] test test_llm_config_debug ... ok [INFO] [stdout] test test_llm_config_default ... ok [INFO] [stdout] test test_retry_config_clone ... ok [INFO] [stdout] test test_retry_config_debug ... ok [INFO] [stdout] test test_rules_config_clone ... ok [INFO] [stdout] test test_rules_config_debug ... ok [INFO] [stdout] test test_rules_config_with_disabled ... ok [INFO] [stdout] test test_retry_config_default ... ok [INFO] [stdout] test test_rules_config_with_severity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/error_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/caa1f9b7df4508bc/out/error_tests-caa1f9b7df4508bc) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_file_read_error ... ok [INFO] [stdout] test test_llm_api_error ... ok [INFO] [stdout] test test_config_error ... ok [INFO] [stdout] test test_position_extraction_large_numbers ... ok [INFO] [stdout] test test_position_extraction_edge_cases ... ok [INFO] [stdout] test test_query_parse_error_with_position ... ok [INFO] [stdout] test test_query_parse_error ... ok [INFO] [stdout] test test_error_types_are_different ... ok [INFO] [stdout] test test_schema_parse_error ... ok [INFO] [stdout] test test_schema_parse_error_with_position ... ok [INFO] [stderr] Running tests/output_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/ce87e663e6bf7fd9/out/output_tests-ce87e663e6bf7fd9) [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test test_analysis_report_new ... ok [INFO] [stdout] test test_analysis_report_counts ... ok [INFO] [stdout] test test_analysis_result_debug ... ok [INFO] [stdout] test test_format_analysis_result_text_colored ... ok [INFO] [stdout] test test_format_queries_summary_text ... ok [INFO] [stdout] test test_format_analysis_result_text ... ok [INFO] [stdout] test test_format_queries_summary_colored ... ok [INFO] [stdout] test test_format_queries_summary_json ... ok [INFO] [stdout] test test_format_analysis_result_json ... ok [INFO] [stdout] test test_format_queries_summary_sarif ... ok [INFO] [stdout] test test_format_analysis_result_yaml ... ok [INFO] [stdout] test test_format_queries_summary_with_verbose ... ok [INFO] [stdout] test test_format_queries_summary_yaml ... ok [INFO] [stdout] test test_format_queries_with_distinct ... ok [INFO] [stdout] test test_format_queries_verbose_low_complexity ... ok [INFO] [stdout] test test_format_queries_with_ctes ... ok [INFO] [stdout] test test_format_queries_with_joins ... ok [INFO] [stdout] test test_format_queries_with_limit_offset ... ok [INFO] [stdout] test test_format_queries_with_having ... ok [INFO] [stdout] test test_format_queries_verbose_medium_complexity ... ok [INFO] [stdout] test test_format_queries_verbose_colored_medium ... ok [INFO] [stdout] test test_format_queries_verbose_colored_high ... ok [INFO] [stdout] test test_format_queries_with_order_by ... ok [INFO] [stdout] test test_format_queries_verbose_high_complexity ... ok [INFO] [stdout] test test_format_queries_with_group_by ... ok [INFO] [stdout] test test_format_static_analysis_colored_info ... ok [INFO] [stdout] test test_format_static_analysis_colored_warning ... ok [INFO] [stdout] test test_format_static_analysis_json ... ok [INFO] [stdout] test test_format_queries_with_subquery ... ok [INFO] [stdout] test test_format_queries_with_window_functions ... ok [INFO] [stdout] test test_format_static_analysis_colored_error ... ok [INFO] [stdout] test test_format_queries_with_union ... ok [INFO] [stdout] test test_format_static_analysis_multiple_queries ... ok [INFO] [stdout] test test_format_static_analysis_no_violations ... ok [INFO] [stdout] test test_format_static_analysis_no_violations_colored ... ok [INFO] [stdout] test test_format_static_analysis_with_error ... ok [INFO] [stdout] test test_format_static_analysis_sarif ... ok [INFO] [stdout] test test_format_static_analysis_with_info ... ok [INFO] [stdout] test test_format_static_analysis_with_warning ... ok [INFO] [stdout] test test_output_format_copy ... ok [INFO] [stdout] test test_output_format_debug ... ok [INFO] [stdout] test test_output_format_default ... ok [INFO] [stdout] test test_format_static_analysis_yaml ... ok [INFO] [stdout] test test_output_options_clone ... ok [INFO] [stdout] test test_output_options_debug ... ok [INFO] [stdout] test test_output_options_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/query_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/fbe19b1e64f6f16a/out/query_tests-fbe19b1e64f6f16a) [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test test_clickhouse_format_datetime ... ok [INFO] [stdout] test test_clickhouse_if_function ... ok [INFO] [stdout] test test_cast ... ok [INFO] [stdout] test test_aggregate_functions ... ok [INFO] [stdout] test test_clickhouse_count_function ... ok [INFO] [stdout] test test_clickhouse_array_join ... ok [INFO] [stdout] test test_clickhouse_now_function ... ok [INFO] [stdout] test test_case_expression ... ok [INFO] [stdout] test test_clickhouse_simple_select ... ok [INFO] [stdout] test test_clickhouse_to_start_of_interval ... ok [INFO] [stdout] test test_complexity_simple ... ok [INFO] [stdout] test test_cross_join ... ok [INFO] [stdout] test test_compound_expression ... ok [INFO] [stdout] test test_clickhouse_to_datetime_function ... ok [INFO] [stdout] test test_coalesce ... ok [INFO] [stdout] test test_full_outer_join ... ok [INFO] [stdout] test test_is_not_null ... ok [INFO] [stdout] test test_is_null ... ok [INFO] [stdout] test test_intersect ... ok [INFO] [stdout] test test_complexity_complex ... ok [INFO] [stdout] test test_derived_subquery_with_alias ... ok [INFO] [stdout] test test_exists_subquery ... ok [INFO] [stdout] test test_multiple_ctes ... ok [INFO] [stdout] test test_left_join_extracts_join_cols ... ok [INFO] [stdout] test test_except ... ok [INFO] [stdout] test test_negative_number ... ok [INFO] [stdout] test test_mysql_dialect ... ok [INFO] [stdout] test test_parse_between ... ok [INFO] [stdout] test test_parse_delete ... ok [INFO] [stdout] test test_nested_join ... ok [INFO] [stdout] test test_parse_cte ... ok [INFO] [stdout] test test_parse_delete_without_where ... ok [INFO] [stdout] test test_parse_distinct ... ok [INFO] [stdout] test test_nested_function_calls ... ok [INFO] [stdout] test test_parse_in_clause ... ok [INFO] [stdout] test test_parse_insert ... ok [INFO] [stdout] test test_not_in_subquery ... ok [INFO] [stdout] test test_parse_group_by ... ok [INFO] [stdout] test test_parse_invalid_sql ... ok [INFO] [stdout] test test_parse_having ... ok [INFO] [stdout] test test_parse_limit_offset ... ok [INFO] [stdout] test test_parse_join ... ok [INFO] [stdout] test test_parse_left_join ... ok [INFO] [stdout] test test_parse_multiple_joins ... ok [INFO] [stdout] test test_parse_like_wildcard ... ok [INFO] [stdout] test test_parse_select_star ... ok [INFO] [stdout] test test_parse_order_by ... ok [INFO] [stdout] test test_parse_multiple_queries ... ok [INFO] [stdout] test test_parse_subquery ... ok [INFO] [stdout] test test_parse_simple_select ... ok [INFO] [stdout] test test_parse_update_without_where ... ok [INFO] [stdout] test test_parse_update ... ok [INFO] [stdout] test test_parse_union ... ok [INFO] [stdout] test test_plain_join_extracts_join_cols ... ok [INFO] [stdout] test test_postgresql_dialect ... ok [INFO] [stdout] test test_recursive_cte ... ok [INFO] [stdout] test test_union_all ... ok [INFO] [stdout] test test_window_function ... ok [INFO] [stdout] test test_scalar_subquery ... ok [INFO] [stdout] test test_window_function_dense_rank ... ok [INFO] [stdout] test test_right_join ... ok [INFO] [stdout] test test_sqlite_dialect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/rules_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/6af6648b5702f6c3/out/rules_tests-6af6648b5702f6c3) [INFO] [stdout] [INFO] [stdout] running 108 tests [INFO] [stdout] test test_correlated_exists_flagged ... ok [INFO] [stdout] test test_cartesian_product_with_where ... ok [INFO] [stdout] test test_broad_grant_is_error ... ok [INFO] [stdout] test test_cartesian_product ... ok [INFO] [stdout] test test_count_star_without_where ... ok [INFO] [stdout] test test_author_column_not_credential ... ok [INFO] [stdout] test test_count_one_without_where ... ok [INFO] [stdout] test test_correlated_scalar_projection_flagged ... ok [INFO] [stdout] test test_delete_without_where ... ok [INFO] [stdout] test test_delete_with_where ... ok [INFO] [stdout] test test_distinct_single_table_ok ... ok [INFO] [stdout] test test_count_with_where_ok ... ok [INFO] [stdout] test test_drop_database_detected ... ok [INFO] [stdout] test test_distinct_with_order_by ... ok [INFO] [stdout] test test_drop_table_if_exists ... ok [INFO] [stdout] test test_error_count ... ok [INFO] [stdout] test test_drop_index_detected ... ok [INFO] [stdout] test test_drop_table_detected ... ok [INFO] [stdout] test test_exec_string_flagged ... ok [INFO] [stdout] test test_distinct_with_join_flagged ... ok [INFO] [stdout] test test_explicit_columns_ok ... ok [INFO] [stdout] test test_explicit_order_by_ok ... ok [INFO] [stdout] test test_distinct_star_is_warning ... ok [INFO] [stdout] test test_function_args_not_ordinal ... ok [INFO] [stdout] test test_function_on_column_cast ... ok [INFO] [stdout] test test_function_on_column_coalesce ... ok [INFO] [stdout] test test_function_on_column_lower ... ok [INFO] [stdout] test test_grant_statement_flagged ... ok [INFO] [stdout] test test_function_on_column_trim ... ok [INFO] [stdout] test test_function_on_column_upper ... ok [INFO] [stdout] test test_function_on_column_year ... ok [INFO] [stdout] test test_hardcoded_credential_insert ... ok [INFO] [stdout] test test_five_level_nesting_is_error ... ok [INFO] [stdout] test test_hardcoded_credential_update_assignment ... ok [INFO] [stdout] test test_hardcoded_credential_prefixed_column ... ok [INFO] [stdout] test test_having_without_aggregate_flagged ... ok [INFO] [stdout] test test_injection_tautology_quoted ... ok [INFO] [stdout] test test_injection_tautology_numeric ... ok [INFO] [stdout] test test_in_subquery_not_counted ... ok [INFO] [stdout] test test_injection_tautology_empty_strings ... ok [INFO] [stdout] test test_having_with_aggregate_ok ... ok [INFO] [stdout] test test_insert_no_violations ... ok [INFO] [stdout] test test_insert_without_sensitive_columns_ok ... ok [INFO] [stdout] test test_join_missing_alias ... ok [INFO] [stdout] test test_leading_wildcard ... ok [INFO] [stdout] test test_large_offset ... ok [INFO] [stdout] test test_literal_dot_not_correlated ... ok [INFO] [stdout] test test_large_in_clause_flagged ... ok [INFO] [stdout] test test_limit_count_not_ordinal ... ok [INFO] [stdout] test test_leading_wildcard_double_quote ... ok [INFO] [stdout] test test_no_violations_for_good_query ... ok [INFO] [stdout] test test_multiple_violations ... ok [INFO] [stdout] test test_multiple_queries ... ok [INFO] [stdout] test test_join_on_indexed_column_ok ... ok [INFO] [stdout] test test_no_having_not_flagged ... ok [INFO] [stdout] test test_implicit_conversion_flagged ... ok [INFO] [stdout] test test_join_on_non_indexed_column_flagged ... ok [INFO] [stdout] test test_numeric_column_comparison_ok ... ok [INFO] [stdout] test test_order_by_newid_mssql ... ok [INFO] [stdout] test test_or_instead_of_in ... ok [INFO] [stdout] test test_not_in_with_subquery ... ok [INFO] [stdout] test test_order_by_rand_mysql ... ok [INFO] [stdout] test test_or_on_columns_not_tautology ... ok [INFO] [stdout] test test_order_by_column_ok ... ok [INFO] [stdout] test test_or_different_literals_not_tautology ... ok [INFO] [stdout] test test_order_by_random_postgres ... ok [INFO] [stdout] test test_ordinal_in_order_by_list ... ok [INFO] [stdout] test test_revoke_statement_flagged ... ok [INFO] [stdout] test test_rand_in_where_not_order_by_ok ... ok [INFO] [stdout] test test_ordinal_in_group_by ... ok [INFO] [stdout] test test_quoted_literal_no_conversion ... ok [INFO] [stdout] test test_ordinal_in_order_by ... ok [INFO] [stdout] test test_repeated_table_scan_flagged ... ok [INFO] [stdout] test test_rule_disabled ... ok [INFO] [stdout] test test_schema_with_index ... ok [INFO] [stdout] test test_schema_missing_index ... ok [INFO] [stdout] test test_schema_large_table_no_index ... ok [INFO] [stdout] test test_schema_join_column_missing_index ... ok [INFO] [stdout] test test_schema_column_not_in_schema ... ok [INFO] [stdout] test test_scalar_subquery ... ok [INFO] [stdout] test test_schema_order_by_missing_index ... ok [INFO] [stdout] test test_select_not_dynamic_sql ... ok [INFO] [stdout] test test_select_not_privilege_change ... ok [INFO] [stdout] test test_select_star_double_space ... ok [INFO] [stdout] test test_select_star_with_limit ... ok [INFO] [stdout] test test_huge_in_clause_is_error ... ok [INFO] [stdout] test test_select_without_where ... ok [INFO] [stdout] test test_severity_override ... ok [INFO] [stdout] test test_select_star_without_limit ... ok [INFO] [stdout] test test_self_join_flagged ... ok [INFO] [stdout] test test_select_without_count_not_perf012 ... ok [INFO] [stdout] test test_single_scan_not_flagged ... ok [INFO] [stdout] test test_select_star_style ... ok [INFO] [stdout] test test_single_subquery_not_flagged ... ok [INFO] [stdout] test test_truncate_detected ... ok [INFO] [stdout] test test_three_level_nesting_flagged_info ... ok [INFO] [stdout] test test_trailing_wildcard_ok ... ok [INFO] [stdout] test test_small_in_clause_ok ... ok [INFO] [stdout] test test_small_offset_ok ... ok [INFO] [stdout] test test_select_with_where ... ok [INFO] [stdout] test test_truncate_without_table_keyword ... ok [INFO] [stdout] test test_truncate_multiple_tables ... ok [INFO] [stdout] test test_update_with_where ... ok [INFO] [stdout] test test_union_without_all ... ok [INFO] [stdout] test test_uncorrelated_in_subquery_ok ... ok [INFO] [stdout] test test_union_all_ok ... ok [INFO] [stdout] test test_update_without_where ... ok [INFO] [stdout] test test_warning_count ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 108 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/schema_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/48a16d05f838a7e1/out/schema_tests-48a16d05f838a7e1) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test test_clickhouse_order_by_multiple ... ok [INFO] [stdout] test test_clickhouse_order_by_single ... ok [INFO] [stdout] test test_clickhouse_on_cluster ... ok [INFO] [stdout] test test_clickhouse_replicated_merge_tree ... ok [INFO] [stdout] test test_clickhouse_summary_with_cluster ... ok [INFO] [stdout] test test_clickhouse_no_engine ... ok [INFO] [stdout] test test_clickhouse_primary_key ... ok [INFO] [stdout] test test_clickhouse_engine_extraction ... ok [INFO] [stdout] test test_column_info_debug ... ok [INFO] [stdout] test test_empty_schema ... ok [INFO] [stdout] test test_index_info_debug ... ok [INFO] [stdout] test test_parse_auto_increment ... ok [INFO] [stdout] test test_column_info_codec_default_none ... ok [INFO] [stdout] test test_parse_invalid_schema ... ok [INFO] [stdout] test test_clickhouse_summary_with_engine ... ok [INFO] [stdout] test test_clickhouse_summary_with_primary_key ... ok [INFO] [stdout] test test_parse_multiple_tables ... ok [INFO] [stdout] test test_parse_not_null ... ok [INFO] [stdout] test test_parse_nullable_column ... ok [INFO] [stdout] test test_parse_simple_table ... ok [INFO] [stdout] test test_parse_serial ... ok [INFO] [stdout] test test_parse_various_types ... ok [INFO] [stdout] test test_schema_clone ... ok [INFO] [stdout] test test_parse_with_default_value ... ok [INFO] [stdout] test test_schema_default ... ok [INFO] [stdout] test test_schema_debug ... ok [INFO] [stdout] test test_parse_insert_statement ... ok [INFO] [stdout] test test_table_info_clickhouse_fields_default_none ... ok [INFO] [stdout] test test_parse_index ... ok [INFO] [stdout] test test_mysql_inline_key_constraint ... ok [INFO] [stdout] test test_mysql_inline_index_constraint ... ok [INFO] [stdout] test test_schema_to_summary_with_index ... ok [INFO] [stdout] test test_parse_unique_index ... ok [INFO] [stdout] test test_schema_to_summary_with_unique_index ... ok [INFO] [stdout] test test_parse_composite_index ... ok [INFO] [stdout] test test_table_info_debug ... ok [INFO] [stdout] test test_to_summary ... ok [INFO] [stdout] test test_table_options_with ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/types_tests.rs (/opt/rustwide/target/debug/build/sql_query_analyzer/a60cf1a4da5201fd/out/types_tests-a60cf1a4da5201fd) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test test_analysis_report_new ... ok [INFO] [stdout] test test_analysis_report_add_violation ... ok [INFO] [stdout] test test_analysis_report_clone ... ok [INFO] [stdout] test test_analysis_report_counts ... ok [INFO] [stdout] test test_analysis_report_debug ... ok [INFO] [stdout] test test_analysis_report_serialize ... ok [INFO] [stdout] test test_rule_category_copy ... ok [INFO] [stdout] test test_rule_category_debug ... ok [INFO] [stdout] test test_rule_category_display_performance ... ok [INFO] [stdout] test test_rule_category_display_security ... ok [INFO] [stdout] test test_rule_category_equality ... ok [INFO] [stdout] test test_rule_category_display_style ... ok [INFO] [stdout] test test_rule_category_serialize ... ok [INFO] [stdout] test test_rule_info_debug ... ok [INFO] [stdout] test test_rule_info_clone ... ok [INFO] [stdout] test test_severity_debug ... ok [INFO] [stdout] test test_severity_display_error ... ok [INFO] [stdout] test test_severity_display_info ... ok [INFO] [stdout] test test_severity_ordering ... ok [INFO] [stdout] test test_severity_equality ... ok [INFO] [stdout] test test_severity_serialize ... ok [INFO] [stdout] test test_rule_info_creation ... ok [INFO] [stdout] test test_violation_creation ... ok [INFO] [stdout] test test_violation_debug ... ok [INFO] [stdout] test test_severity_display_warning ... ok [INFO] [stdout] test test_violation_without_suggestion ... ok [INFO] [stdout] test test_violation_serialize ... ok [INFO] [stdout] test test_severity_copy ... ok [INFO] [stdout] test test_violation_clone ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sql_query_analyzer [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/app.rs - app (line 44) - compile ... ok [INFO] [stdout] test src/app/analyze.rs - app::analyze::run_analyze (line 59) - compile ... ok [INFO] [stdout] test src/app.rs - app::execute_command (line 129) - compile ... ok [INFO] [stdout] test src/app/helpers.rs - app::helpers::calculate_exit_code (line 41) ... ok [INFO] [stdout] test src/app/convert.rs - app::convert::convert_dialect (line 28) ... ok [INFO] [stdout] test src/app/convert.rs - app::convert::convert_format (line 59) ... ok [INFO] [stdout] test src/app/types.rs - app::types::CommandOutput (line 105) ... ok [INFO] [stdout] test src/rules.rs - rules::Rule (line 87) ... ok [INFO] [stdout] test src/app/types.rs - app::types::AnalyzeParams (line 17) ... ok [INFO] [stdout] test src/rules.rs - rules (line 45) ... ok [INFO] [stdout] test src/schema.rs - schema (line 15) ... ok [INFO] [stdout] test src/cache.rs - cache (line 9) ... ok [INFO] [stdout] test src/rules.rs - rules::RuleRunner (line 147) ... ok [INFO] [stdout] test src/preprocessor.rs - preprocessor (line 19) ... ok [INFO] [stdout] test src/llm.rs - llm (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.19s; merged doctests compilation took 1.02s [INFO] running `Command { std: "docker" "inspect" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7", kill_on_drop: false }` [INFO] [stdout] 5f21e33a70152ae3a8c914df5d373321b6a1c42358f0b1dd4c352838855c94e7