[INFO] fetching crate ngb-sqlbuilder 0.1.2... [INFO] testing ngb-sqlbuilder-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ngb-sqlbuilder 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ngb-sqlbuilder 0.1.2 [INFO] finished tweaking crates.io crate ngb-sqlbuilder 0.1.2 [INFO] tweaked toml for crates.io crate ngb-sqlbuilder 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ngb-sqlbuilder 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ngb-sqlbuilder 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bee7533de61954d81344d880405fb454e422fcb30b1eb2ad648cab5de43a7cdf [INFO] running `Command { std: "docker" "start" "-a" "bee7533de61954d81344d880405fb454e422fcb30b1eb2ad648cab5de43a7cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bee7533de61954d81344d880405fb454e422fcb30b1eb2ad648cab5de43a7cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee7533de61954d81344d880405fb454e422fcb30b1eb2ad648cab5de43a7cdf", kill_on_drop: false }` [INFO] [stdout] bee7533de61954d81344d880405fb454e422fcb30b1eb2ad648cab5de43a7cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ba02625ae31e97309650646d1f78b77b3552ac594543873869e25749a4f1b97 [INFO] running `Command { std: "docker" "start" "-a" "2ba02625ae31e97309650646d1f78b77b3552ac594543873869e25749a4f1b97", kill_on_drop: false }` [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling whoami v2.1.1 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling postgres-protocol v0.6.10 [INFO] [stderr] Compiling postgres-types v0.2.12 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-postgres v0.7.16 [INFO] [stderr] Compiling ngb-sqlbuilder v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.71s [INFO] running `Command { std: "docker" "inspect" "2ba02625ae31e97309650646d1f78b77b3552ac594543873869e25749a4f1b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba02625ae31e97309650646d1f78b77b3552ac594543873869e25749a4f1b97", kill_on_drop: false }` [INFO] [stdout] 2ba02625ae31e97309650646d1f78b77b3552ac594543873869e25749a4f1b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c2051527561f4d2bea4fb3a4777d761d171f4bb0e4d5d73674d4daa70f873e1 [INFO] running `Command { std: "docker" "start" "-a" "7c2051527561f4d2bea4fb3a4777d761d171f4bb0e4d5d73674d4daa70f873e1", kill_on_drop: false }` [INFO] [stderr] Compiling ngb-sqlbuilder v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "7c2051527561f4d2bea4fb3a4777d761d171f4bb0e4d5d73674d4daa70f873e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2051527561f4d2bea4fb3a4777d761d171f4bb0e4d5d73674d4daa70f873e1", kill_on_drop: false }` [INFO] [stdout] 7c2051527561f4d2bea4fb3a4777d761d171f4bb0e4d5d73674d4daa70f873e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7505e7ce30dc751efcf0afc64536d86efaa6619daef77459c847f4384e18e4cf [INFO] running `Command { std: "docker" "start" "-a" "7505e7ce30dc751efcf0afc64536d86efaa6619daef77459c847f4384e18e4cf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ngb_sqlbuilder-70d3077a5922e383) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test insert::tests::insert_test1 ... ok [INFO] [stdout] test select::tests::branched ... ok [INFO] [stdout] test select::tests::example ... ok [INFO] [stdout] test select::tests::nested ... ok [INFO] [stdout] test select::tests::select_test ... ok [INFO] [stdout] test select::tests::subquery ... ok [INFO] [stdout] test insert::tests::insert_test2 ... ok [INFO] [stdout] test select::tests::union ... ok [INFO] [stdout] test update::test::test_update ... ok [INFO] [stdout] test delete::tests::delete_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ngb_sqlbuilder [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::alias (line 17) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::coalesce_raw (line 283) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::eq (line 78) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::cast (line 54) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::coalesce (line 307) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::between (line 207) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::like (line 174) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::lt (line 110) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::gte (line 158) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::gt (line 126) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::neq (line 94) ... ok [INFO] [stdout] test src/lib.rs - avg_col (line 176) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::ilike (line 190) ... ok [INFO] [stdout] test src/select.rs - select::Clause<'q,Select>::select (line 85) ... FAILED [INFO] [stdout] test src/select.rs - select::Clause<'q,Select>::select (line 90) ... FAILED [INFO] [stdout] test src/select.rs - select::col (line 470) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::lte (line 142) ... ok [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::op (line 228) ... ok [INFO] [stdout] test src/select.rs - select::on_col_pair (line 295) ... FAILED [INFO] [stdout] test src/insert.rs - insert::insert_into (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - avg_col_f64 (line 195) ... FAILED [INFO] [stdout] test src/select.rs - select::using_col (line 246) ... FAILED [INFO] [stdout] test src/update.rs - update::Clause<'q,UpdateWhere>::and_nest (line 86) ... FAILED [INFO] [stdout] test src/update.rs - update::update (line 19) ... FAILED [INFO] [stdout] test src/update.rs - update::Clause<'q,UpdateWhere>::or_nest (line 103) ... FAILED [INFO] [stdout] test src/select.rs - select::val (line 507) ... FAILED [INFO] [stdout] test src/column.rs - column::Clause<'q,Column>::raw (line 260) ... FAILED [INFO] [stdout] test src/select.rs - select::select (line 446) ... FAILED [INFO] [stdout] test src/select.rs - select::using_cols (line 270) ... FAILED [INFO] [stdout] test src/select.rs - select::on_col_pairs (line 323) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/column.rs - column::Clause<'q,Column>::alias (line 17) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/column.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | col("t.ColName").alias("col_name") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Column>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Column>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 21 | col("t.ColName").alias("col_name"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_column_rs_17_0() -> Clause<'_, Column> { [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/column.rs - column::Clause<'q,Column>::coalesce_raw (line 283) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/column.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | col("t.ColName").coalesce_raw("0") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 286 | col!("t.ColName").coalesce_raw("0") [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/column.rs - column::Clause<'q,Column>::cast (line 54) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/column.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | col("t.ColName").cast("text") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Column>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Column>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 58 | col("t.ColName").cast("text"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_column_rs_54_0() -> Clause<'_, Column> { [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/column.rs - column::Clause<'q,Column>::coalesce (line 307) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/column.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | col("t.ColName").coalesce(0) [INFO] [stdout] | -------- ^ expected `&_`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/column.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn coalesce(self, value: &'q T) -> Clause<'q, Condition> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 311 | col("t.ColName").coalesce(&0) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/column.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | col("t.ColName").coalesce(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Condition>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Condition>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 311 | col("t.ColName").coalesce(0); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 308 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_column_rs_307_0() -> Clause<'_, Condition> { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - avg_col (line 176) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | avg_col("t.ColName") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Column>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Column>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 180 | avg_col("t.ColName"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 177 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_176_0() -> Clause<'_, Column> { [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/select.rs - select::Clause<'q,Select>::select (line 85) stdout ---- [INFO] [stdout] error: expected item, found `.` [INFO] [stdout] --> src/select.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | .select(col("t1.ColName as Alias")) [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::Clause<'q,Select>::select (line 90) stdout ---- [INFO] [stdout] error: expected item, found `,` [INFO] [stdout] --> src/select.rs:91:2 [INFO] [stdout] | [INFO] [stdout] 91 | , t1."ColName" as "Alias" [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::col (line 470) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/select.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | select(col("col_name")) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 474 | select!(col("col_name")) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::on_col_pair (line 295) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | on_col_pair("t1.Col1","t2.Col1") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Join>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Join>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 299 | on_col_pair("t1.Col1","t2.Col1"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 296 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_295_0() -> Clause<'_, ngb_sqlbuilder::Join> { [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/insert.rs - insert::insert_into (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `insert_into` in this scope [INFO] [stdout] --> src/insert.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | insert_into("Post", &[("Id",&id),("Title", &title),("Content", &content)]).on_conflict(col("Id")).do_update_excluded(&["Title","Cont... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 + use ngb_sqlbuilder::insert_into; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/insert.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | insert_into("Post", &[("Id",&id),("Title", &title),("Content", &content)]).on_conflict(col("Id")).do_update_excluded(&["Title","Cont... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 20 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 20 + use tokio::task::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `title` in this scope [INFO] [stdout] --> src/insert.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | insert_into("Post", &[("Id",&id),("Title", &title),("Content", &content)]).on_conflict(col("Id")).do_update_excluded(&["Title","Cont... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `content` in this scope [INFO] [stdout] --> src/insert.rs:21:65 [INFO] [stdout] | [INFO] [stdout] 21 | insert_into("Post", &[("Id",&id),("Title", &title),("Content", &content)]).on_conflict(col("Id")).do_update_excluded(&["Title","Cont... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `col` in this scope [INFO] [stdout] --> src/insert.rs:21:88 [INFO] [stdout] | [INFO] [stdout] 21 | insert_into("Post", &[("Id",&id),("Title", &title),("Content", &content)]).on_conflict(col("Id")).do_update_excluded(&["Title","Cont... [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 20 + use ngb_sqlbuilder::col; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - avg_col_f64 (line 195) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | avg_col_f64("t.ColName") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Column>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Column>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 199 | avg_col_f64("t.ColName"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 196 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_195_0() -> Clause<'_, Column> { [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/select.rs - select::using_col (line 246) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | using_col("Col1") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Join>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Join>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 249 | using_col("Col1"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 247 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_246_0() -> Clause<'_, ngb_sqlbuilder::Join> { [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/update.rs - update::Clause<'q,UpdateWhere>::and_nest (line 86) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `where_col` in this scope [INFO] [stdout] --> src/update.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 86 + use ngb_sqlbuilder::where_col; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eq` in this scope [INFO] [stdout] --> src/update.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 86 + use std::ptr::eq; [INFO] [stdout] | [INFO] [stdout] 86 + use ngb_sqlbuilder::eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/update.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 86 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 86 + use tokio::task::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `col` in this scope [INFO] [stdout] --> src/update.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 86 + use ngb_sqlbuilder::col; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `date` in this scope [INFO] [stdout] --> src/update.rs:87:55 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `status` in this scope [INFO] [stdout] --> src/update.rs:87:84 [INFO] [stdout] | [INFO] [stdout] 87 | where_col("t.Id", eq(&id)).and_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/update.rs - update::update (line 19) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/update.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | ("Name", &name), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/update.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | ("Value", &value), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `description` in this scope [INFO] [stdout] --> src/update.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | ("Description", &description) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eq` in this scope [INFO] [stdout] --> src/update.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | ]).where_col("Id", eq(&id)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 18 + use std::ptr::eq; [INFO] [stdout] | [INFO] [stdout] 18 + use ngb_sqlbuilder::eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/update.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | ]).where_col("Id", eq(&id)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 18 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 18 + use tokio::task::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/update.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / update("Table").set(&[ [INFO] [stdout] 23 | | ("Name", &name), [INFO] [stdout] 24 | | ("Value", &value), [INFO] [stdout] 25 | | ("Description", &description) [INFO] [stdout] 26 | | ]).where_col("Id", eq(&id)) [INFO] [stdout] | |___________________________^ expected `()`, found `Clause<'_, UpdateWhere>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, UpdateWhere>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 26 | ]).where_col("Id", eq(&id)); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_update_rs_19_0() -> Clause<'_, UpdateWhere> { [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/update.rs - update::Clause<'q,UpdateWhere>::or_nest (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `where_col` in this scope [INFO] [stdout] --> src/update.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use ngb_sqlbuilder::where_col; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eq` in this scope [INFO] [stdout] --> src/update.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 103 + use std::ptr::eq; [INFO] [stdout] | [INFO] [stdout] 103 + use ngb_sqlbuilder::eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/update.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 103 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 103 + use tokio::task::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `col` in this scope [INFO] [stdout] --> src/update.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 103 + use ngb_sqlbuilder::col; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `date` in this scope [INFO] [stdout] --> src/update.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `status` in this scope [INFO] [stdout] --> src/update.rs:104:83 [INFO] [stdout] | [INFO] [stdout] 104 | where_col("t.Id", eq(&id)).or_wrap(col("t.Date").lt(&date).or_col("t.Status").gt(&status)) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::val (line 507) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | select(val(&123)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Select>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Select>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 511 | select(val(&123)); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 508 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_507_0() -> Clause<'_, ngb_sqlbuilder::Select> { [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/column.rs - column::Clause<'q,Column>::raw (line 260) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/column.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | col("t.ColName").raw("is not null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Column>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, Column>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 264 | col("t.ColName").raw("is not null"); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 261 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_column_rs_260_0() -> Clause<'_, Column> { [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/select.rs - select::select (line 446) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | select(cols(&["t.Id","t.Name","t.Value"])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Select>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Select>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 450 | select(cols(&["t.Id","t.Name","t.Value"])); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 447 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_446_0() -> Clause<'_, ngb_sqlbuilder::Select> { [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/select.rs - select::using_cols (line 270) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/select.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | using_col(&["Col1", "Col2", ...]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 274 - using_col(&["Col1", "Col2", ...]) [INFO] [stdout] 274 + using_col(&["Col1", "Col2", ..]) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 274 - using_col(&["Col1", "Col2", ...]) [INFO] [stdout] 274 + using_col(&["Col1", "Col2", ..=]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/select.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | using_col(&["Col1", "Col2", ...]) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 274 - using_col(&["Col1", "Col2", ...]) [INFO] [stdout] 274 + using_col(&["Col1", "Col2", ..]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | using_col(&["Col1", "Col2", ...]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Join>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Join>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 274 | using_col(&["Col1", "Col2", ...]); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 271 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_270_0() -> Clause<'_, ngb_sqlbuilder::Join> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::on_col_pairs (line 323) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/select.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | on_col_pairs(&[("t1.Col1","t2.Col1"),("t1.Col2","t2.Col2")]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Clause<'_, Join>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Clause<'_, ngb_sqlbuilder::Join>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 327 | on_col_pairs(&[("t1.Col1","t2.Col1"),("t1.Col2","t2.Col2")]); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 324 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_323_0() -> Clause<'_, ngb_sqlbuilder::Join> { [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/column.rs - column::Clause<'q,Column>::alias (line 17) [INFO] [stdout] src/column.rs - column::Clause<'q,Column>::cast (line 54) [INFO] [stdout] src/column.rs - column::Clause<'q,Column>::coalesce (line 307) [INFO] [stdout] src/column.rs - column::Clause<'q,Column>::coalesce_raw (line 283) [INFO] [stdout] src/column.rs - column::Clause<'q,Column>::raw (line 260) [INFO] [stdout] src/insert.rs - insert::insert_into (line 20) [INFO] [stdout] src/lib.rs - avg_col (line 176) [INFO] [stdout] src/lib.rs - avg_col_f64 (line 195) [INFO] [stdout] src/select.rs - select::Clause<'q,Select>::select (line 85) [INFO] [stdout] src/select.rs - select::Clause<'q,Select>::select (line 90) [INFO] [stdout] src/select.rs - select::col (line 470) [INFO] [stdout] src/select.rs - select::on_col_pair (line 295) [INFO] [stdout] src/select.rs - select::on_col_pairs (line 323) [INFO] [stdout] src/select.rs - select::select (line 446) [INFO] [stdout] src/select.rs - select::using_col (line 246) [INFO] [stdout] src/select.rs - select::using_cols (line 270) [INFO] [stdout] src/select.rs - select::val (line 507) [INFO] [stdout] src/update.rs - update::Clause<'q,UpdateWhere>::and_nest (line 86) [INFO] [stdout] src/update.rs - update::Clause<'q,UpdateWhere>::or_nest (line 103) [INFO] [stdout] src/update.rs - update::update (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.65s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.18s; merged doctests compilation took 0.47s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7505e7ce30dc751efcf0afc64536d86efaa6619daef77459c847f4384e18e4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7505e7ce30dc751efcf0afc64536d86efaa6619daef77459c847f4384e18e4cf", kill_on_drop: false }` [INFO] [stdout] 7505e7ce30dc751efcf0afc64536d86efaa6619daef77459c847f4384e18e4cf