[INFO] fetching crate domner_tech_sql_client 0.2.2... [INFO] testing domner_tech_sql_client-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate domner_tech_sql_client 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate domner_tech_sql_client 0.2.2 [INFO] finished tweaking crates.io crate domner_tech_sql_client 0.2.2 [INFO] tweaked toml for crates.io crate domner_tech_sql_client 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate domner_tech_sql_client 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate domner_tech_sql_client 0.2.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded postgres-types v0.2.10 [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] [stderr] Downloaded winauth v0.0.4 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded postgres-native-tls v0.5.2 [INFO] [stderr] Downloaded enumflags2_derive v0.7.12 [INFO] [stderr] Downloaded rust_decimal v1.38.0 [INFO] [stderr] Downloaded pretty-hex v0.3.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.14 [INFO] [stderr] Downloaded rust_decimal_macros v1.38.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded tiberius v0.12.3 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded enumflags2 v0.7.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b49f627d4f88fe684a3ee4c1ddc995ed936c1f72a140663caa68d181553e32 [INFO] running `Command { std: "docker" "start" "-a" "08b49f627d4f88fe684a3ee4c1ddc995ed936c1f72a140663caa68d181553e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b49f627d4f88fe684a3ee4c1ddc995ed936c1f72a140663caa68d181553e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b49f627d4f88fe684a3ee4c1ddc995ed936c1f72a140663caa68d181553e32", kill_on_drop: false }` [INFO] [stdout] 08b49f627d4f88fe684a3ee4c1ddc995ed936c1f72a140663caa68d181553e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c9d2850557425f6fa0de6471824750857a927ca3b90939f79870e001296edbb [INFO] running `Command { std: "docker" "start" "-a" "0c9d2850557425f6fa0de6471824750857a927ca3b90939f79870e001296edbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rust_decimal_macros v1.38.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling postgres-types v0.2.10 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling domner_tech_sql_client v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/types/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbClient` [INFO] [stdout] --> src/lib.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pool_manager::{DbClient, DbRow, PooledClient}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/pool_manager.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | pub enum DbRow<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pool_manager.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut connections = Vec::with_capacity(pool_size as usize); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 214 | let db_rows = match client { [INFO] [stdout] | ___________________- [INFO] [stdout] 215 | | #[cfg(feature = "mssql")] [INFO] [stdout] 216 | | DbClient::Mssql(c) => { [INFO] [stdout] 217 | | use crate::pool_manager::DbClientType; [INFO] [stdout] ... | [INFO] [stdout] 247 | | _ => return Err(anyhow::anyhow!("No database feature enabled.")), [INFO] [stdout] 248 | | }; [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 249 | Ok(db_rows) [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | _ => panic!("No database feature enabled."), [INFO] [stdout] | ^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | matches no values because `DbClientType` is uninhabited [INFO] [stdout] | help: remove the match arm [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params_count` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | params_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_params_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_txt` [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | cmd_txt: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_txt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | params: &[&dyn UnifiedToSql], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_type` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | cmd_type: CommandType, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | table: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/lib.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | columns: &[&str], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | params: &[&dyn UnifiedToSql], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_type` [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | cmd_type: CommandType, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_rows` [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | map_rows: impl Fn(&DbRow) -> T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_rows` [INFO] [stdout] --> src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let db_rows = match client { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `domner_tech_sql_client` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0c9d2850557425f6fa0de6471824750857a927ca3b90939f79870e001296edbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9d2850557425f6fa0de6471824750857a927ca3b90939f79870e001296edbb", kill_on_drop: false }` [INFO] [stdout] 0c9d2850557425f6fa0de6471824750857a927ca3b90939f79870e001296edbb