[INFO] fetching crate toql_rocket 0.3.0... [INFO] testing toql_rocket-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate toql_rocket 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate toql_rocket 0.3.0 [INFO] finished tweaking crates.io crate toql_rocket 0.3.0 [INFO] tweaked toml for crates.io crate toql_rocket 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate toql_rocket 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 244 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding toql v0.3.0 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toql_role_expr_macro v0.3.0 [INFO] [stderr] Downloaded toql_sql_expr_parser v0.3.0 [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded lru v0.6.6 [INFO] [stderr] Downloaded toql_fields_macro v0.3.0 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded toql_core v0.3.0 [INFO] [stderr] Downloaded toql_derive v0.3.0 [INFO] [stderr] Downloaded toql_query_macro v0.3.0 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded toql_paths_macro v0.3.0 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded toql_field_list_parser v0.3.0 [INFO] [stderr] Downloaded toql_query_parser v0.3.1 [INFO] [stderr] Downloaded toql_role_expr_parser v0.3.0 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded toql_sql_expr_macro v0.3.0 [INFO] [stderr] Downloaded toql v0.3.0 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] befc5c3dbae2da8a7c12c3c116f7e92f96b0f0200934be2619d8636509539dd3 [INFO] running `Command { std: "docker" "start" "-a" "befc5c3dbae2da8a7c12c3c116f7e92f96b0f0200934be2619d8636509539dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "befc5c3dbae2da8a7c12c3c116f7e92f96b0f0200934be2619d8636509539dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befc5c3dbae2da8a7c12c3c116f7e92f96b0f0200934be2619d8636509539dd3", kill_on_drop: false }` [INFO] [stdout] befc5c3dbae2da8a7c12c3c116f7e92f96b0f0200934be2619d8636509539dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c8a0225dc1c9ddb716ca3cef35a1cdd4fd0936eb3347dfae7afe7833f36c58e [INFO] running `Command { std: "docker" "start" "-a" "9c8a0225dc1c9ddb716ca3cef35a1cdd4fd0936eb3347dfae7afe7833f36c58e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling toql_sql_expr_parser v0.3.0 [INFO] [stderr] Compiling toql_field_list_parser v0.3.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling toql_role_expr_parser v0.3.0 [INFO] [stderr] Compiling toql_query_parser v0.3.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling enquote v1.1.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling toql_core v0.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling toql_derive v0.3.0 [INFO] [stderr] Compiling toql_role_expr_macro v0.3.0 [INFO] [stderr] Compiling toql_fields_macro v0.3.0 [INFO] [stderr] Compiling toql_sql_expr_macro v0.3.0 [INFO] [stderr] Compiling toql_paths_macro v0.3.0 [INFO] [stderr] Compiling toql_query_macro v0.3.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toql v0.3.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling toql_rocket v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `mysql` [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mysql` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "9c8a0225dc1c9ddb716ca3cef35a1cdd4fd0936eb3347dfae7afe7833f36c58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8a0225dc1c9ddb716ca3cef35a1cdd4fd0936eb3347dfae7afe7833f36c58e", kill_on_drop: false }` [INFO] [stdout] 9c8a0225dc1c9ddb716ca3cef35a1cdd4fd0936eb3347dfae7afe7833f36c58e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e20d578b28b74775f3a3c6c0007d122a7bd7e2c5ed5e12bc053d47f958f052 [INFO] running `Command { std: "docker" "start" "-a" "49e20d578b28b74775f3a3c6c0007d122a7bd7e2c5ed5e12bc053d47f958f052", kill_on_drop: false }` [INFO] [stderr] Compiling toql_rocket v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `mysql` [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mysql` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mysql` [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `mysql` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "49e20d578b28b74775f3a3c6c0007d122a7bd7e2c5ed5e12bc053d47f958f052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e20d578b28b74775f3a3c6c0007d122a7bd7e2c5ed5e12bc053d47f958f052", kill_on_drop: false }` [INFO] [stdout] 49e20d578b28b74775f3a3c6c0007d122a7bd7e2c5ed5e12bc053d47f958f052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a127b460f4f0e917ae4bcdfb69079370f947b779f5521db7ff6a548259d63209 [INFO] running `Command { std: "docker" "start" "-a" "a127b460f4f0e917ae4bcdfb69079370f947b779f5521db7ff6a548259d63209", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `mysql` [INFO] [stderr] --> src/lib.rs:49:7 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg(feature = "mysql")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `mysql` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `toql_rocket` (lib) generated 1 warning [INFO] [stderr] warning: `toql_rocket` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toql_rocket-c8c16832c482547b) [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 toql_rocket [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `toql_rocket::prelude::ToqlQUery` [INFO] [stdout] --> src/lib.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use toql_rocket::prelude::{ToqlQUery, Counted}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ToqlQUery` in `prelude` [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `ToqlQuery` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/lib.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[get("/?")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 17 + use rocket::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | cache: &State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use rocket::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cache` in this scope [INFO] [stdout] --> src/lib.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | cache: &State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use toql::cache::Cache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | mut conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use rocket::http::hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TodoDb` in this scope [INFO] [stdout] --> src/lib.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | mut conn: Connection, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn query( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ToqlQuery` in this scope [INFO] [stdout] --> src/lib.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | toql_query: ToqlQuery, // src/lib.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, ServerError>>> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, ServerError>>> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn query( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServerError` in this scope [INFO] [stdout] --> src/lib.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, ServerError>>> [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `rocket::http::StatusClass::ServerError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 26 - ) -> Result, ServerError>>> [INFO] [stdout] 26 + ) -> Result, rocket::http::StatusClass>>> [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn query( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Todo` in this scope [INFO] [stdout] --> src/lib.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | let (query, page) = toql_query.parse::()?; // src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, ServerError>>> [INFO] [stdout] | ^^^^^^ ------------------------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, ServerError>>, E> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlAsync` [INFO] [stdout] --> src/lib.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let mut toql = MySqlAsync::from(&mut *conn, &*cache); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MySqlAsync` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> src/lib.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(Counted(Json(r.0), r.1)) //