[INFO] cloning repository https://github.com/erans/pgsqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erans/pgsqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferans%2Fpgsqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferans%2Fpgsqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 000839422d30cb10b7deb26b07219f82f14ea3f9 [INFO] checking erans/pgsqlite against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferans%2Fpgsqlite" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erans/pgsqlite [INFO] finished tweaking git repo https://github.com/erans/pgsqlite [INFO] tweaked toml for git repo https://github.com/erans/pgsqlite written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erans/pgsqlite on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/erans/pgsqlite 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded rustls-webpki v0.103.6 [INFO] [stderr] Downloaded serde_derive v1.0.225 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded serde_spanned v1.0.1 [INFO] [stderr] Downloaded tokio-rustls v0.26.3 [INFO] [stderr] Downloaded toml_datetime v0.7.1 [INFO] [stderr] Downloaded toml v0.9.6 [INFO] [stderr] Downloaded config v0.15.16 [INFO] [stderr] Downloaded serde_core v1.0.225 [INFO] [stderr] Downloaded lru v0.16.1 [INFO] [stderr] Downloaded indexmap v2.11.3 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded sqlparser v0.57.0 [INFO] [stderr] Downloaded serde v1.0.225 [INFO] [stderr] Downloaded criterion v0.6.0 [INFO] [stderr] Downloaded rusqlite v0.36.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30425e52ede35ba32379aace2e11f64d96d26543e32f08561c5e613020910b0f [INFO] running `Command { std: "docker" "start" "-a" "30425e52ede35ba32379aace2e11f64d96d26543e32f08561c5e613020910b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30425e52ede35ba32379aace2e11f64d96d26543e32f08561c5e613020910b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30425e52ede35ba32379aace2e11f64d96d26543e32f08561c5e613020910b0f", kill_on_drop: false }` [INFO] [stdout] 30425e52ede35ba32379aace2e11f64d96d26543e32f08561c5e613020910b0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc93c50df86eca1a5813ce1cbc80c6a4bf33d0fe22b73eb8de79206333414f1d [INFO] running `Command { std: "docker" "start" "-a" "cc93c50df86eca1a5813ce1cbc80c6a4bf33d0fe22b73eb8de79206333414f1d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking lru v0.16.1 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking serde_spanned v1.0.1 [INFO] [stderr] Checking toml_datetime v0.7.1 [INFO] [stderr] Checking toml v0.9.6 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking sqlparser v0.57.0 [INFO] [stderr] Checking config v0.15.16 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking tempfile v3.22.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tokio-rustls v0.26.3 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking rusqlite v0.36.0 [INFO] [stderr] Checking pgsqlite v0.0.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/security/audit_logger.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | use std::time::Duration; [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 variable: `instant` [INFO] [stdout] --> src/protocol/rate_limiter.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | fn instant_to_nanos(instant: Instant) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_count` [INFO] [stdout] --> src/protocol/rate_limiter.rs:478:40 [INFO] [stdout] | [INFO] [stdout] 478 | let (state, failure_count, success_count) = CircuitBreakerState::unpack_state(packed); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instant` [INFO] [stdout] --> src/protocol/rate_limiter.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | fn instant_to_nanos(instant: Instant) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instant` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_count` [INFO] [stdout] --> src/protocol/rate_limiter.rs:478:40 [INFO] [stdout] | [INFO] [stdout] 478 | let (state, failure_count, success_count) = CircuitBreakerState::unpack_state(packed); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/protocol/rate_limiter.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl RateLimitWindow { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | fn is_expired(&self, window_duration: Duration) -> 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: associated functions `instant_to_nanos` and `nanos_to_duration_since_now` are never used [INFO] [stdout] --> src/protocol/rate_limiter.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 227 | impl CircuitBreakerState { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | fn instant_to_nanos(instant: Instant) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn nanos_to_duration_since_now(nanos: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUERY_LENGTH` is never used [INFO] [stdout] --> src/session/db_handler.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_QUERY_LENGTH: usize = 1_000_000; // 1MB max query length [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUERY_DEPTH` is never used [INFO] [stdout] --> src/session/db_handler.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MAX_QUERY_DEPTH: usize = 100; // Maximum nesting depth for subqueries [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validate_sql_security_legacy` and `remove_quoted_strings` are never used [INFO] [stdout] --> src/session/db_handler.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl DbHandler { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn validate_sql_security_legacy(query: &str) -> Result<(), PgSqliteError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn remove_quoted_strings(query: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allowed_table_patterns` is never read [INFO] [stdout] --> src/security/sql_injection_detector.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlInjectionDetector { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | allowed_table_patterns: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/protocol/rate_limiter.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 141 | impl RateLimitWindow { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | fn is_expired(&self, window_duration: Duration) -> 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: associated functions `instant_to_nanos` and `nanos_to_duration_since_now` are never used [INFO] [stdout] --> src/protocol/rate_limiter.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 227 | impl CircuitBreakerState { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | fn instant_to_nanos(instant: Instant) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn nanos_to_duration_since_now(nanos: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUERY_LENGTH` is never used [INFO] [stdout] --> src/session/db_handler.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAX_QUERY_LENGTH: usize = 1_000_000; // 1MB max query length [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUERY_DEPTH` is never used [INFO] [stdout] --> src/session/db_handler.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MAX_QUERY_DEPTH: usize = 100; // Maximum nesting depth for subqueries [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validate_sql_security_legacy` and `remove_quoted_strings` are never used [INFO] [stdout] --> src/session/db_handler.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl DbHandler { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn validate_sql_security_legacy(query: &str) -> Result<(), PgSqliteError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn remove_quoted_strings(query: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allowed_table_patterns` is never read [INFO] [stdout] --> src/security/sql_injection_detector.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SqlInjectionDetector { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | allowed_table_patterns: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 16s [INFO] running `Command { std: "docker" "inspect" "cc93c50df86eca1a5813ce1cbc80c6a4bf33d0fe22b73eb8de79206333414f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc93c50df86eca1a5813ce1cbc80c6a4bf33d0fe22b73eb8de79206333414f1d", kill_on_drop: false }` [INFO] [stdout] cc93c50df86eca1a5813ce1cbc80c6a4bf33d0fe22b73eb8de79206333414f1d