[INFO] fetching crate tidb_pool 0.1.4... [INFO] testing tidb_pool-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tidb_pool 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tidb_pool 0.1.4 [INFO] finished tweaking crates.io crate tidb_pool 0.1.4 [INFO] tweaked toml for crates.io crate tidb_pool 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tidb_pool 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tidb_pool 0.1.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17ba9a4d453ad57956ef3413d119c330aad04a344e3a43830623a41ca9988aa5 [INFO] running `Command { std: "docker" "start" "-a" "17ba9a4d453ad57956ef3413d119c330aad04a344e3a43830623a41ca9988aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17ba9a4d453ad57956ef3413d119c330aad04a344e3a43830623a41ca9988aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ba9a4d453ad57956ef3413d119c330aad04a344e3a43830623a41ca9988aa5", kill_on_drop: false }` [INFO] [stdout] 17ba9a4d453ad57956ef3413d119c330aad04a344e3a43830623a41ca9988aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a6c2fa03483c6d5f71f8c665ba5fa5dee405b5206b36c6050d7acf7ce14e034 [INFO] running `Command { std: "docker" "start" "-a" "0a6c2fa03483c6d5f71f8c665ba5fa5dee405b5206b36c6050d7acf7ce14e034", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling tidb_pool v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0a6c2fa03483c6d5f71f8c665ba5fa5dee405b5206b36c6050d7acf7ce14e034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a6c2fa03483c6d5f71f8c665ba5fa5dee405b5206b36c6050d7acf7ce14e034", kill_on_drop: false }` [INFO] [stdout] 0a6c2fa03483c6d5f71f8c665ba5fa5dee405b5206b36c6050d7acf7ce14e034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73cda421b1cb2d8d77e81897bcd3eea7937a3bbe6b9361c674787c194ef37f1e [INFO] running `Command { std: "docker" "start" "-a" "73cda421b1cb2d8d77e81897bcd3eea7937a3bbe6b9361c674787c194ef37f1e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling tidb_pool v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "73cda421b1cb2d8d77e81897bcd3eea7937a3bbe6b9361c674787c194ef37f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73cda421b1cb2d8d77e81897bcd3eea7937a3bbe6b9361c674787c194ef37f1e", kill_on_drop: false }` [INFO] [stdout] 73cda421b1cb2d8d77e81897bcd3eea7937a3bbe6b9361c674787c194ef37f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e63109e500969d55bda34a321c9eb0800f9153b55dbd43060d268e674d2def6 [INFO] running `Command { std: "docker" "start" "-a" "5e63109e500969d55bda34a321c9eb0800f9153b55dbd43060d268e674d2def6", kill_on_drop: false }` [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> src/config.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tidb_pool` (lib) generated 1 warning [INFO] [stderr] warning: `tidb_pool` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tidb_pool-5d92f3e5fc897046) [INFO] [stdout] test config::tests::test_deserialize_tidb_config_from_toml ... ok [INFO] [stdout] test config::tests::test_deserialize_pool_options_with_missing_fields ... ok [INFO] [stdout] test config::tests::test_deserialize_tidb_config_with_missing_optional_fields ... ok [INFO] [stdout] test config::tests::test_get_host_without_port ... ok [INFO] [stderr] Doc-tests tidb_pool [INFO] [stdout] test config::tests::test_serialize_pool_options_to_toml ... ok [INFO] [stdout] test config::tests::test_get_host_with_port ... ok [INFO] [stdout] test config::tests::test_serialize_tidb_config_to_toml ... ok [INFO] [stdout] test config::tests::test_deserialize_pool_options_from_toml ... ok [INFO] [stdout] test config::tests::test_default_pool_options ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/pool.rs - pool::build_pool_from_config (line 30) ... ignored [INFO] [stdout] test src/config.rs - config::TiDBConfig::get_host (line 109) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::TiDBConfig::get_host (line 109) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `TiDBConfig: Default` is not satisfied [INFO] [stdout] --> src/config.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 8 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `TiDBConfig` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::TiDBConfig::get_host (line 109) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5e63109e500969d55bda34a321c9eb0800f9153b55dbd43060d268e674d2def6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e63109e500969d55bda34a321c9eb0800f9153b55dbd43060d268e674d2def6", kill_on_drop: false }` [INFO] [stdout] 5e63109e500969d55bda34a321c9eb0800f9153b55dbd43060d268e674d2def6