[INFO] fetching crate gorm_macros 0.1.4... [INFO] testing gorm_macros-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gorm_macros 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gorm_macros 0.1.4 [INFO] finished tweaking crates.io crate gorm_macros 0.1.4 [INFO] tweaked toml for crates.io crate gorm_macros 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gorm_macros 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.5.0 (available: v0.8.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding proc_macro_roids v0.7.0 (available: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 007a67948673d6a8c4c5410493131314b113e2dab6831e52d501f520dbaa6fac [INFO] running `Command { std: "docker" "start" "-a" "007a67948673d6a8c4c5410493131314b113e2dab6831e52d501f520dbaa6fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007a67948673d6a8c4c5410493131314b113e2dab6831e52d501f520dbaa6fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007a67948673d6a8c4c5410493131314b113e2dab6831e52d501f520dbaa6fac", kill_on_drop: false }` [INFO] [stdout] 007a67948673d6a8c4c5410493131314b113e2dab6831e52d501f520dbaa6fac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e75fde5d4e6f2333bd65254e1e9d20e963c4f526f3e1c77b052eb629668e1f2 [INFO] running `Command { std: "docker" "start" "-a" "4e75fde5d4e6f2333bd65254e1e9d20e963c4f526f3e1c77b052eb629668e1f2", kill_on_drop: false }` [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling proc_macro_roids v0.7.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling gorm_macros v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.68s [INFO] running `Command { std: "docker" "inspect" "4e75fde5d4e6f2333bd65254e1e9d20e963c4f526f3e1c77b052eb629668e1f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e75fde5d4e6f2333bd65254e1e9d20e963c4f526f3e1c77b052eb629668e1f2", kill_on_drop: false }` [INFO] [stdout] 4e75fde5d4e6f2333bd65254e1e9d20e963c4f526f3e1c77b052eb629668e1f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb5683e85acec87609a5a46cc1848fea6c072ca7bd90af0fd97a4d8f2b120ad9 [INFO] running `Command { std: "docker" "start" "-a" "fb5683e85acec87609a5a46cc1848fea6c072ca7bd90af0fd97a4d8f2b120ad9", kill_on_drop: false }` [INFO] [stderr] Compiling gorm_macros v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "fb5683e85acec87609a5a46cc1848fea6c072ca7bd90af0fd97a4d8f2b120ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5683e85acec87609a5a46cc1848fea6c072ca7bd90af0fd97a4d8f2b120ad9", kill_on_drop: false }` [INFO] [stdout] fb5683e85acec87609a5a46cc1848fea6c072ca7bd90af0fd97a4d8f2b120ad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8001f25debac66550c62120bbf13b90e1560c8a005d610c1ad2a92925c0550b7 [INFO] running `Command { std: "docker" "start" "-a" "8001f25debac66550c62120bbf13b90e1560c8a005d610c1ad2a92925c0550b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gorm_macros-e5b6c23a4ac48885) [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 gorm_macros [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - from_query_result (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - selected_value_to_order_by (line 345) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 271) ... FAILED [INFO] [stdout] test src/lib.rs - update_set (line 373) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 247) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 313) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 256) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - migration (line 92) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - from_query_result (line 132) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 12 | .load_all::(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 12 - .load_all::(...) [INFO] [stdout] 12 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 12 - .load_all::(...) [INFO] [stdout] 12 + .load_all::(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 12 | .load_all::(...) [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] 12 - .load_all::(...) [INFO] [stdout] 12 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select_values` in this scope [INFO] [stdout] --> src/lib.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 11 | .select(select_values!(person::name as person_name, school::name as school_name)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::select_values; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromQueryResult` in this scope [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromQueryResult)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::FromQueryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:143:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_132_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 9 | let _ = person::table.inner_join(school::table) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `person` [INFO] [stdout] | help: a struct with a similar name exists: `Person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `school` [INFO] [stdout] --> src/lib.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 9 | let _ = person::table.inner_join(school::table) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `school` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `School` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `school`, use `cargo add school` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 288) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [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] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Student` in this scope [INFO] [stdout] --> src/lib.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_288_0() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:293:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_288_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `student` [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = student::table.inner_join_on_column(student::university, school::table) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `student` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `student`, use `cargo add student` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `student` [INFO] [stdout] --> src/lib.rs:289:45 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = student::table.inner_join_on_column(student::university, school::table) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `student` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `student`, use `cargo add student` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `school` [INFO] [stdout] --> src/lib.rs:289:66 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = student::table.inner_join_on_column(student::university, school::table) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `school` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `school`, use `cargo add school` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `school` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 5 | .filter(school::name.equals("Stanford")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `school` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `school`, use `cargo add school` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - selected_value_to_order_by (line 345) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 9 | .load_all_values(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 - .load_all_values(...) [INFO] [stdout] 9 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 - .load_all_values(...) [INFO] [stdout] 9 + .load_all_values(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 9 | .load_all_values(...) [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] 9 - .load_all_values(...) [INFO] [stdout] 9 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `selected_value_to_order_by` in this scope [INFO] [stdout] --> src/lib.rs:351:41 [INFO] [stdout] | [INFO] [stdout] 8 | .order_by_selected_value_descending(selected_value_to_order_by!(some_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::selected_value_to_order_by; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select_values` in this scope [INFO] [stdout] --> src/lib.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 5 | .select(select_values!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::select_values; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:353:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_345_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = person::table [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `person` [INFO] [stdout] | help: a struct with a similar name exists: `Person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 271) stdout ---- [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:272:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - update_set (line 373) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 7 | .load_all_values(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - .load_all_values(...) [INFO] [stdout] 7 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - .load_all_values(...) [INFO] [stdout] 7 + .load_all_values(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:378:22 [INFO] [stdout] | [INFO] [stdout] 7 | .load_all_values(...) [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] 7 - .load_all_values(...) [INFO] [stdout] 7 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `update_set` in this scope [INFO] [stdout] --> src/lib.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 5 | .set(update_set!(person::age = person::age.add(1))) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::update_set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_373_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 3 | let new_ages = person::table [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `person` [INFO] [stdout] | help: a struct with a similar name exists: `Person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:377:16 [INFO] [stdout] | [INFO] [stdout] 6 | .returning(person::age) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `person` [INFO] [stdout] | help: a struct with a similar name exists: `Person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 247) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [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] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Person` in this scope [INFO] [stdout] --> src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_247_0() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:252:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_247_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = person::table.inner_join(school::table) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `school` [INFO] [stdout] --> src/lib.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = person::table.inner_join(school::table) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `school` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `school`, use `cargo add school` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `school` [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 5 | .filter(school::name.equals("Stanford")) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `school` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `school`, use `cargo add school` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 176) stdout ---- [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table(unique(first_name, last_name))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 313) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 3 | multiple `#[table(unique(...))]` attributes to the table struct. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 - multiple `#[table(unique(...))]` attributes to the table struct. [INFO] [stdout] 3 + multiple '#[table(unique(...))]` attributes to the table struct. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 3 | multiple `#[table(unique(...))]` attributes to the table struct. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 3 - multiple `#[table(unique(...))]` attributes to the table struct. [INFO] [stdout] 3 + multiple `#[table(unique(...))]' attributes to the table struct. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 7 | Unique constraints allow you to use `ON CONFLICT` clauses, and to perform [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 7 - Unique constraints allow you to use `ON CONFLICT` clauses, and to perform [INFO] [stdout] 7 + Unique constraints allow you to use 'ON CONFLICT` clauses, and to perform [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:320:49 [INFO] [stdout] | [INFO] [stdout] 7 | Unique constraints allow you to use `ON CONFLICT` clauses, and to perform [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 7 - Unique constraints allow you to use `ON CONFLICT` clauses, and to perform [INFO] [stdout] 7 + Unique constraints allow you to use `ON CONFLICT' clauses, and to perform [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 9 | ```rust [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 9 - ```rust [INFO] [stdout] 9 + '''rust [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `can` [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 2 | You can create multiple unique constraints on a single table by adding [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - table (line 256) stdout ---- [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - select_values (line 52) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all_values(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all_values(...) [INFO] [stdout] 6 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all_values(...) [INFO] [stdout] 6 + .load_all_values(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all_values(...) [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] 6 - .load_all_values(...) [INFO] [stdout] 6 + .load_all_values(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_52_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 3 | let names = person::table [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 5 | .select(person::name) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - select_values (line 64) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [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] 6 - .load_all::(...) [INFO] [stdout] 6 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Person` in this scope [INFO] [stdout] --> src/lib.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 6 | .load_all::(...) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_64_0() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_64_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 3 | let people = person::table [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 5 | .select(person::all) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - select_values (line 26) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 19 | .load_all::(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 19 - .load_all::(...) [INFO] [stdout] 19 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 19 - .load_all::(...) [INFO] [stdout] 19 + .load_all::(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 19 | .load_all::(...) [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] 19 - .load_all::(...) [INFO] [stdout] 19 + .load_all::(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select_values` in this scope [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 18 | .select(select_values!(person::name, person::id.add(person::age) as id_plus_age)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::select_values; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromQueryResult` in this scope [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(FromQueryResult)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::FromQueryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_26_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `person` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 16 | let _ = person::table [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `person` [INFO] [stdout] | help: a struct with a similar name exists: `Person` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `person`, use `cargo add person` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - migration (line 92) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 8 | MyMigration::up(...).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 8 - MyMigration::up(...).await?; [INFO] [stdout] 8 + MyMigration::up(..).await?; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 8 - MyMigration::up(...).await?; [INFO] [stdout] 8 + MyMigration::up(..=).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 8 | MyMigration::up(...).await?; [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] 8 - MyMigration::up(...).await?; [INFO] [stdout] 8 + MyMigration::up(..).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 9 | MyMigration::down(...).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 - MyMigration::down(...).await?; [INFO] [stdout] 9 + MyMigration::down(..).await?; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 - MyMigration::down(...).await?; [INFO] [stdout] 9 + MyMigration::down(..=).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 9 | MyMigration::down(...).await?; [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] 9 - MyMigration::down(...).await?; [INFO] [stdout] 9 + MyMigration::down(..).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Table` in this scope [INFO] [stdout] --> src/lib.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> src/lib.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[table(foreign_key(School))] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `migration` in this scope [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 4 | migration! { MyMigration => school, person} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use gorm_macros::migration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_92_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | MyMigration::up(...).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_92_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | MyMigration::down(...).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `up` found for struct `MyMigration` in the current scope [INFO] [stdout] --> src/lib.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyMigration; [INFO] [stdout] | ------------------ function or associated item `up` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | MyMigration::up(...).await?; [INFO] [stdout] | ^^ function or associated item not found in `MyMigration` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `down` found for struct `MyMigration` in the current scope [INFO] [stdout] --> src/lib.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyMigration; [INFO] [stdout] | ------------------ function or associated item `down` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 9 | MyMigration::down(...).await?; [INFO] [stdout] | ^^^^ function or associated item not found in `MyMigration` [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0586, E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - from_query_result (line 132) [INFO] [stdout] src/lib.rs - migration (line 92) [INFO] [stdout] src/lib.rs - select_values (line 26) [INFO] [stdout] src/lib.rs - select_values (line 52) [INFO] [stdout] src/lib.rs - select_values (line 64) [INFO] [stdout] src/lib.rs - selected_value_to_order_by (line 345) [INFO] [stdout] src/lib.rs - table (line 176) [INFO] [stdout] src/lib.rs - table (line 247) [INFO] [stdout] src/lib.rs - table (line 256) [INFO] [stdout] src/lib.rs - table (line 271) [INFO] [stdout] src/lib.rs - table (line 288) [INFO] [stdout] src/lib.rs - table (line 313) [INFO] [stdout] src/lib.rs - update_set (line 373) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8001f25debac66550c62120bbf13b90e1560c8a005d610c1ad2a92925c0550b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8001f25debac66550c62120bbf13b90e1560c8a005d610c1ad2a92925c0550b7", kill_on_drop: false }` [INFO] [stdout] 8001f25debac66550c62120bbf13b90e1560c8a005d610c1ad2a92925c0550b7