[INFO] fetching crate gorm_macros 0.1.4... [INFO] testing gorm_macros-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate gorm_macros 0.1.4 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gorm_macros 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc_macro_roids v0.7.0 [INFO] [stderr] Downloaded convert_case v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad9d40d8b5ac453fd8d5588d19b36d3a2b7b23cf947f8d908e5a95c730f0812 [INFO] running `Command { std: "docker" "start" "-a" "7ad9d40d8b5ac453fd8d5588d19b36d3a2b7b23cf947f8d908e5a95c730f0812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad9d40d8b5ac453fd8d5588d19b36d3a2b7b23cf947f8d908e5a95c730f0812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad9d40d8b5ac453fd8d5588d19b36d3a2b7b23cf947f8d908e5a95c730f0812", kill_on_drop: false }` [INFO] [stdout] 7ad9d40d8b5ac453fd8d5588d19b36d3a2b7b23cf947f8d908e5a95c730f0812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1186ccb317d98b8b0359a4963f1b7e3714e55bf7b44526fa3a2ddd43fe04a9e1 [INFO] running `Command { std: "docker" "start" "-a" "1186ccb317d98b8b0359a4963f1b7e3714e55bf7b44526fa3a2ddd43fe04a9e1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling convert_case v0.5.0 [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 12.53s [INFO] running `Command { std: "docker" "inspect" "1186ccb317d98b8b0359a4963f1b7e3714e55bf7b44526fa3a2ddd43fe04a9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1186ccb317d98b8b0359a4963f1b7e3714e55bf7b44526fa3a2ddd43fe04a9e1", kill_on_drop: false }` [INFO] [stdout] 1186ccb317d98b8b0359a4963f1b7e3714e55bf7b44526fa3a2ddd43fe04a9e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8c8a1758fa7cad1c9b6808eb4bc59158f5ae8995a48bcbca36fa3c59654ee70 [INFO] running `Command { std: "docker" "start" "-a" "f8c8a1758fa7cad1c9b6808eb4bc59158f5ae8995a48bcbca36fa3c59654ee70", 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 2.57s [INFO] running `Command { std: "docker" "inspect" "f8c8a1758fa7cad1c9b6808eb4bc59158f5ae8995a48bcbca36fa3c59654ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c8a1758fa7cad1c9b6808eb4bc59158f5ae8995a48bcbca36fa3c59654ee70", kill_on_drop: false }` [INFO] [stdout] f8c8a1758fa7cad1c9b6808eb4bc59158f5ae8995a48bcbca36fa3c59654ee70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f547aca15dc5d772f83e30100970b66d6aff4cad07c3f0db83ec9c726cbe92d [INFO] running `Command { std: "docker" "start" "-a" "0f547aca15dc5d772f83e30100970b66d6aff4cad07c3f0db83ec9c726cbe92d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gorm_macros-cfa91c4dc1a9dae3) [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 - migration (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - selected_value_to_order_by (line 345) ... FAILED [INFO] [stdout] test src/lib.rs - from_query_result (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 313) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 247) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - select_values (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - update_set (line 373) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 256) ... FAILED [INFO] [stdout] test src/lib.rs - table (line 271) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - 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 - 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 - 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] [stderr] error: doctest failed, to rerun pass `--doc` [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 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 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 - 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 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 - 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 - 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 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 - 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] [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.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f547aca15dc5d772f83e30100970b66d6aff4cad07c3f0db83ec9c726cbe92d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f547aca15dc5d772f83e30100970b66d6aff4cad07c3f0db83ec9c726cbe92d", kill_on_drop: false }` [INFO] [stdout] 0f547aca15dc5d772f83e30100970b66d6aff4cad07c3f0db83ec9c726cbe92d