[INFO] fetching crate rsdbc-core 0.0.1... [INFO] testing rsdbc-core-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rsdbc-core 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rsdbc-core 0.0.1 [INFO] finished tweaking crates.io crate rsdbc-core 0.0.1 [INFO] tweaked toml for crates.io crate rsdbc-core 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsdbc-core 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 446e68c488e6ece710d5631ee7ef64d1049f092d88faaae9a1dceea65120c09e [INFO] running `Command { std: "docker" "start" "-a" "446e68c488e6ece710d5631ee7ef64d1049f092d88faaae9a1dceea65120c09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "446e68c488e6ece710d5631ee7ef64d1049f092d88faaae9a1dceea65120c09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446e68c488e6ece710d5631ee7ef64d1049f092d88faaae9a1dceea65120c09e", kill_on_drop: false }` [INFO] [stdout] 446e68c488e6ece710d5631ee7ef64d1049f092d88faaae9a1dceea65120c09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c232b8c11667e968f3b90805d40351ae8c04c93e5832500d0fa8fc5201fcb0 [INFO] running `Command { std: "docker" "start" "-a" "86c232b8c11667e968f3b90805d40351ae8c04c93e5832500d0fa8fc5201fcb0", kill_on_drop: false }` [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rsdbc-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, Cow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/connection.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | fn validate(url: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/connection.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/connection.rs:654:30 [INFO] [stdout] | [INFO] [stdout] 654 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:425:32 [INFO] [stdout] | [INFO] [stdout] 425 | fn column_type_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | fn precision(&self, i: u64) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | fn schema_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | fn table_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | fn is_nullable(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | fn is_read_only(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ISOLATION_LEVEL`, `READ_ONLY`, `NAME`, and `LOCK_WAIT_TIMEOUT` are never used [INFO] [stdout] --> src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 50 | impl TransactionOptions { [INFO] [stdout] | ----------------------- associated constants in this implementation [INFO] [stdout] 51 | /// Isolation level requested for the transaction. [INFO] [stdout] 52 | const ISOLATION_LEVEL: &'static str = "isolation_level"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | const READ_ONLY: &'static str = "read_only"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | const NAME: &'static str = "name"; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | const LOCK_WAIT_TIMEOUT: &'static str = "lock_wait_timeout"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_connection` is never used [INFO] [stdout] --> src/lib.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl IsolationLevel { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn new(raw: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "86c232b8c11667e968f3b90805d40351ae8c04c93e5832500d0fa8fc5201fcb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c232b8c11667e968f3b90805d40351ae8c04c93e5832500d0fa8fc5201fcb0", kill_on_drop: false }` [INFO] [stdout] 86c232b8c11667e968f3b90805d40351ae8c04c93e5832500d0fa8fc5201fcb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7afd4277a17f02878e3ed540b826563c17a2b47900e88230711ccdcd84189e4 [INFO] running `Command { std: "docker" "start" "-a" "c7afd4277a17f02878e3ed540b826563c17a2b47900e88230711ccdcd84189e4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, Cow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/connection.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | fn validate(url: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/connection.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/connection.rs:654:30 [INFO] [stdout] | [INFO] [stdout] 654 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:425:32 [INFO] [stdout] | [INFO] [stdout] 425 | fn column_type_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | fn precision(&self, i: u64) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | fn schema_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | fn table_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | fn is_nullable(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | fn is_read_only(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ISOLATION_LEVEL`, `READ_ONLY`, `NAME`, and `LOCK_WAIT_TIMEOUT` are never used [INFO] [stdout] --> src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 50 | impl TransactionOptions { [INFO] [stdout] | ----------------------- associated constants in this implementation [INFO] [stdout] 51 | /// Isolation level requested for the transaction. [INFO] [stdout] 52 | const ISOLATION_LEVEL: &'static str = "isolation_level"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | const READ_ONLY: &'static str = "read_only"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | const NAME: &'static str = "name"; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | const LOCK_WAIT_TIMEOUT: &'static str = "lock_wait_timeout"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_connection` is never used [INFO] [stdout] --> src/lib.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl IsolationLevel { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn new(raw: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsdbc-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, Cow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::RsdbcErrors` [INFO] [stdout] --> src/connection.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | use crate::RsdbcErrors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/connection.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | fn validate(url: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/connection.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/connection.rs:654:30 [INFO] [stdout] | [INFO] [stdout] 654 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { //Box [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:425:32 [INFO] [stdout] | [INFO] [stdout] 425 | fn column_type_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | fn precision(&self, i: u64) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | fn schema_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:437:26 [INFO] [stdout] | [INFO] [stdout] 437 | fn table_name(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 441 | fn is_nullable(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:445:28 [INFO] [stdout] | [INFO] [stdout] 445 | fn is_read_only(&self, i: u64) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ISOLATION_LEVEL`, `READ_ONLY`, `NAME`, and `LOCK_WAIT_TIMEOUT` are never used [INFO] [stdout] --> src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 50 | impl TransactionOptions { [INFO] [stdout] | ----------------------- associated constants in this implementation [INFO] [stdout] 51 | /// Isolation level requested for the transaction. [INFO] [stdout] 52 | const ISOLATION_LEVEL: &'static str = "isolation_level"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | const READ_ONLY: &'static str = "read_only"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | const NAME: &'static str = "name"; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | const LOCK_WAIT_TIMEOUT: &'static str = "lock_wait_timeout"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_connection` is never used [INFO] [stdout] --> src/lib.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_connection(url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/connection.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl IsolationLevel { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn new(raw: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "c7afd4277a17f02878e3ed540b826563c17a2b47900e88230711ccdcd84189e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7afd4277a17f02878e3ed540b826563c17a2b47900e88230711ccdcd84189e4", kill_on_drop: false }` [INFO] [stdout] c7afd4277a17f02878e3ed540b826563c17a2b47900e88230711ccdcd84189e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cff7b8b616f3da1b60cc1f93535f7fcff6a6cc7900e469f8b79fee036752bd9d [INFO] running `Command { std: "docker" "start" "-a" "cff7b8b616f3da1b60cc1f93535f7fcff6a6cc7900e469f8b79fee036752bd9d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `url::Url` [INFO] [stderr] --> src/error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use url::Url; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Borrow` [INFO] [stderr] --> src/lib.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::{Borrow, Cow}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/connection.rs:513:13 [INFO] [stderr] | [INFO] [stderr] 513 | fn validate(url: &str) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `columns` [INFO] [stderr] --> src/connection.rs:643:43 [INFO] [stderr] | [INFO] [stderr] 643 | fn return_generated_values(&mut self, columns: &[&str]) -> &mut Self where Self: Sized { //Box [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rows` [INFO] [stderr] --> src/connection.rs:654:30 [INFO] [stderr] | [INFO] [stderr] 654 | fn fetch_size(&mut self, rows: u32) -> &mut Self where Self: Sized { //Box [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/lib.rs:148:21 [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_connection(url: &str) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:425:32 [INFO] [stderr] | [INFO] [stderr] 425 | fn column_type_name(&self, i: u64) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:429:25 [INFO] [stderr] | [INFO] [stderr] 429 | fn precision(&self, i: u64) -> u64 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:433:27 [INFO] [stderr] | [INFO] [stderr] 433 | fn schema_name(&self, i: u64) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:437:26 [INFO] [stderr] | [INFO] [stderr] 437 | fn table_name(&self, i: u64) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:441:27 [INFO] [stderr] | [INFO] [stderr] 441 | fn is_nullable(&self, i: u64) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lib.rs:445:28 [INFO] [stderr] | [INFO] [stderr] 445 | fn is_read_only(&self, i: u64) -> String { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: associated constants `ISOLATION_LEVEL`, `READ_ONLY`, `NAME`, and `LOCK_WAIT_TIMEOUT` are never used [INFO] [stderr] --> src/lib.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 50 | impl TransactionOptions { [INFO] [stderr] | ----------------------- associated constants in this implementation [INFO] [stderr] 51 | /// Isolation level requested for the transaction. [INFO] [stderr] 52 | const ISOLATION_LEVEL: &'static str = "isolation_level"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | const READ_ONLY: &'static str = "read_only"; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | const NAME: &'static str = "name"; [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | const LOCK_WAIT_TIMEOUT: &'static str = "lock_wait_timeout"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_connection` is never used [INFO] [stderr] --> src/lib.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_connection(url: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/connection.rs:554:19 [INFO] [stderr] | [INFO] [stderr] 553 | impl IsolationLevel { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 554 | pub(crate) fn new(raw: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Borrow` [INFO] [stderr] --> src/lib.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use std::borrow::{Borrow, Cow}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `url::Url` [INFO] [stderr] --> src/error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use url::Url; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::RsdbcErrors` [INFO] [stderr] --> src/connection.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | use crate::RsdbcErrors; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rsdbc-core` (lib) generated 15 warnings (run `cargo fix --lib -p rsdbc-core` to apply 1 suggestion) [INFO] [stderr] warning: `rsdbc-core` (lib test) generated 16 warnings (13 duplicates) (run `cargo fix --lib -p rsdbc-core --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsdbc_core-0e19c46b5c5a0d8a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test connection::tests::missing_connection_factory_option_should_return_none ... ok [INFO] [stdout] test connection::tests::connection_factory_options_should_implement_from_str ... ok [INFO] [stdout] test connection::tests::connection_factory_has_option_should_return_appropriate_bool ... ok [INFO] [stdout] test connection::tests::parse_empty_string_should_return_err ... ok [INFO] [stdout] test connection::tests::programmatic_connection_factory_builder ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test connection::tests::should_successfully_parse_valid_connection_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rsdbc_core [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] [stdout] [INFO] running `Command { std: "docker" "inspect" "cff7b8b616f3da1b60cc1f93535f7fcff6a6cc7900e469f8b79fee036752bd9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff7b8b616f3da1b60cc1f93535f7fcff6a6cc7900e469f8b79fee036752bd9d", kill_on_drop: false }` [INFO] [stdout] cff7b8b616f3da1b60cc1f93535f7fcff6a6cc7900e469f8b79fee036752bd9d