[INFO] fetching crate pebble_query 0.1.0... [INFO] testing pebble_query-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pebble_query 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pebble_query 0.1.0 [INFO] finished tweaking crates.io crate pebble_query 0.1.0 [INFO] tweaked toml for crates.io crate pebble_query 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pebble_query 0.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 293 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.1) [INFO] [stderr] Adding sea-orm v0.12.15 (available: v1.1.15) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ab6d0a5e7ed5640cf8bbd545ec9cec1a0661fc9c077eca22dcc8f3f8ce03a68c [INFO] running `Command { std: "docker" "start" "-a" "ab6d0a5e7ed5640cf8bbd545ec9cec1a0661fc9c077eca22dcc8f3f8ce03a68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab6d0a5e7ed5640cf8bbd545ec9cec1a0661fc9c077eca22dcc8f3f8ce03a68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6d0a5e7ed5640cf8bbd545ec9cec1a0661fc9c077eca22dcc8f3f8ce03a68c", kill_on_drop: false }` [INFO] [stdout] ab6d0a5e7ed5640cf8bbd545ec9cec1a0661fc9c077eca22dcc8f3f8ce03a68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] da0cc7adaf1fef9a37c6953e3d80aa6d35b3c4f7b3e0ef68c2df45de260e391c [INFO] running `Command { std: "docker" "start" "-a" "da0cc7adaf1fef9a37c6953e3d80aa6d35b3c4f7b3e0ef68c2df45de260e391c", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sea-query v0.30.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling sea-orm v0.12.15 [INFO] [stderr] Compiling pebble_query v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] 27 + .find(|(field_name, _column)| field_name == &sort_condition.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:409:39 [INFO] [stdout] | [INFO] [stdout] 409 | .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 409 - .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] 409 + .find(|(field_name, _column)| field_name == &sq_filter.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.29s [INFO] running `Command { std: "docker" "inspect" "da0cc7adaf1fef9a37c6953e3d80aa6d35b3c4f7b3e0ef68c2df45de260e391c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0cc7adaf1fef9a37c6953e3d80aa6d35b3c4f7b3e0ef68c2df45de260e391c", kill_on_drop: false }` [INFO] [stdout] da0cc7adaf1fef9a37c6953e3d80aa6d35b3c4f7b3e0ef68c2df45de260e391c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d9ea7f4691f46042f41de50b9ac210cf2ddbdc56e5b5a6b31c63c8bb73d2d891 [INFO] running `Command { std: "docker" "start" "-a" "d9ea7f4691f46042f41de50b9ac210cf2ddbdc56e5b5a6b31c63c8bb73d2d891", kill_on_drop: false }` [INFO] [stderr] Compiling pebble_query v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] 27 + .find(|(field_name, _column)| field_name == &sort_condition.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:409:39 [INFO] [stdout] | [INFO] [stdout] 409 | .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 409 - .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] 409 + .find(|(field_name, _column)| field_name == &sq_filter.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stdout] 27 + .find(|(field_name, _column)| field_name == &sort_condition.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pebble_utils.rs:409:39 [INFO] [stdout] | [INFO] [stdout] 409 | .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 409 - .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] 409 + .find(|(field_name, _column)| field_name == &sq_filter.field.as_str()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "d9ea7f4691f46042f41de50b9ac210cf2ddbdc56e5b5a6b31c63c8bb73d2d891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ea7f4691f46042f41de50b9ac210cf2ddbdc56e5b5a6b31c63c8bb73d2d891", kill_on_drop: false }` [INFO] [stdout] d9ea7f4691f46042f41de50b9ac210cf2ddbdc56e5b5a6b31c63c8bb73d2d891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 638eb0fbb12533783707cecea8e7aeb285c81cef8350476272704561da6f728f [INFO] running `Command { std: "docker" "start" "-a" "638eb0fbb12533783707cecea8e7aeb285c81cef8350476272704561da6f728f", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/pebble_utils.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 27 - .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stderr] 27 + .find(|(field_name, _column)| field_name == &sort_condition.field.as_str()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/pebble_utils.rs:409:39 [INFO] [stderr] | [INFO] [stderr] 409 | .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stderr] | ^ ^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] help: remove these parentheses [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 409 - .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stdout] [INFO] [stderr] 409 + .find(|(field_name, _column)| field_name == &sq_filter.field.as_str()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pebble_query` (lib) generated 2 warnings (run `cargo fix --lib -p pebble_query` to apply 2 suggestions) [INFO] [stderr] warning: `pebble_query` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pebble_query-eb3874f5bce3729b) [INFO] [stderr] Doc-tests pebble_query [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/pebble_utils.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 27 - .find(|(field_name, _column)| (field_name == &sort_condition.field.as_str())) [INFO] [stderr] 27 + .find(|(field_name, _column)| field_name == &sort_condition.field.as_str()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/pebble_utils.rs:409:39 [INFO] [stderr] | [INFO] [stderr] 409 | .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 409 - .find(|(field_name, _column)| (field_name == &sq_filter.field.as_str())) [INFO] [stderr] 409 + .find(|(field_name, _column)| field_name == &sq_filter.field.as_str()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 346) ... FAILED [INFO] [stdout] test src/pebble_query.rs - pebble_query::use_pebble_query (line 105) ... FAILED [INFO] [stdout] test src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 386) ... FAILED [INFO] [stdout] test src/lib.rs - (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 64) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:70:77 [INFO] [stdout] | [INFO] [stdout] 1 | let book_column_map: HashMap = std::collections::HashMap::from([ [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 6 | ].into_iter().map(|(k, v)| (k.to_string(), v)).collect(); [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/lib.rs - (line 73) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SearchQuery` in this scope [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 4 | let query = SearchQuery { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SearchSortOption` in this scope [INFO] [stdout] --> src/lib.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 5 | sort: Some(SearchSortOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchSortOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SortDirection` [INFO] [stdout] --> src/lib.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 7 | order: SortDirection::Asc as i32, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SortDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SortDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SearchFilter` in this scope [INFO] [stdout] --> src/lib.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 12 | filter: Some(SearchFilter { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SearchCondition` in this scope [INFO] [stdout] --> src/lib.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 14 | SearchCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchOperator` [INFO] [stdout] --> src/lib.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 16 | ... operator: SearchOperator::Contains as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SearchOperator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchOperator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SearchCondition` in this scope [INFO] [stdout] --> src/lib.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 20 | SearchCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchCondition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchOperator` [INFO] [stdout] --> src/lib.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 22 | ... operator: SearchOperator::GreaterThan as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SearchOperator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchOperator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Select` in this scope [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::Select; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_106_0() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PebbleQueryResult` in this scope [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::pebble_query_result::PebbleQueryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_pebble_query` in this scope [INFO] [stdout] --> src/lib.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::pebble_query::use_pebble_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `query` in this scope [INFO] [stdout] --> src/lib.rs:115:73 [INFO] [stdout] | [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOK_COLUMN_MAP` in this scope [INFO] [stdout] --> src/lib.rs:115:81 [INFO] [stdout] | [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [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/lib.rs:115:102 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_106_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `conn` in this scope [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 5 | let db = conn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `author` [INFO] [stdout] --> src/lib.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 8 | .inner_join(author::Entity) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `author` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `author`, use `cargo add author` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 12 | let results: PebbleQueryResult = use_pebble_query(select, query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `book` [INFO] [stdout] | help: a builtin type with a similar name exists: `bool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 346) stdout ---- [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 7 | ! field: "id".to_string(), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 7 | ! field: "id".to_string(), [INFO] [stdout] 8 | ! operator: Operator::Eq, [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 9 | ! value: Some("1".to_string()), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 10 | ! value_list: vec![], // for operators like `in` or `not in` [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ! value_to: None, // for operators like `between` or `not between` [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 15 | ! field: "id".to_string(), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:361:1 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 15 | ! field: "id".to_string(), [INFO] [stdout] 16 | ! operator: i32::from(Operator::In), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 17 | ! value: None, [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 18 | ! value_list: vec!["1".to_string(), "2".to_string(), "3".to_string()], [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:364:1 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 19 | ! value_to: None, [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 23 | ! field: "id".to_string(), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] 23 | ! field: "id".to_string(), [INFO] [stdout] 24 | ! operator: i32::from(Operator::Between), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 25 | ! value: Some("1".to_string()), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 26 | ! value_list: vec![], [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `!` [INFO] [stdout] --> src/pebble_utils.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | -------------------------------------------------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 27 | ! value_to: Some("10".to_string()), [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] --> src/pebble_utils.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 2 | use carrel_commons::generic::api::query::v1::{Condition, Operator}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `carrel_commons`, use `cargo add carrel_commons` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] --> src/pebble_utils.rs:351:34 [INFO] [stdout] | [INFO] [stdout] 6 | let sample_sq_filter_is_1 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `carrel_commons`, use `cargo add carrel_commons` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] --> src/pebble_utils.rs:359:40 [INFO] [stdout] | [INFO] [stdout] 14 | let sample_sq_filter_is_in_1_2_3 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `carrel_commons`, use `cargo add carrel_commons` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] --> src/pebble_utils.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 22 | let sample_sq_filter_is_between_1_to_10 = carrel_commons::generic::api::query::v1::Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `carrel_commons` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `carrel_commons`, use `cargo add carrel_commons` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pebble_query.rs - pebble_query::use_pebble_query (line 105) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/pebble_query.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn query_annotations_by_documents(&self, doc_ids: Vec, query: Option) -> Result< [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `annotation` [INFO] [stdout] --> src/pebble_query.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 8 | let select = annotation::Entity::find() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `annotation` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `annotation`, use `cargo add annotation` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/pebble_query.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 11 | Expr::col( (document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SearchQuery` in this scope [INFO] [stdout] --> src/pebble_query.rs:107:85 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn query_annotations_by_documents(&self, doc_ids: Vec, query: Option) -> Result< [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PebbleQueryResultGeneric` in this scope [INFO] [stdout] --> src/pebble_query.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 5 | PebbleQueryResultGeneric, CarrelOrmErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::pebble_query_result::PebbleQueryResultGeneric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommonAnnotation` in this scope [INFO] [stdout] --> src/pebble_query.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 5 | PebbleQueryResultGeneric, CarrelOrmErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn query_annotations_by_documents(&self, doc_ids: Vec, query: Option) -> Result< [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CarrelOrmErr` in this scope [INFO] [stdout] --> src/pebble_query.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 5 | PebbleQueryResultGeneric, CarrelOrmErr> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn query_annotations_by_documents(&self, doc_ids: Vec, query: Option) -> Result< [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/pebble_query.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 11 | Expr::col( (document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ANNOTATION_COLUMN_MAP` in this scope [INFO] [stdout] --> src/pebble_query.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_query(db, query, &ANNOTATION_COLUMN_MAP, select).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/pebble_query.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 9 | .inner_join(document::Entity) [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/pebble_query.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 11 | Expr::col( (document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_query` in this scope [INFO] [stdout] --> src/pebble_query.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_query(db, query, &ANNOTATION_COLUMN_MAP, select).await?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 386) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sea_orm::tests_cfg` [INFO] [stdout] --> src/pebble_utils.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::tests_cfg::cake; [INFO] [stdout] | ^^^^^^^^^ could not find `tests_cfg` in `sea_orm` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sea-orm-0.12.15/src/lib.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 352 | #[cfg(all(feature = "macros", feature = "tests-cfg"))] [INFO] [stdout] | --------------------- the item is gated behind the `tests-cfg` feature [INFO] [stdout] 353 | pub mod tests_cfg; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 119) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 6 | let result = book::Entity::find() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 9 | Expr::col((document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 9 | Expr::col((document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `doc_ids` in this scope [INFO] [stdout] --> src/lib.rs:125:63 [INFO] [stdout] | [INFO] [stdout] 9 | Expr::col((document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `query` in this scope [INFO] [stdout] --> src/lib.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 11 | .pebble_query(query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOK_COLUMN_MAP` in this scope [INFO] [stdout] --> src/lib.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 11 | .pebble_query(query, &BOOK_COLUMN_MAP, db).await?; [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/lib.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_119_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | .pebble_query(query, &BOOK_COLUMN_MAP, db).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `conn` in this scope [INFO] [stdout] --> src/lib.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 5 | let db = conn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `author` [INFO] [stdout] --> src/lib.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 7 | .inner_join(author::Entity) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `author` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `author`, use `cargo add author` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 9 | Expr::col((document::Entity, document::Column::Id)).is_in(doc_ids).into_condition() [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` 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: 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/lib.rs - (line 131) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/lib.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PebbleQueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::EntityTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SearchQuery` in this scope [INFO] [stdout] --> src/lib.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub query: Option, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pebble_query::sample_dto_structs::SearchQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Model` not found for `T` [INFO] [stdout] --> src/lib.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub results: Vec, [INFO] [stdout] | ^^^^^ associated type `Model` not found [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 13 | Expr::col((book::Entity, book::Column::Title)) // contains "sea" [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 15 | .and(Expr::col((book::Entity, book::Column::PublicationYear)) // published after 1976 [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 18 | .order_by_asc(book::Column::Title) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `book` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Select` in this scope [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::Select; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Book` in this scope [INFO] [stdout] --> src/lib.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 7 | let select: Select = book::Entity::find() [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_32_0() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 13 | Expr::col((book::Entity, book::Column::Title)) // contains "sea" [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> src/lib.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 15 | .and(Expr::col((book::Entity, book::Column::PublicationYear)) // published after 1976 [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sea_orm::prelude::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:52:55 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | let result: Vec = select.clone().all(db).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:57:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | .num_items_and_pages().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `conn` in this scope [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 3 | let db = conn(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `author` [INFO] [stdout] --> src/lib.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 8 | .inner_join(author::Entity) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `author` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `author`, use `cargo add author` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `document` [INFO] [stdout] --> src/lib.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 10 | Expr::col((document::Entity, document::Column::Id)).is_in(book_ids).into_condition() // filter by book ids [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `document` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `document`, use `cargo add document` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 13 | Expr::col((book::Entity, book::Column::Title)) // contains "sea" [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `book` [INFO] [stdout] | help: a builtin type with a similar name exists: `bool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 15 | .and(Expr::col((book::Entity, book::Column::PublicationYear)) // published after 1976 [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `book` [INFO] [stdout] | help: a builtin type with a similar name exists: `bool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `book` [INFO] [stdout] --> src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 22 | let result: Vec = select.clone().all(db).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `book` [INFO] [stdout] | help: a builtin type with a similar name exists: `bool` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `book`, use `cargo add book` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 119) [INFO] [stdout] src/lib.rs - (line 131) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/pebble_query.rs - pebble_query::use_pebble_query (line 105) [INFO] [stdout] src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 346) [INFO] [stdout] src/pebble_utils.rs - pebble_utils::extract_query_conditions (line 386) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "638eb0fbb12533783707cecea8e7aeb285c81cef8350476272704561da6f728f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638eb0fbb12533783707cecea8e7aeb285c81cef8350476272704561da6f728f", kill_on_drop: false }` [INFO] [stdout] 638eb0fbb12533783707cecea8e7aeb285c81cef8350476272704561da6f728f