[INFO] fetching crate crudx 1.1.0... [INFO] testing crudx-1.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate crudx 1.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate crudx 1.1.0 [INFO] finished tweaking crates.io crate crudx 1.1.0 [INFO] tweaked toml for crates.io crate crudx 1.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crudx 1.1.0 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 189 packages to latest compatible versions [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b56c0c32385b6a94a5bf1baf7e5cf127fef399d4edacd6ba035b28e48434ad7e [INFO] running `Command { std: "docker" "start" "-a" "b56c0c32385b6a94a5bf1baf7e5cf127fef399d4edacd6ba035b28e48434ad7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b56c0c32385b6a94a5bf1baf7e5cf127fef399d4edacd6ba035b28e48434ad7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56c0c32385b6a94a5bf1baf7e5cf127fef399d4edacd6ba035b28e48434ad7e", kill_on_drop: false }` [INFO] [stdout] b56c0c32385b6a94a5bf1baf7e5cf127fef399d4edacd6ba035b28e48434ad7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 50cdf5b7f92b99f390f124aeaf646e5b4c484ff624098048d1cb637d67483092 [INFO] running `Command { std: "docker" "start" "-a" "50cdf5b7f92b99f390f124aeaf646e5b4c484ff624098048d1cb637d67483092", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crudx v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "50cdf5b7f92b99f390f124aeaf646e5b4c484ff624098048d1cb637d67483092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50cdf5b7f92b99f390f124aeaf646e5b4c484ff624098048d1cb637d67483092", kill_on_drop: false }` [INFO] [stdout] 50cdf5b7f92b99f390f124aeaf646e5b4c484ff624098048d1cb637d67483092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4283020a3a9ebb1e9ae21e80c1052829b68133804e0f6c8bcb65262d53662bdb [INFO] running `Command { std: "docker" "start" "-a" "4283020a3a9ebb1e9ae21e80c1052829b68133804e0f6c8bcb65262d53662bdb", kill_on_drop: false }` [INFO] [stderr] Compiling crudx v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "4283020a3a9ebb1e9ae21e80c1052829b68133804e0f6c8bcb65262d53662bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4283020a3a9ebb1e9ae21e80c1052829b68133804e0f6c8bcb65262d53662bdb", kill_on_drop: false }` [INFO] [stdout] 4283020a3a9ebb1e9ae21e80c1052829b68133804e0f6c8bcb65262d53662bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2597ac4ec354593e4c36b4277f12c8f420677032c879d97e3a99ab57846b28cc [INFO] running `Command { std: "docker" "start" "-a" "2597ac4ec354593e4c36b4277f12c8f420677032c879d97e3a99ab57846b28cc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crudx-2bf75d365d4e6667) [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 crudx [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/executor.rs - executor::Executor (line 28) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::Filter::if_or (line 46) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Other::group_by (line 15) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::LimitExecutor (line 214) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::args (line 106) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Other::having (line 21) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::expr (line 121) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::OrderExecutor (line 153) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::Filter::if_and (line 12) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Other::join_on (line 9) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::Filter::and (line 37) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Executor (line 45) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Executor (line 83) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Executor (line 69) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::field (line 93) - compile ... FAILED [INFO] [stdout] test src/filter.rs - filter::Filter::or (line 74) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::OrderExecutor (line 165) - compile ... FAILED [INFO] [stdout] test src/executor.rs - executor::Executor (line 92) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/executor.rs - executor::Executor (line 28) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 8 | *model.fields.get_mut(field!(clazz.id)).unwrap() = "-"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/executor.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 13 | args!("one"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clazz` in this scope [INFO] [stdout] --> src/executor.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 3 | let clazz = Clazz { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 11 | .insert_one(Some(&Filter::default().and(( [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_28_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut model = Model::new(&clazz); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::Filter::if_or (line 46) stdout ---- [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/filter.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 6 | ("name like ?", args!(format!("%{}%", name))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filter` in this scope [INFO] [stdout] --> src/filter.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 4 | filter.if_or( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Other::group_by (line 15) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/executor.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_15_0() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 3 | "group by name" [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::LimitExecutor (line 214) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 5 | *model.fields.get_mut(field!(student.clazz_name)).unwrap() = "-"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 8 | .order_by(field!(student.id)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 7 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 10 | .query(&Filter::default(), None) [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_214_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Student` [INFO] [stdout] --> src/executor.rs:215:15 [INFO] [stdout] | [INFO] [stdout] 3 | let student = Student::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Student` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut model = Model::new(&student); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::args (line 106) stdout ---- [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/filter.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 4 | args!("Alice", "Mary"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Other::having (line 21) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/executor.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_21_0() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 3 | "having max(age)<35" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::expr (line 121) stdout ---- [INFO] [stdout] error: cannot find macro `expr` in this scope [INFO] [stdout] --> src/filter.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 4 | expr!(student.name = "Alice"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::OrderExecutor (line 153) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 5 | *model.fields.get_mut(field!(student.clazz_name)).unwrap() = "-"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 8 | .order_by(field!(student.id)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 7 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 9 | .query_one(&Filter::default(), None) [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_153_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 undeclared type `Student` [INFO] [stdout] --> src/executor.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 3 | let student = Student::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Student` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut model = Model::new(&student); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::Filter::if_and (line 12) stdout ---- [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/filter.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 4 | filter.if_and(name.len() > 0, ("name like ?", args!(name + "%"))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filter` in this scope [INFO] [stdout] --> src/filter.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 4 | filter.if_and(name.len() > 0, ("name like ?", args!(name + "%"))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Other::join_on (line 9) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/executor.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_9_0() { [INFO] [stdout] | - help: try adding a return type: `-> &'static str` [INFO] [stdout] 3 | "left join class on class.id=student.class_id" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::Filter::and (line 37) stdout ---- [INFO] [stdout] error: cannot find macro `expr` in this scope [INFO] [stdout] --> src/filter.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 3 | filter.and(expr!(student.id = 18)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filter` in this scope [INFO] [stdout] --> src/filter.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 3 | filter.and(expr!(student.id = 18)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Executor (line 45) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 5 | *model.fields.get_mut(field!(clazz.id)).unwrap() = "-"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 7 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clazz` in this scope [INFO] [stdout] --> src/executor.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 9 | Clazz { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clazz` in this scope [INFO] [stdout] --> src/executor.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 13 | Clazz { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clazz` in this scope [INFO] [stdout] --> src/executor.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 17 | Clazz { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_45_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clazz` [INFO] [stdout] --> src/executor.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 3 | let clazz = Clazz::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Clazz` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut model = Model::new(&clazz); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Executor (line 83) stdout ---- [INFO] [stdout] error: cannot find macro `expr` in this scope [INFO] [stdout] --> src/executor.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 6 | .delete(Filter::default().and(expr!(clazz.name = "five"))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 5 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 6 | .delete(Filter::default().and(expr!(clazz.name = "five"))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_83_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 undeclared type `Clazz` [INFO] [stdout] --> src/executor.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 3 | let clazz = Clazz::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Clazz` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 4 | let res = Model::new(&clazz) [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Executor (line 69) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 8 | *model.fields.get_mut(field!(clazz.id)).unwrap() = "-"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expr` in this scope [INFO] [stdout] --> src/executor.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 11 | .update(Filter::default().and(expr!(clazz.id > 5))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Clazz` in this scope [INFO] [stdout] --> src/executor.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 3 | let clazz = Clazz { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 10 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 11 | .update(Filter::default().and(expr!(clazz.id > 5))) [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_69_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut model = Model::new(&clazz); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::field (line 93) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/filter.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(field!(student.name), "name"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/filter.rs - filter::Filter::or (line 74) stdout ---- [INFO] [stdout] error: cannot find macro `expr` in this scope [INFO] [stdout] --> src/filter.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 3 | filter.or(expr!(student.name like "Al%")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filter` in this scope [INFO] [stdout] --> src/filter.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | filter.or(expr!(student.name like "Al%")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::OrderExecutor (line 165) stdout ---- [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 5 | *model.fields.get_mut(field!(student.id)).unwrap() = "student.id"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 6 | *model.fields.get_mut(field!(student.name)).unwrap() = "student.name"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `field` in this scope [INFO] [stdout] --> src/executor.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 7 | *model.fields.get_mut(field!(student.clazz_name)).unwrap() = "clazz.name"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 9 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 12 | &Filter::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Other` in this scope [INFO] [stdout] --> src/executor.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 13 | Some(Other { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::ErrorKind::Other; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Other; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::io::ErrorKind::Other; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_165_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 19 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Student` [INFO] [stdout] --> src/executor.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 3 | let student = Student::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Student` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> src/executor.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut model = Model::new(&student); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/executor.rs - executor::Executor (line 92) stdout ---- [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/executor.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 6 | &Filter::default().and(("", args!(1))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> src/executor.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 4 | .bind(&pool) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filter` [INFO] [stdout] --> src/executor.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 6 | &Filter::default().and(("", args!(1))), [INFO] [stdout] | ^^^^^^ use of undeclared type `Filter` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Filter; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::stream::Filter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Other` in this scope [INFO] [stdout] --> src/executor.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 7 | Some(Other { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::ErrorKind::Other; [INFO] [stdout] | [INFO] [stdout] 2 + use crudx::Other; [INFO] [stdout] | [INFO] [stdout] 2 + use futures_util::io::ErrorKind::Other; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/executor.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_executor_rs_92_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 undeclared type `Model` [INFO] [stdout] --> src/executor.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 3 | let res = Model::new(&Clazz::default()) [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clazz` [INFO] [stdout] --> src/executor.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 3 | let res = Model::new(&Clazz::default()) [INFO] [stdout] | ^^^^^ use of undeclared type `Clazz` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/executor.rs - executor::Executor (line 28) [INFO] [stdout] src/executor.rs - executor::Executor (line 45) [INFO] [stdout] src/executor.rs - executor::Executor (line 69) [INFO] [stdout] src/executor.rs - executor::Executor (line 83) [INFO] [stdout] src/executor.rs - executor::Executor (line 92) [INFO] [stdout] src/executor.rs - executor::LimitExecutor (line 214) [INFO] [stdout] src/executor.rs - executor::OrderExecutor (line 153) [INFO] [stdout] src/executor.rs - executor::OrderExecutor (line 165) [INFO] [stdout] src/executor.rs - executor::Other::group_by (line 15) [INFO] [stdout] src/executor.rs - executor::Other::having (line 21) [INFO] [stdout] src/executor.rs - executor::Other::join_on (line 9) [INFO] [stdout] src/filter.rs - filter::Filter::and (line 37) [INFO] [stdout] src/filter.rs - filter::Filter::if_and (line 12) [INFO] [stdout] src/filter.rs - filter::Filter::if_or (line 46) [INFO] [stdout] src/filter.rs - filter::Filter::or (line 74) [INFO] [stdout] src/filter.rs - filter::args (line 106) [INFO] [stdout] src/filter.rs - filter::expr (line 121) [INFO] [stdout] src/filter.rs - filter::field (line 93) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2597ac4ec354593e4c36b4277f12c8f420677032c879d97e3a99ab57846b28cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2597ac4ec354593e4c36b4277f12c8f420677032c879d97e3a99ab57846b28cc", kill_on_drop: false }` [INFO] [stdout] 2597ac4ec354593e4c36b4277f12c8f420677032c879d97e3a99ab57846b28cc