[INFO] fetching crate dsql-lint 0.2.22... [INFO] testing dsql-lint-0.2.22 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-3 [INFO] extracting crate dsql-lint 0.2.22 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dsql-lint 0.2.22 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dsql-lint 0.2.22 [INFO] tweaked toml for crates.io crate dsql-lint 0.2.22 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dsql-lint 0.2.22 on toolchain 1.100.0-beta.13 [INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate crates.io crate dsql-lint 0.2.22 already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.31 [INFO] [stderr] Downloaded sqlparser_derive v0.5.0 [INFO] [stderr] Downloaded recursive v0.1.1 [INFO] [stderr] Downloaded stacker v0.1.24 [INFO] [stderr] Downloaded recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Downloaded ar_archive_writer v0.5.1 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded sqlparser-dsql v0.62.12 [INFO] [stderr] Downloaded earlgrey v0.4.1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34 [INFO] running `"docker" "start" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"docker" "inspect" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"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" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"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" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling stacker v0.1.24 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling sqlparser_derive v0.5.0 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling psm v0.1.31 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Compiling sqlparser-dsql v0.62.12 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling dsql-lint v0.2.22 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 36s [INFO] running `"docker" "inspect" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"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" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling dsql-lint v0.2.22 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 31.54s [INFO] running `"docker" "inspect" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"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" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/dsql-lint/a8c8a94505b20954/out/dsql_lint-a8c8a94505b20954) [INFO] [stdout] [INFO] [stdout] running 147 tests [INFO] [stdout] test lint::tests::test_fix_sql_serial_idiom_preserves_primary_key_option ... ok [INFO] [stdout] test lint::tests::test_fix_sql_preserves_cross_file_sequence_default ... ok [INFO] [stdout] test lint::tests::test_fix_sql_collapses_pgdump_serial_idiom ... ok [INFO] [stdout] test lint::tests::test_fix_sql_collapses_two_serial_idioms ... ok [INFO] [stdout] test lint::tests::test_fk_set_action_column_lists_parse ... ok [INFO] [stdout] test lint::tests::test_fix_sql_does_not_collapse_freestanding_sequence ... ok [INFO] [stdout] test lint::tests::test_fix_sql_serial_idiom_does_not_double_identity ... ok [INFO] [stdout] test lint::tests::test_fix_sql_serial_idiom_preserves_unrelated_alter_ops ... ok [INFO] [stdout] test lint::tests::test_fix_sql_serial_idiom_warning_mentions_counter_reset ... ok [INFO] [stdout] test lint::tests::test_invalid_alter_constraint_still_reports_parse_error ... ok [INFO] [stdout] test lint::tests::test_fix_sql_clean_statement_verbatim ... ok [INFO] [stdout] test lint::tests::test_fix_sql_collapses_bigserial_idiom ... ok [INFO] [stdout] test lint::tests::test_fk_set_action_column_list_preserved_when_fixing_alter ... ok [INFO] [stdout] test lint::tests::test_fix_sql_collapses_idiom_with_quoted_mixed_case_identifiers ... ok [INFO] [stdout] test lint::tests::test_fix_sql_leaves_inline_identity_alone ... ok [INFO] [stdout] test mysql::tests::auto_increment_suppresses_unsigned_widen_warning ... ok [INFO] [stdout] test lint::tests::test_split_preserves_newlines ... ok [INFO] [stdout] test lint::tests::test_supported_alter_constraint_parses ... ok [INFO] [stdout] test mysql::tests::auto_increment_drops_conflicting_default ... ok [INFO] [stdout] test mysql::tests::backtick_in_check_function_stripped ... ok [INFO] [stdout] test mysql::tests::auto_increment_table_seed_becomes_start_with ... ok [INFO] [stdout] test lint::tests::test_supported_set_constraints_parse ... ok [INFO] [stdout] test mysql::tests::bits_to_bytea_hex_edges ... ok [INFO] [stdout] test lint::tests::test_parse_error_returns_diagnostic ... ok [INFO] [stdout] test mysql::tests::auto_increment_overflow_seed_warns_distinctly ... ok [INFO] [stdout] test lint::tests::test_pgdump_create_sequence_parses ... ok [INFO] [stdout] test mysql::tests::disable_keys_noise_stays_dropped ... ok [INFO] [stdout] test mysql::tests::commented_unparseable_create_table_surfaces_error ... ok [INFO] [stdout] test mysql::tests::default_with_backslash_survives ... ok [INFO] [stdout] test lint::tests::test_lint_without_trailing_semicolon ... ok [INFO] [stdout] test mysql::tests::composite_primary_key_unquoted ... ok [INFO] [stdout] test mysql::tests::auto_increment_without_seed_warns_to_reset ... ok [INFO] [stdout] test mysql::tests::double_quoted_default_becomes_string_literal ... ok [INFO] [stdout] test mysql::tests::backslash_quote_identifier_is_not_silently_mangled ... ok [INFO] [stdout] test mysql::tests::drops_session_set_keeps_create_table ... ok [INFO] [stdout] test mysql::tests::empty_input_yields_empty_output ... ok [INFO] [stdout] test mysql::tests::default_with_escaped_quote_survives ... ok [INFO] [stdout] test mysql::tests::faithful_transforms_do_not_warn ... ok [INFO] [stdout] test mysql::tests::drops_use_statement ... ok [INFO] [stdout] test mysql::tests::drops_index_prefix_length ... ok [INFO] [stdout] test mysql::tests::drops_signed_integer_display_width ... ok [INFO] [stdout] test mysql::tests::insert_dropped_with_diagnostic ... ok [INFO] [stdout] test mysql::tests::lifted_index_names_qualified_and_warned ... ok [INFO] [stdout] test lint::tests::test_invalid_set_constraints_still_reports_parse_error ... ok [INFO] [stdout] test lint::tests::test_valid_create_table_no_errors ... ok [INFO] [stdout] test mysql::tests::diagnostics_sorted_by_source_line ... ok [INFO] [stdout] test mysql::tests::index_name_backslash_quote_cannot_silently_redirect ... ok [INFO] [stdout] test mysql::tests::function_or_type_name_reserved_words_requoted ... ok [INFO] [stdout] test mysql::tests::drops_mysql_foreign_key_index_name ... ok [INFO] [stdout] test mysql::tests::drops_unsigned_on_decimal_and_double ... ok [INFO] [stdout] test mysql::tests::maps_auto_increment_to_identity ... ok [INFO] [stdout] test mysql::tests::lifts_anonymous_secondary_key ... ok [INFO] [stdout] test mysql::tests::lifts_secondary_key_to_create_index ... ok [INFO] [stdout] test mysql::tests::lossy_transforms_emit_warnings ... ok [INFO] [stdout] test mysql::tests::hostile_identifier_cannot_inject_statements ... ok [INFO] [stdout] test mysql::tests::maps_binary_and_bit_types ... ok [INFO] [stdout] test mysql::tests::maps_datetime_to_timestamp ... ok [INFO] [stdout] test mysql::tests::maps_year_to_integer ... ok [INFO] [stdout] test mysql::tests::noise_only_input_yields_empty_output ... ok [INFO] [stdout] test mysql::tests::maps_set_to_text ... ok [INFO] [stdout] test mysql::tests::one_bad_statement_does_not_disable_gate ... ok [INFO] [stdout] test mysql::tests::multiple_create_tables_each_translated ... ok [INFO] [stdout] test mysql::tests::hex_default_on_numeric_becomes_decimal ... ok [INFO] [stdout] test mysql::tests::ordinary_names_still_bare_after_injection_fix ... ok [INFO] [stdout] test mysql::tests::maps_enum_to_varchar ... ok [INFO] [stdout] test mysql::tests::reserved_and_mixed_case_identifiers_requoted ... ok [INFO] [stdout] test mysql::tests::strips_column_charset_and_collate ... ok [INFO] [stdout] test mysql::tests::maps_integer_family_types ... ok [INFO] [stdout] test mysql::tests::maps_float_and_text_families ... ok [INFO] [stdout] test mysql::tests::ordinary_identifiers_stay_bare ... ok [INFO] [stdout] test mysql::tests::strips_backticks_and_engine_into_clean_postgres ... ok [INFO] [stdout] test mysql::tests::oversized_bit_width_does_not_panic ... ok [INFO] [stdout] test mysql::tests::strips_backticks_inside_constraints ... ok [INFO] [stdout] test mysql::tests::strips_on_update_current_timestamp ... ok [INFO] [stdout] test mysql::tests::promoted_unique_constraint_names_qualified_and_warned ... ok [INFO] [stdout] test mysql::tests::recasts_defaults_for_rewritten_types ... ok [INFO] [stdout] test mysql::tests::unparseable_create_table_surfaces_parse_error ... ok [INFO] [stdout] test mysql::tests::translation_warnings_carry_statement_preview ... ok [INFO] [stdout] test mysql::tests::unique_constraint_backslash_quote_surfaces_parse_error ... ok [INFO] [stdout] test mysql::tests::strips_column_comment ... ok [INFO] [stdout] test mysql::tests::strips_mysqldump_noise_around_create_table ... ok [INFO] [stdout] test mysql::tests::oversized_bit_string_default_does_not_panic ... ok [INFO] [stdout] test mysql::tests::unparseable_table_does_not_drop_sibling ... ok [INFO] [stdout] test mysql::tests::widens_unsigned_with_display_width ... ok [INFO] [stdout] test mysql::tests::unprovable_defaults_dropped_not_emitted ... ok [INFO] [stdout] test mysql::tests::unquotes_foreign_key_backticks ... ok [INFO] [stdout] test rules::constraint_collapse::tests::alter_before_create_table_does_not_match ... ok [INFO] [stdout] test mysql::tests::widens_unsigned_integers ... ok [INFO] [stdout] test mysql::tests::unquotes_generated_column_expr ... ok [INFO] [stdout] test mysql::tests::unquotes_check_constraint_name ... ok [INFO] [stdout] test rules::constraint_collapse::tests::pk_include_columns_round_trip ... ok [INFO] [stdout] test mysql::tests::unquotes_db_qualified_table_name ... ok [INFO] [stdout] test rules::constraint_collapse::tests::case_folded_unquoted_names_match ... ok [INFO] [stdout] test rules::constraint_collapse::tests::detects_simple_add_after_create_table ... ok [INFO] [stdout] test rules::constraint_collapse::tests::exact_schema_match_preferred_over_wildcard ... ok [INFO] [stdout] test rules::constraint_collapse::tests::multi_op_alter_is_left_alone ... ok [INFO] [stdout] test rules::constraint_collapse::tests::quoted_mixed_case_names_must_match_exactly ... ok [INFO] [stdout] test mysql::tests::warnings_carry_source_line_numbers ... ok [INFO] [stdout] test rules::constraint_collapse::tests::unqualified_alter_matches_qualified_create ... ok [INFO] [stdout] test rules::constraint_collapse::tests::cross_file_alter_without_create_is_skipped ... ok [INFO] [stdout] test rules::errors::tests::function_without_language_not_flagged ... ok [INFO] [stdout] test rules::errors::tests::comment_index_not_flagged ... ok [INFO] [stdout] test rules::errors::tests::all_suggested_replacements_are_covered ... ok [INFO] [stdout] test mysql::tests::widens_unsigned_small_integer_variants ... ok [INFO] [stdout] test rules::errors::tests::create_procedure_detected ... ok [INFO] [stdout] test rules::errors::tests::multiline_index_still_caught ... ok [INFO] [stdout] test rules::errors::tests::sql_function_not_flagged ... ok [INFO] [stdout] test rules::constraint_collapse::tests::unrelated_table_is_not_folded ... ok [INFO] [stdout] test rules::errors::tests::supported_fk_actions_are_clean ... ok [INFO] [stdout] test rules::errors::tests::plpgsql_detected_and_includes_language_name ... ok [INFO] [stdout] test rules::errors::tests::suggested_replacements_are_dsql_valid ... ok [INFO] [stdout] test rules::errors::tests::serial_with_supported_references_reports_only_serial ... ok [INFO] [stdout] test rules::constraint_collapse::tests::unique_include_columns_round_trip ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_collapses_multiple_identity_adds_independently ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_preserves_high_throughput_cache ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_folds_identity_inline_and_drops_alter ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_replaces_pre_existing_generated_clause ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_preserves_generated_always ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_defaults_cache_when_absent ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_always_only_quoted ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_setval_match_with_truncated_auto_name_is_plain_fixed ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_full_pgdump_form ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_preserves_source_cache ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_rejects_non_matching ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_setval_mismatch_warns ... ok [INFO] [stdout] test rules::serial_idiom::tests::dotted_quoted_identifier_not_mis_split ... ok [INFO] [stdout] test rules::identity_idiom::tests::parse_identity_add_requires_sequence_name ... ok [INFO] [stdout] test rules::identity_idiom::tests::set_compression_detected_and_stripped ... ok [INFO] [stdout] test rules::identity_idiom::tests::fix_setval_match_is_plain_fixed ... ok [INFO] [stdout] test rules::serial_idiom::tests::happy_path_detects_single_idiom ... ok [INFO] [stdout] test rules::serial_idiom::tests::exact_schema_match_preferred_over_wildcard ... ok [INFO] [stdout] test rules::name_match::tests::fold_text_ident_decodes_doubled_quotes_and_preserves_case ... ok [INFO] [stdout] test rules::serial_idiom::tests::free_standing_sequence_no_idiom ... ok [INFO] [stdout] test rules::serial_idiom::tests::extract_nextval_accepts_pg_catalog_qualified_name ... ok [INFO] [stdout] test rules::name_match::tests::normalize_dotted_identifier_respects_quotes ... ok [INFO] [stdout] test rules::serial_idiom::tests::fix_diagnostic_statement_is_original_text ... ok [INFO] [stdout] test rules::serial_idiom::tests::schema_qualified_vs_unqualified_correlates ... ok [INFO] [stdout] test rules::name_match::tests::drop_parts_sorts_dedups_and_removes_in_reverse ... ok [INFO] [stdout] test rules::serial_idiom::tests::multi_op_alter_table_skipped ... ok [INFO] [stdout] test rules::identity_idiom::tests::detect_requires_preceding_create_table_with_column ... ok [INFO] [stdout] test rules::serial_idiom::tests::set_default_not_nextval_no_idiom ... ok [INFO] [stdout] test rules::serial_idiom::tests::unquoted_mixed_case_correlates_after_folding ... ok [INFO] [stdout] test rules::serial_idiom::tests::two_tables_each_serial_detects_two ... ok [INFO] [stdout] test rules::serial_idiom::tests::quoted_mixed_case_sequence_correlates ... ok [INFO] [stdout] test rules::serial_idiom::tests::quoted_vs_unquoted_case_does_not_correlate ... ok [INFO] [stdout] test rules::serial_idiom::tests::sequence_ownership_change_matching ... ok [INFO] [stdout] test rules::serial_idiom::tests::set_default_referencing_absent_sequence_no_idiom ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 147 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/dsql-lint/a98da1b2349fce11/out/dsql_lint-a98da1b2349fce11) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/dsql_cluster_test.rs (/opt/rustwide/target/release/build/dsql-lint/4adb0c1691026b27/out/dsql_cluster_test-4adb0c1691026b27) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/exit_code_test.rs (/opt/rustwide/target/release/build/dsql-lint/14be4142f004656b/out/exit_code_test-14be4142f004656b) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test no_files_exits_2 ... ok [INFO] [stderr] /tmp/.tmpboquxt/fixable.sql:1: INFO — CREATE SEQUENCE without explicit CACHE clause is not supported in DSQL. [INFO] [stderr] → Add an explicit CACHE 1 or CACHE 65536 clause. [INFO] [stderr] | CREATE SEQUENCE s; [INFO] [stderr] [INFO] [stderr] 1 issue(s) found. [INFO] [stdout] test fix_with_warnings_exits_3 ... ok [INFO] [stderr] All statements compatible with DSQL. [INFO] [stderr] /tmp/.tmpr7tWVP/warn.sql:1: WARNING — Added ASYNC keyword to CREATE INDEX — the index builds in the background and is NOT ready when the statement returns; wait via sys.jobs before relying on it, and a UNIQUE build can still fail later on a duplicate [INFO] [stderr] Fixed output written to: /tmp/.tmpr7tWVP/warn-fixed.sql (1 warning(s) — review recommended) [INFO] [stdout] test output_without_fix_exits_2 ... ok [INFO] [stderr] /tmp/.tmp442CCb/serial.sql:1: WARNING — Replaced SERIAL with BIGINT GENERATED BY DEFAULT AS IDENTITY (CACHE 1) on column `id` — verify application code handles the wider type range; the implicit identity sequence is no longer addressable by name, so any nextval()/setval()/currval() calls against the old SERIAL sequence will break [INFO] [stdout] test lint_mode_exits_1_on_fixed_only_diagnostics ... ok [INFO] [stderr] Fixed output written to: /tmp/.tmp442CCb/serial-fixed.sql (1 warning(s) — review recommended) [INFO] [stderr] /tmp/.tmpzDguTK/mixed.sql:1: WARNING — Added ASYNC keyword to CREATE INDEX — the index builds in the background and is NOT ready when the statement returns; wait via sys.jobs before relying on it, and a UNIQUE build can still fail later on a duplicate [INFO] [stderr] /tmp/.tmpzDguTK/mixed.sql:2: ERROR (unfixable) — TRUNCATE is not supported in DSQL. [INFO] [stderr] → Use DELETE FROM table_name instead. Note: DELETE does not reset identity/sequence counters or skip triggers the way TRUNCATE does, and DSQL caps a transaction at 3,000 rows — delete large tables in batches. [INFO] [stderr] | TRUNCATE TABLE foo; [INFO] [stderr] Partial fix written to: /tmp/.tmpzDguTK/mixed-fixed.sql (1 unfixable error(s) remain) [INFO] [stderr] [INFO] [stderr] Fix complete: 1 file(s) had unfixable errors and require manual review. [INFO] [stdout] test fix_serial_exits_3 ... ok [INFO] [stderr] /tmp/.tmps6alLu/bad.sql:1: WARNING — Column `id` uses SERIAL, which is not supported in DSQL. [INFO] [stdout] test lint_text_labels_match_fix_result_variant ... ok [INFO] [stderr] → Use `BIGINT GENERATED BY DEFAULT AS IDENTITY (CACHE 1)` instead. [INFO] [stdout] test fix_mixed_unfixable_and_warning_exits_1 ... ok [INFO] [stderr] | CREATE TABLE t (id SERIAL PRIMARY KEY); [INFO] [stdout] test lint_mode_still_uses_0_and_1 ... ok [INFO] [stderr] [INFO] [stdout] test clap_usage_error_exits_2 ... ok [INFO] [stderr] 1 issue(s) found. [INFO] [stderr] /tmp/.tmpJJVPdM/fixable.sqlFixed output written to: /tmp/.tmpmzscyY/clean-fixed.sql [INFO] [stderr] :1: FIXED — Added CACHE 1 to CREATE SEQUENCE [INFO] [stderr] Fixed output written to: /tmp/.tmpJJVPdM/fixable-fixed.sql [INFO] [stderr] /tmp/.tmp1EMp6O/unfixable.sql:1: ERROR (unfixable) — TRUNCATE is not supported in DSQL. [INFO] [stderr] → Use DELETE FROM table_name instead. Note: DELETE does not reset identity/sequence counters or skip triggers the way TRUNCATE does, and DSQL caps a transaction at 3,000 rows — delete large tables in batches. [INFO] [stderr] | TRUNCATE TABLE foo; [INFO] [stderr] Partial fix written to: /tmp/.tmp1EMp6O/unfixable-fixed.sql (1 unfixable error(s) remain) [INFO] [stderr] [INFO] [stderr] Fix complete: 1 file(s) had unfixable errors and require manual review. [INFO] [stderr] Running tests/fix_cli_test.rs (/opt/rustwide/target/release/build/dsql-lint/dd1b604c4d4c99ce/out/fix_cli_test-dd1b604c4d4c99ce) [INFO] [stdout] test fix_clean_exits_0 ... ok [INFO] [stdout] test fix_all_fixed_no_warnings_exits_0 ... ok [INFO] [stdout] test fix_unfixable_exits_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test dialect_mysql_without_fix_is_usage_error ... ok [INFO] [stderr] Error: -o/--output requires --fix [INFO] [stderr] Fixed output written to: /tmp/.tmpTg2s0O/input-fixed.sql [INFO] [stdout] test output_without_fix_is_error ... ok [INFO] [stderr] Error: -o/--output can only be used with a single input file [INFO] [stdout] test fix_dialect_mysql_translates_mysqldump_ddl ... ok [INFO] [stdout] test fix_clean_file_shows_plain_message ... ok [INFO] [stdout] test fix_async_index_rewrite_shows_warning_count ... ok [INFO] [stdout] test fix_flag_creates_output_file ... ok [INFO] [stdout] test fix_output_same_as_input_is_error ... ok [INFO] [stdout] test output_with_multiple_files_is_error ... ok [INFO] [stdout] test fix_alter_fk_adds_not_valid_with_warning ... ok [INFO] [stdout] test fix_multiple_files_creates_multiple_outputs ... ok [INFO] [stderr] /tmp/.tmp2VjBFI/a.sql:1: FIXED — Added CACHE 1 to CREATE SEQUENCE [INFO] [stderr] Fixed output written to: /tmp/.tmp2VjBFI/a-fixed.sql [INFO] [stderr] Fixed output written to: /tmp/.tmp2VjBFI/b-fixed.sql [INFO] [stderr] Fixed output written to: /tmp/.tmpl7emie/custom.sql [INFO] [stdout] test fix_unfixable_shows_partial_message ... ok [INFO] [stdout] test fix_with_output_flag ... ok [INFO] [stderr] /tmp/.tmpfNtZkb/input.sql:1: ERROR (unfixable) — TRUNCATE is not supported in DSQL. [INFO] [stdout] test fix_unfixable_shows_summary ... ok [INFO] [stderr] → Use DELETE FROM table_name instead. Note: DELETE does not reset identity/sequence counters or skip triggers the way TRUNCATE does, and DSQL caps a transaction at 3,000 rows — delete large tables in batches. [INFO] [stdout] test fix_unfixable_returns_exit_code_1 ... ok [INFO] [stderr] | TRUNCATE TABLE foo; [INFO] [stderr] Partial fix written to: /tmp/.tmpfNtZkb/input-fixed.sql (1 unfixable error(s) remain) [INFO] [stderr] [INFO] [stderr] Fix complete: 1 file(s) had unfixable errors and require manual review. [INFO] [stderr] /tmp/.tmpPg7ozO/input.sql:1: WARNING — Replaced SERIAL with BIGINT GENERATED BY DEFAULT AS IDENTITY (CACHE 1) on column `id` — verify application code handles the wider type range; the implicit identity sequence is no longer addressable by name, so any nextval()/setval()/currval() calls against the old SERIAL sequence will break [INFO] [stderr] Fixed output written to: /tmp/.tmpPg7ozO/input-fixed.sql (1 warning(s) — review recommended) [INFO] [stdout] test fix_serial_produces_identity_in_output ... ok [INFO] [stdout] test fix_comment_note_only_when_comments_present ... ok [INFO] [stderr] Running tests/fix_test.rs (/opt/rustwide/target/release/build/dsql-lint/1e067c4fc303d31e/out/fix_test-1e067c4fc303d31e) [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test fix_alter_fk_adds_not_valid ... ok [INFO] [stdout] test fix_ddl_with_dml_roundtrip_clean ... ok [INFO] [stdout] test aws_iam_fix_preserves_original_sql ... ok [INFO] [stdout] test dml_then_ddl_in_txn_still_emits_mixed_diagnostic ... ok [INFO] [stdout] test fix_clean_statement_verbatim ... ok [INFO] [stdout] test fix_rollback_transaction_not_split ... ok [INFO] [stdout] test fix_out_of_range_identity_cache_is_clamped_with_warning ... ok [INFO] [stdout] test fix_unclosed_multi_ddl_transaction_unchanged ... ok [INFO] [stdout] test fix_multi_ddl_roundtrip_clean ... ok [INFO] [stdout] test fix_single_ddl_plus_dml_in_txn_emits_diagnostic_and_splits ... ok [INFO] [stdout] test fix_real_dsql_dump_preserves_tuned_cache ... ok [INFO] [stdout] test fix_pg_dump_serial_idiom_drops_sequence_ownership_statements ... ok [INFO] [stdout] test fix_serial_idiom_reports_custom_sequence_name ... ok [INFO] [stdout] test fix_collate_multi_column_tiers_and_line_numbers ... ok [INFO] [stdout] test fix_unique_using_index_is_unchanged ... ok [INFO] [stdout] test fix_multi_ddl_emits_diagnostic ... ok [INFO] [stdout] test foreign_key_enforcement_fix_preserves_deferrability ... ok [INFO] [stdout] test isolation_assignment_fix_keeps_unfixable_sql ... ok [INFO] [stdout] test fix_real_dsql_dump_round_trips_clean ... ok [INFO] [stdout] test two_transactions_only_mixed_one_flagged ... ok [INFO] [stdout] test fix_tier_matrix ... ok [INFO] [stdout] test rollback_terminated_mixed_txn_does_not_emit_mixed_diagnostic ... ok [INFO] [stdout] test unclosed_mixed_txn_does_not_emit_mixed_diagnostic ... ok [INFO] [stdout] test savepoint_inside_mixed_txn_still_flagged_at_commit ... ok [INFO] [stdout] test session_characteristics_isolation_fix_warns_and_preserves_access_mode ... ok [INFO] [stdout] test supported_session_characteristics_fix_is_verbatim ... ok [INFO] [stdout] test fix_sample_migration_reduces_errors ... ok [INFO] [stdout] test fix_clean_file_is_verbatim ... ok [INFO] [stdout] test catalog_ddl_dml_fix_splits_with_warning ... ok [INFO] [stdout] test catalog_ddl_fix_splits_with_atomicity_warning ... ok [INFO] [stdout] test fix_snapshot_matrix ... ok [INFO] [stdout] test fix_roundtrip_matrix ... ok [INFO] [stderr] Running tests/grammar_corpus_mirror_test.rs (/opt/rustwide/target/release/build/dsql-lint/e05ac767db5bdeef/out/grammar_corpus_mirror_test-e05ac767db5bdeef) [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/grammar_diff_smoke_test.rs (/opt/rustwide/target/release/build/dsql-lint/41c28ec003ad93ce/out/grammar_diff_smoke_test-41c28ec003ad93ce) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/grammar_oracle_test.rs (/opt/rustwide/target/release/build/dsql-lint/2bed37fa1a99ac77/out/grammar_oracle_test-2bed37fa1a99ac77) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/release/build/dsql-lint/7639f9684db5d2f7/out/integration_test-7639f9684db5d2f7) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test alter_and_drop_count_as_ddl ... ok [INFO] [stdout] test isolation_configuration_assignments_are_unfixable ... ok [INFO] [stdout] test isolation_configuration_diagnostic_uses_variable_line ... ok [INFO] [stdout] test begin_without_commit_no_diagnostic ... ok [INFO] [stdout] test catalog_ddl_mixed_with_dml_is_detected ... ok [INFO] [stdout] test clean_multi_statement_cases_produce_no_ddl_transaction_errors ... ok [INFO] [stdout] test malformed_aws_iam_statements_report_parse_errors ... ok [INFO] [stdout] test locale_expression_collation_is_rejected ... ok [INFO] [stdout] test malformed_session_characteristics_are_not_normalized ... ok [INFO] [stdout] test multi_ddl_in_transaction_detected ... ok [INFO] [stdout] test multiple_transactions_each_checked ... ok [INFO] [stdout] test parse_error_inside_transaction_warns ... ok [INFO] [stdout] test nested_begin_does_not_reset_ddl_count ... ok [INFO] [stdout] test async_validate_constraint_is_valid ... ok [INFO] [stdout] test fixture_clean_all_types ... ok [INFO] [stdout] test partial_index_is_supported ... ok [INFO] [stdout] test suggested_column_types_are_dsql_valid ... ok [INFO] [stdout] test rollback_terminates_transaction_no_bleed ... ok [INFO] [stdout] test supported_foreign_key_forms_produce_zero_errors ... ok [INFO] [stdout] test suggested_async_index_is_valid ... ok [INFO] [stdout] test truncate_counts_as_ddl ... ok [INFO] [stdout] test unique_using_index_is_valid ... ok [INFO] [stdout] test supported_aws_iam_statements_are_clean ... ok [INFO] [stdout] test supported_session_characteristics_are_clean ... ok [INFO] [stdout] test unsupported_session_characteristics_are_still_flagged ... ok [INFO] [stdout] test unrelated_settings_and_serializable_values_are_not_isolation_errors ... ok [INFO] [stdout] test validated_identity_alter_semantics ... ok [INFO] [stdout] test false_positive_matrix ... ok [INFO] [stdout] test validated_numeric_index_and_primary_key_semantics ... ok [INFO] [stdout] test three_ddl_in_transaction_detected ... ok [INFO] [stdout] test validated_supported_syntax_is_clean ... ok [INFO] [stdout] test fixture_sample_migration ... ok [INFO] [stdout] test check_constraint_two_phase_workflow_is_valid ... ok [INFO] [stdout] test supported_types_produce_zero_errors ... ok [INFO] [stdout] test clean_statements_produce_zero_errors ... ok [INFO] [stdout] test catalog_ddl_transaction_boundaries_stay_clean ... ok [INFO] [stdout] test error_detection_matrix ... ok [INFO] [stdout] test catalog_ddl_transactions_are_detected ... ok [INFO] [stdout] test additional_error_detection_matrix ... ok [INFO] [stdout] test additional_false_positive_matrix ... ok [INFO] [stdout] test lint_rule_mapping_produces_expected_diagnostics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/json_output_test.rs (/opt/rustwide/target/release/build/dsql-lint/37606c08569536ee/out/json_output_test-37606c08569536ee) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test json_lint_clean_file ... ok [INFO] [stdout] test json_lint_multiline_preview_collapsed ... ok [INFO] [stdout] test json_lint_with_errors ... ok [INFO] [stdout] test json_lint_summary_splits_errors_and_warnings ... ok [INFO] [stdout] test json_lint_nullable_fields_always_present ... ok [INFO] [stdout] test json_file_read_error_appears_in_files_array ... ok [INFO] [stdout] test json_io_failure_increments_summary_errors ... ok [INFO] [stdout] test json_format_invalid_value_is_error ... ok [INFO] [stdout] test json_preview_appends_ellipsis_when_truncated ... ok [INFO] [stdout] test json_broken_pipe_exits_0 ... FAILED [INFO] [stdout] test json_catalog_ddl_fix_reports_warning_and_relints_clean ... ok [INFO] [stdout] test json_fix_same_file_error_does_not_drop_queued_files ... ok [INFO] [stdout] test json_single_file_still_has_files_array ... ok [INFO] [stdout] test json_multiple_files_grouped ... ok [INFO] [stdout] test json_preview_no_ellipsis_when_short ... ok [INFO] [stdout] test json_fix_summary_buckets_are_disjoint ... ok [INFO] [stdout] test json_aws_iam_is_clean_in_lint_and_fix_modes ... ok [INFO] [stdout] test json_fix_mode_file_has_output_file ... ok [INFO] [stdout] test json_serializable_assignment_remains_unfixable ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- json_broken_pipe_exits_0 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'json_broken_pipe_exits_0' (1850) panicked at tests/json_output_test.rs:616:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Some(1) [INFO] [stdout] right: Some(0) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x640ed67d5ef1 - <::print::DisplayBacktrace as core[a2c1a7cd948629ec]::fmt::Display>::fmt [INFO] [stdout] 1: 0x640ed67eab8a - core[a2c1a7cd948629ec]::fmt::write [INFO] [stdout] 2: 0x640ed67da36c - as core[a2c1a7cd948629ec]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x640ed67b0716 - std[f3a103f8b3fbc6]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x640ed67cd8d9 - std[f3a103f8b3fbc6]::panicking::default_hook [INFO] [stdout] 5: 0x640ed6768860 - test[4d2796dde4b18a79]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x640ed67cda92 - std[f3a103f8b3fbc6]::panicking::panic_with_hook [INFO] [stdout] 7: 0x640ed67b07c2 - std[f3a103f8b3fbc6]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x640ed67a9c89 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x640ed67b13cd - __rustc[72b30b8c63551d82]::rust_begin_unwind [INFO] [stdout] 10: 0x640ed67eb2bc - core[a2c1a7cd948629ec]::panicking::panic_fmt [INFO] [stdout] 11: 0x640ed67eb1d3 - core[a2c1a7cd948629ec]::panicking::assert_failed_inner [INFO] [stdout] 12: 0x640ed6755385 - core[a2c1a7cd948629ec]::panicking::assert_failed::, core[a2c1a7cd948629ec]::option::Option> [INFO] [stdout] 13: 0x640ed674ac6f - >::call_once [INFO] [stdout] 14: 0x640ed675bcab - test[4d2796dde4b18a79]::__rust_begin_short_backtrace::, fn() -> core[a2c1a7cd948629ec]::result::Result<(), alloc[9de6908353064a78]::string::String>> [INFO] [stdout] 15: 0x640ed6768e85 - test[4d2796dde4b18a79]::run_test::{closure#0} [INFO] [stdout] 16: 0x640ed6762274 - std[f3a103f8b3fbc6]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x640ed676bf12 - ::{closure#1} as core[a2c1a7cd948629ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x640ed67d520f - ::new::thread_start [INFO] [stdout] 19: 0x71273370bdfa - [INFO] [stdout] 20: 0x71273379f3d4 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] json_broken_pipe_exits_0 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test json_output_test` [INFO] running `"docker" "inspect" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] running `"docker" "rm" "-f" "69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34"` [INFO] [stdout] 69ca257677cd26f12a1b7af0fa4ed6e919da48d437190fce38822030d4864c34