[INFO] fetching crate tusk-rs 0.99.11... [INFO] testing tusk-rs-0.99.11 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate tusk-rs 0.99.11 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tusk-rs 0.99.11 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abc365cf4371a7dc6a0a45c1fc3986912c83065b20e4ae565556b610c9e5c46b [INFO] running `Command { std: "docker" "start" "-a" "abc365cf4371a7dc6a0a45c1fc3986912c83065b20e4ae565556b610c9e5c46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abc365cf4371a7dc6a0a45c1fc3986912c83065b20e4ae565556b610c9e5c46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc365cf4371a7dc6a0a45c1fc3986912c83065b20e4ae565556b610c9e5c46b", kill_on_drop: false }` [INFO] [stdout] abc365cf4371a7dc6a0a45c1fc3986912c83065b20e4ae565556b610c9e5c46b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3078b738fb861ff56f4f802a4c9e3ecbfce0de0a0243b8df5d4e7c816e63509 [INFO] running `Command { std: "docker" "start" "-a" "d3078b738fb861ff56f4f802a4c9e3ecbfce0de0a0243b8df5d4e7c816e63509", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [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 postgres-types v0.2.9 [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 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)]` 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 40.87s [INFO] running `Command { std: "docker" "inspect" "d3078b738fb861ff56f4f802a4c9e3ecbfce0de0a0243b8df5d4e7c816e63509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3078b738fb861ff56f4f802a4c9e3ecbfce0de0a0243b8df5d4e7c816e63509", kill_on_drop: false }` [INFO] [stdout] d3078b738fb861ff56f4f802a4c9e3ecbfce0de0a0243b8df5d4e7c816e63509 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 214b6274d154a5e2d8c34ab74a6f2e1a874ca3914cf374b584eb402028750545 [INFO] running `Command { std: "docker" "start" "-a" "214b6274d154a5e2d8c34ab74a6f2e1a874ca3914cf374b584eb402028750545", 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)]` 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)]` 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 0.97s [INFO] running `Command { std: "docker" "inspect" "214b6274d154a5e2d8c34ab74a6f2e1a874ca3914cf374b584eb402028750545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214b6274d154a5e2d8c34ab74a6f2e1a874ca3914cf374b584eb402028750545", kill_on_drop: false }` [INFO] [stdout] 214b6274d154a5e2d8c34ab74a6f2e1a874ca3914cf374b584eb402028750545 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc86ab09de6669631a9672c26be46264a7d938a2ad92891a5360a3c9f6331dcd [INFO] running `Command { std: "docker" "start" "-a" "bc86ab09de6669631a9672c26be46264a7d938a2ad92891a5360a3c9f6331dcd", 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)]` 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.20s [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)]` 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::host (line 31) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::database (line 73) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::ssl (line 87) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::debug (line 115) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::port (line 101) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::password (line 59) ... FAILED [INFO] [stdout] test src/config.rs - config::DatabaseConfig::username (line 45) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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] ---- 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::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::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::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] [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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bc86ab09de6669631a9672c26be46264a7d938a2ad92891a5360a3c9f6331dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc86ab09de6669631a9672c26be46264a7d938a2ad92891a5360a3c9f6331dcd", kill_on_drop: false }` [INFO] [stdout] bc86ab09de6669631a9672c26be46264a7d938a2ad92891a5360a3c9f6331dcd