[INFO] fetching crate tusk-rs 0.99.11... [INFO] testing tusk-rs-0.99.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tusk-rs 0.99.11 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tusk-rs 0.99.11 [INFO] finished tweaking crates.io crate tusk-rs 0.99.11 [INFO] tweaked toml for crates.io crate tusk-rs 0.99.11 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tusk-rs 0.99.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tusk-rs 0.99.11 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded tusk-rs-derive v0.99.11 [INFO] [stderr] Downloaded deadpool-postgres v0.10.5 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded postgres-openssl v0.5.1 [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded syn v2.0.102 [INFO] [stderr] Downloaded cc v1.2.26 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e743014f22e2304cc58d1fd723afcc3b0ad56315fbc6a4d0c098f1ce5aa02b51 [INFO] running `Command { std: "docker" "start" "-a" "e743014f22e2304cc58d1fd723afcc3b0ad56315fbc6a4d0c098f1ce5aa02b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e743014f22e2304cc58d1fd723afcc3b0ad56315fbc6a4d0c098f1ce5aa02b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e743014f22e2304cc58d1fd723afcc3b0ad56315fbc6a4d0c098f1ce5aa02b51", kill_on_drop: false }` [INFO] [stdout] e743014f22e2304cc58d1fd723afcc3b0ad56315fbc6a4d0c098f1ce5aa02b51 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956368744ee01da8b575eadb0b9d386623377a04756f1be1da5103caa6ebb64a [INFO] running `Command { std: "docker" "start" "-a" "956368744ee01da8b575eadb0b9d386623377a04756f1be1da5103caa6ebb64a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tusk-rs-derive v0.99.11 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling postgres-openssl v0.5.1 [INFO] [stderr] Compiling deadpool-postgres v0.10.5 [INFO] [stderr] Compiling tusk-rs v0.99.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/query.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | pub arguments: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - pub arguments: Vec>, [INFO] [stdout] 189 + pub arguments: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.21s [INFO] running `Command { std: "docker" "inspect" "956368744ee01da8b575eadb0b9d386623377a04756f1be1da5103caa6ebb64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956368744ee01da8b575eadb0b9d386623377a04756f1be1da5103caa6ebb64a", kill_on_drop: false }` [INFO] [stdout] 956368744ee01da8b575eadb0b9d386623377a04756f1be1da5103caa6ebb64a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e90b738b0331aab864adef3a093e3e1d360f21e0e6d06155aa0969c8f90b407 [INFO] running `Command { std: "docker" "start" "-a" "3e90b738b0331aab864adef3a093e3e1d360f21e0e6d06155aa0969c8f90b407", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/query.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | pub arguments: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - pub arguments: Vec>, [INFO] [stdout] 189 + pub arguments: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tusk-rs v0.99.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/query.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | pub arguments: Vec>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - pub arguments: Vec>, [INFO] [stdout] 189 + pub arguments: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "3e90b738b0331aab864adef3a093e3e1d360f21e0e6d06155aa0969c8f90b407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e90b738b0331aab864adef3a093e3e1d360f21e0e6d06155aa0969c8f90b407", kill_on_drop: false }` [INFO] [stdout] 3e90b738b0331aab864adef3a093e3e1d360f21e0e6d06155aa0969c8f90b407 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ed2ab4047ccd085e54721fe31afdead5bdb5cbcbb3853e58b50765af4a9fdd7 [INFO] running `Command { std: "docker" "start" "-a" "5ed2ab4047ccd085e54721fe31afdead5bdb5cbcbb3853e58b50765af4a9fdd7", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/query.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | pub arguments: Vec>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 189 - pub arguments: Vec>, [INFO] [stderr] 189 + pub arguments: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tusk-rs` (lib) generated 1 warning (run `cargo fix --lib -p tusk-rs` to apply 1 suggestion) [INFO] [stderr] warning: `tusk-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tusk_rs-f2044c3baba5af61) [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] [stderr] Doc-tests tusk_rs [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/query.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | pub arguments: Vec>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 189 - pub arguments: Vec>, [INFO] [stderr] 189 + pub arguments: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/config.rs - config::DatabaseConfig::debug (line 115) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::database (line 73) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::password (line 59) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::port (line 101) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::host (line 31) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::username (line 45) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::ssl (line 87) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::debug (line 115) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").debug(true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").debug(true); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_115_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::database (line 73) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").database("database") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").database("database"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_73_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::password (line 59) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_59_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::port (line 101) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").port(5432) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").port(5432); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_101_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::host (line 31) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_31_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::username (line 45) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_45_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::ssl (line 87) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/config.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").ssl(true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `DatabaseConfig` [INFO] [stdout] | [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 7 | DatabaseConfig::new().username("username").password("password").ssl(true); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_87_0() -> DatabaseConfig { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::DatabaseConfig::database (line 73) [INFO] [stdout] src/config.rs - config::DatabaseConfig::debug (line 115) [INFO] [stdout] src/config.rs - config::DatabaseConfig::host (line 31) [INFO] [stdout] src/config.rs - config::DatabaseConfig::password (line 59) [INFO] [stdout] src/config.rs - config::DatabaseConfig::port (line 101) [INFO] [stdout] src/config.rs - config::DatabaseConfig::ssl (line 87) [INFO] [stdout] src/config.rs - config::DatabaseConfig::username (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5ed2ab4047ccd085e54721fe31afdead5bdb5cbcbb3853e58b50765af4a9fdd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed2ab4047ccd085e54721fe31afdead5bdb5cbcbb3853e58b50765af4a9fdd7", kill_on_drop: false }` [INFO] [stdout] 5ed2ab4047ccd085e54721fe31afdead5bdb5cbcbb3853e58b50765af4a9fdd7