[INFO] fetching crate actix-web 3.0.0-beta.3... [INFO] checking actix-web-3.0.0-beta.3 against master#da897dfb6daa268a965d2d73620316ba56020a19 for pr-76219 [INFO] extracting crate actix-web 3.0.0-beta.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate actix-web 3.0.0-beta.3 on toolchain da897dfb6daa268a965d2d73620316ba56020a19 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web 3.0.0-beta.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-web 3.0.0-beta.3 [INFO] tweaked toml for crates.io crate actix-web 3.0.0-beta.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate actix-web 3.0.0-beta.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82ec99dd07a88b7ed4cf9f441a69de704163df373cb6608de3a0191ffd9859e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "82ec99dd07a88b7ed4cf9f441a69de704163df373cb6608de3a0191ffd9859e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82ec99dd07a88b7ed4cf9f441a69de704163df373cb6608de3a0191ffd9859e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ec99dd07a88b7ed4cf9f441a69de704163df373cb6608de3a0191ffd9859e1", kill_on_drop: false }` [INFO] [stdout] 82ec99dd07a88b7ed4cf9f441a69de704163df373cb6608de3a0191ffd9859e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72349bb5d8fcb68c3e7af000fe379b39e0223a07316488bac9e6066638131397 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72349bb5d8fcb68c3e7af000fe379b39e0223a07316488bac9e6066638131397", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.14 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.37 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.3.0-beta.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v2.0.0-alpha.2 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-connect v2.0.0-alpha.4 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-http v2.0.0-beta.3 [INFO] [stderr] Checking awc v2.0.0-beta.3 [INFO] [stderr] Checking actix-web v3.0.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/extract.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `serde::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/route.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `serde::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/types/json.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `serde::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/types/path.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `serde::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/types/query.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `serde::serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/extract.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | #[derive(Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/route.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/types/json.rs:429:14 [INFO] [stdout] | [INFO] [stdout] 429 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/types/json.rs:429:25 [INFO] [stdout] | [INFO] [stdout] 429 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/types/path.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/types/path.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/types/query.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_request` found for enum `std::option::Option>` in the current scope [INFO] [stdout] --> src/extract.rs:317:39 [INFO] [stdout] | [INFO] [stdout] 304 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 317 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `std::option::Option>` [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_request` found for enum `std::option::Option>` in the current scope [INFO] [stdout] --> src/extract.rs:330:39 [INFO] [stdout] | [INFO] [stdout] 304 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 330 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `std::option::Option>` [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_request` found for enum `std::option::Option>` in the current scope [INFO] [stdout] --> src/extract.rs:348:39 [INFO] [stdout] | [INFO] [stdout] 304 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 348 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `std::option::Option>` [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_request` found for enum `std::result::Result, actix_http::Error>` in the current scope [INFO] [stdout] --> src/extract.rs:364:46 [INFO] [stdout] | [INFO] [stdout] 304 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 364 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `std::result::Result, actix_http::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_request` found for enum `std::result::Result, actix_http::Error>` in the current scope [INFO] [stdout] --> src/extract.rs:383:46 [INFO] [stdout] | [INFO] [stdout] 304 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 383 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `std::result::Result, actix_http::Error>` [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> examples/uds.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/server.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | criterion_group!(server_benches, bench_async_burst); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/server.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | criterion_main!(server_benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `server` [INFO] [stdout] --> benches/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_web::{test, web, App, HttpResponse}; [INFO] [stdout] 2 | | use awc::Client; [INFO] [stdout] 3 | | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] 4 | | use futures_util::future::join_all; [INFO] [stdout] ... | [INFO] [stdout] 64 | | criterion_group!(server_benches, bench_async_burst); [INFO] [stdout] 65 | | criterion_main!(server_benches); [INFO] [stdout] | |________________________________^ consider adding a `main` function to `benches/server.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/service.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | criterion_main!(service_benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `brotli2` [INFO] [stdout] --> tests/test_server.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use brotli2::write::{BrotliDecoder, BrotliEncoder}; [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/test_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::read::GzDecoder; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `flate2` [INFO] [stdout] --> tests/test_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use flate2::write::{GzEncoder, ZlibDecoder, ZlibEncoder}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `criterion` in `{{root}}` [INFO] [stdout] --> benches/service.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let mut criterion: ::criterion::Criterion<_> = [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/test_server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/test_server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/test_server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `[closure@src/route.rs:378:69: 383:18]: handler::Factory<_, _, _>` is not satisfied [INFO] [stdout] --> src/route.rs:378:66 [INFO] [stdout] | [INFO] [stdout] 378 | .service(web::resource("/json").route(web::get().to(|| async { [INFO] [stdout] | ^^ the trait `handler::Factory<_, _, _>` is not implemented for `[closure@src/route.rs:378:69: 383:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/test_server.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | let data = rand::thread_rng() [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `criterion` in `{{root}}` [INFO] [stdout] --> benches/service.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | ::criterion::Criterion::default().configure_from_args(); [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `service` [INFO] [stdout] --> benches/service.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_service::Service; [INFO] [stdout] 2 | | use actix_web::dev::{ServiceRequest, ServiceResponse}; [INFO] [stdout] 3 | | use actix_web::{web, App, Error, HttpResponse}; [INFO] [stdout] 4 | | use criterion::{criterion_main, Criterion}; [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | criterion_main!(service_benches); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/service.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> examples/basic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/test_server.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | let data = rand::thread_rng() [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:594:17 [INFO] [stdout] | [INFO] [stdout] 594 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/test_server.rs:613:16 [INFO] [stdout] | [INFO] [stdout] 613 | let data = rand::thread_rng() [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let burst = (0..iters).map(|_| client.send()); [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | join_all(burst).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | join_all(burst).await [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | join_all(burst).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/test_server.rs:671:16 [INFO] [stdout] | [INFO] [stdout] 671 | let data = rand::thread_rng() [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:686:17 [INFO] [stdout] | [INFO] [stdout] 686 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:529:23 [INFO] [stdout] | [INFO] [stdout] 529 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:614:23 [INFO] [stdout] | [INFO] [stdout] 614 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | for req in reqs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | srv.borrow_mut().call(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | for req in reqs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | srv.borrow_mut().call(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bytes::Bytes: std::convert::From<[u8]>` is not satisfied [INFO] [stdout] --> tests/test_server.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::convert::From<[u8]>` is not implemented for `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 4 others [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `respond_to` not found for this [INFO] [stdout] | doesn't satisfy `_: responder::Responder` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 451 | let resp = j.respond_to(&req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `respond_to` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::Serialize` [INFO] [stdout] which is required by `types::json::Json: responder::Responder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::json::tests::MyObject: test::tests::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/types/json.rs:479:49 [INFO] [stdout] | [INFO] [stdout] 479 | .body(serde_json::to_string(&msg).unwrap()); [INFO] [stdout] | ^^^^ the trait `test::tests::_::_serde::Serialize` is not implemented for `types::json::tests::MyObject` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.57/src/ser.rs:2221:17 [INFO] [stdout] | [INFO] [stdout] 2221 | T: ?Sized + Serialize, [INFO] [stdout] | --------- required by this bound in `serde_json::to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:484:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 484 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::json::tests::MyObject: test::tests::_::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/types/json.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | let msg: MyObject = serde_json::from_slice(&body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `test::tests::_::_serde::Deserialize<'_>` is not implemented for `types::json::tests::MyObject` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.57/src/de.rs:2542:8 [INFO] [stdout] | [INFO] [stdout] 2542 | T: de::Deserialize<'a>, [INFO] [stdout] | ------------------- required by this bound in `serde_json::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:507:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 507 | let s = Json::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:529:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 529 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:549:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 549 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `types::json::JsonBody` in the current scope [INFO] [stdout] --> src/types/json.rs:556:42 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 556 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item not found in `types::json::JsonBody` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `types::json::JsonBody` in the current scope [INFO] [stdout] --> src/types/json.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 565 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item not found in `types::json::JsonBody` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `types::json::JsonBody` in the current scope [INFO] [stdout] --> src/types/json.rs:579:42 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 579 | let json = JsonBody::::new(&req, &mut pl, None) [INFO] [stdout] | ^^^ function or associated item not found in `types::json::JsonBody` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `types::json::JsonBody` in the current scope [INFO] [stdout] --> src/types/json.rs:596:42 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 596 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item not found in `types::json::JsonBody` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/types/json.rs:580:20 [INFO] [stdout] | [INFO] [stdout] 580 | .limit(100) [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/types/json.rs:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | let json = JsonBody::::new(&req, &mut pl, None) [INFO] [stdout] | ____________________^ [INFO] [stdout] 580 | | .limit(100) [INFO] [stdout] 581 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:619:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 619 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:639:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 639 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::json::Json` in the current scope [INFO] [stdout] --> src/types/json.rs:659:35 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Json(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 430 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 659 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::json::Json` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::json::tests::MyObject: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::json::Json: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::path::Path` in the current scope [INFO] [stdout] --> src/types/path.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 260 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 280 | assert!(Path::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::path::Path` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::path::tests::MyStruct: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::path::Path: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::path::Path` in the current scope [INFO] [stdout] --> src/types/path.rs:319:39 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 260 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 319 | let mut s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::path::Path` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::path::tests::MyStruct: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::path::Path: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::path::Path` in the current scope [INFO] [stdout] --> src/types/path.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 266 | struct Test2 { [INFO] [stdout] | ------------ doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 342 | let s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `types::path::Path` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::path::tests::Test2: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::path::Path: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> types::query::tests::Id: test::tests::_::_serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/types/query.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 63 | / pub fn from_query(query_str: &str) -> Result [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | T: de::DeserializeOwned, [INFO] [stdout] | |________________________________- required by `types::query::Query::::from_query` [INFO] [stdout] ... [INFO] [stdout] 243 | assert!(Query::::from_query(&req.query_string()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> test::tests::_::_serde::Deserialize<'de>` is not implemented for `types::query::tests::Id` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `test::tests::_::_serde::de::DeserializeOwned` for `types::query::tests::Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> types::query::tests::Id: test::tests::_::_serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/types/query.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 63 | / pub fn from_query(query_str: &str) -> Result [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | T: de::DeserializeOwned, [INFO] [stdout] | |________________________________- required by `types::query::Query::::from_query` [INFO] [stdout] ... [INFO] [stdout] 246 | let mut s = Query::::from_query(&req.query_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> test::tests::_::_serde::Deserialize<'de>` is not implemented for `types::query::tests::Id` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `test::tests::_::_serde::de::DeserializeOwned` for `types::query::tests::Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::query::Query` in the current scope [INFO] [stdout] --> src/types/query.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 260 | assert!(Query::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `types::query::Query` [INFO] [stdout] | help: there is an associated function with a similar name: `from_query` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::query::tests::Id: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::query::Query: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::query::Query` in the current scope [INFO] [stdout] --> src/types/query.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 265 | let mut s = Query::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `types::query::Query` [INFO] [stdout] | help: there is an associated function with a similar name: `from_query` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::query::tests::Id: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::query::Query: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_request` found for struct `types::query::Query` in the current scope [INFO] [stdout] --> src/types/query.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `_: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 284 | let query = Query::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `types::query::Query` [INFO] [stdout] | help: there is an associated function with a similar name: `from_query` [INFO] [stdout] | [INFO] [stdout] = note: the method `from_request` exists but the following trait bounds were not satisfied: [INFO] [stdout] `types::query::tests::Id: test::tests::_::_serde::de::DeserializeOwned` [INFO] [stdout] which is required by `types::query::Query: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::responder::tests::BodyTest` [INFO] [stdout] --> src/types/json.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | use crate::responder::tests::BodyTest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "72349bb5d8fcb68c3e7af000fe379b39e0223a07316488bac9e6066638131397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72349bb5d8fcb68c3e7af000fe379b39e0223a07316488bac9e6066638131397", kill_on_drop: false }` [INFO] [stdout] 72349bb5d8fcb68c3e7af000fe379b39e0223a07316488bac9e6066638131397