[INFO] fetching crate eternal 0.3.2... [INFO] checking eternal-0.3.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate eternal 0.3.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate eternal 0.3.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eternal 0.3.2 [INFO] finished tweaking crates.io crate eternal 0.3.2 [INFO] tweaked toml for crates.io crate eternal 0.3.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 176 packages to latest compatible versions [INFO] [stderr] Adding arc-swap v0.4.8 (available: v1.7.1) [INFO] [stderr] Adding base64 v0.10.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.11.0 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding enum-as-inner v0.3.4 (available: v0.6.1) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding idna v0.2.3 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding ipconfig v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding kayrx v0.6.2 (available: v0.18.0) [INFO] [stderr] Adding kayrx-macro v0.2.1 (available: v1.1.0) [INFO] [stderr] Adding language-tags v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (available: v0.9.10) [INFO] [stderr] Adding pin-project v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-internal v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding resolv-conf v0.6.3 (available: v0.7.0) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustls v0.16.0 (available: v0.23.13) [INFO] [stderr] Adding sct v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding trust-dns-proto v0.18.0-alpha.2 (available: v0.18.1) [INFO] [stderr] Adding trust-dns-resolver v0.18.0-alpha.2 (available: v0.18.1) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding webpki v0.21.4 (available: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.17.0 (available: v0.26.6) [INFO] [stderr] Adding widestring v0.4.3 (available: v1.1.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding winreg v0.6.2 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded eternal-macro v0.2.1 [INFO] [stderr] Downloaded kayrx-macro v0.2.1 [INFO] [stderr] Downloaded kayrx v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ffae1b115b925fe64fa0517893566eb6493bbad7fa711a3bccbb1b5c8d972c8 [INFO] running `Command { std: "docker" "start" "-a" "8ffae1b115b925fe64fa0517893566eb6493bbad7fa711a3bccbb1b5c8d972c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ffae1b115b925fe64fa0517893566eb6493bbad7fa711a3bccbb1b5c8d972c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffae1b115b925fe64fa0517893566eb6493bbad7fa711a3bccbb1b5c8d972c8", kill_on_drop: false }` [INFO] [stdout] 8ffae1b115b925fe64fa0517893566eb6493bbad7fa711a3bccbb1b5c8d972c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0f108dc474c39bf2db93f424059ee29b3e35c336bb525e90e31ec4fbf642e1 [INFO] running `Command { std: "docker" "start" "-a" "2c0f108dc474c39bf2db93f424059ee29b3e35c336bb525e90e31ec4fbf642e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling kayrx-macro v0.2.1 [INFO] [stderr] Compiling eternal-macro v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking kayrx v0.6.2 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking eternal v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/http/h2/hpack/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/http/h2/hpack/test.rs" or "src/http/h2/hpack/test/mod.rs" [INFO] [stdout] = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/mpsc.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | use futures::future::lazy; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/oneshot.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use futures::future::lazy; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/util/timeout.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | use futures::future::{ok, FutureExt, LocalBoxFuture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/app.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/defaultheaders.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/errhandlers.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/middleware/logger.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/resource.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/scope.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | use futures::future::ok; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/web/types/readlines.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> src/util/mpsc.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/router/de.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/extract.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/route.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/json.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/path.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/web/types/query.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/router/de.rs:508:7 [INFO] [stdout] | [INFO] [stdout] 508 | #[serde(rename_all = "lowercase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied at the crate level [INFO] [stdout] --> src/http/cookie/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | #![doc(html_root_url = "https://docs.rs/cookie/0.11")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied at the crate level [INFO] [stdout] --> src/http/cookie/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | #![doc(html_root_url = "https://docs.rs/cookie/0.11")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `TimeDelta` from `Tm` [INFO] [stdout] --> src/http/cookie/jar.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | cookie.set_expires(time::now() - Duration::days(365)); [INFO] [stdout] | ^ no implementation for `Tm - TimeDelta` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `Tm` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `Tm` implements `Sub` [INFO] [stdout] `Tm` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/cookie/mod.rs:736:40 [INFO] [stdout] | [INFO] [stdout] 736 | self.set_expires(time::now() + twenty_years); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Duration`, found `TimeDelta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `assert_valid_state` [INFO] [stdout] --> src/http/h2/hpack/table.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 526 | fn assert_valid_state(&self, _: &'static str) -> bool { [INFO] [stdout] | ----------------------------------------------------- other definition for `assert_valid_state` [INFO] [stdout] ... [INFO] [stdout] 531 | fn assert_valid_state(&self, _msg: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `assert_valid_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/response.rs:885:35 [INFO] [stdout] | [INFO] [stdout] 885 | .max_age_time(time::Duration::days(1)) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/http/cookie/builder.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn max_age_time(mut self, value: Duration) -> CookieBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `TimeDelta` from `Tm` [INFO] [stdout] --> src/http/cookie/jar.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | cookie.set_expires(time::now() - Duration::days(365)); [INFO] [stdout] | ^ no implementation for `Tm - TimeDelta` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `Tm` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `Tm` implements `Sub` [INFO] [stdout] `Tm` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/http/cookie/mod.rs:736:40 [INFO] [stdout] | [INFO] [stdout] 736 | self.set_expires(time::now() + twenty_years); [INFO] [stdout] | ^^^^^^^^^^^^ expected `Duration`, found `TimeDelta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `router::de::tests::MyStruct: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:528:27 [INFO] [stdout] | [INFO] [stdout] 528 | let s: MyStruct = de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `router::de::tests::MyStruct` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `router::de::tests::MyStruct` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test1: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:544:24 [INFO] [stdout] | [INFO] [stdout] 544 | let s: Test1 = de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Test1` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Test1` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `router::de::tests::Test2: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:548:24 [INFO] [stdout] | [INFO] [stdout] 548 | let s: Test2 = de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `router::de::tests::Test2` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `router::de::tests::Test2` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | let i: TestEnum = de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `TestEnum` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestEnum` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestEnum: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `TestEnum`, which is required by `(TestEnum, TestEnum): Deserialize<'_>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestEnum` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `(TestEnum, TestEnum)` to implement `Deserialize<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test3: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:605:24 [INFO] [stdout] | [INFO] [stdout] 605 | let i: Test3 = de::Deserialize::deserialize(PathDeserializer::new(&path)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Test3` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Test3` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test3: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | de::Deserialize::deserialize(PathDeserializer::new(&path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Test3` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Test3` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test1: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | de::Deserialize::deserialize(PathDeserializer::new(&path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Test1` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Test1` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `router::de::tests::Test2: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/router/de.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | de::Deserialize::deserialize(PathDeserializer::new(&path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `router::de::tests::Test2` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `router::de::tests::Test2` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `util::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/util/mpsc.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Receiver { [INFO] [stdout] | ---------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 191 | assert_eq!(rx.next().await.unwrap(), "test"); [INFO] [stdout] | ^^^^ method not found in `Receiver<&str>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `util::mpsc::Receiver<&str>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 183 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `util::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/util/mpsc.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Receiver { [INFO] [stdout] | ---------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | assert_eq!(rx.next().await.unwrap(), "test2"); [INFO] [stdout] | ^^^^ method not found in `Receiver<&str>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `util::mpsc::Receiver<&str>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 183 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `util::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/util/mpsc.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Receiver { [INFO] [stdout] | ---------------------- method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 207 | assert_eq!(rx.next().await, None); [INFO] [stdout] | ^^^^ method not found in `Receiver<&str>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `util::mpsc::Receiver<&str>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 183 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `then` found for struct `Delay` in the current scope [INFO] [stdout] --> src/util/timeout.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 201 | / kayrx::timer::delay_for(self.0) [INFO] [stdout] 202 | | .then(|_| ok::<_, ()>(())) [INFO] [stdout] | | -^^^^ method not found in `Delay` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/future/mod.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn then(self, f: F) -> Then [INFO] [stdout] | ---- the method is available for `Delay` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FutureExt` which provides `then` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 181 + use futures_util::FutureExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/extract.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 278 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 291 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/web/types/form.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Form(pub T); [INFO] [stdout] | ------------------ doesn't satisfy `_: FromRequest` [INFO] [stdout] | [INFO] [stdout] note: trait bound `form::Form: extract::FromRequest` was not satisfied [INFO] [stdout] --> src/web/extract.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl FromRequest for Option [INFO] [stdout] | ----------- --------- [INFO] [stdout] 94 | where [INFO] [stdout] 95 | T: FromRequest, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `extract::tests::Info: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/form.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl FromRequest for Form [INFO] [stdout] | ----------- ------- [INFO] [stdout] 112 | where [INFO] [stdout] 113 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `DeserializeOwned` and `extract::FromRequest` must be implemented [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/extract.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 278 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 304 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/web/types/form.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Form(pub T); [INFO] [stdout] | ------------------ doesn't satisfy `_: FromRequest` [INFO] [stdout] | [INFO] [stdout] note: trait bound `form::Form: extract::FromRequest` was not satisfied [INFO] [stdout] --> src/web/extract.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl FromRequest for Option [INFO] [stdout] | ----------- --------- [INFO] [stdout] 94 | where [INFO] [stdout] 95 | T: FromRequest, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `extract::tests::Info: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/form.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl FromRequest for Form [INFO] [stdout] | ----------- ------- [INFO] [stdout] 112 | where [INFO] [stdout] 113 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `DeserializeOwned` and `extract::FromRequest` must be implemented [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/extract.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 278 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 322 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/web/types/form.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Form(pub T); [INFO] [stdout] | ------------------ doesn't satisfy `_: FromRequest` [INFO] [stdout] | [INFO] [stdout] note: trait bound `form::Form: extract::FromRequest` was not satisfied [INFO] [stdout] --> src/web/extract.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl FromRequest for Option [INFO] [stdout] | ----------- --------- [INFO] [stdout] 94 | where [INFO] [stdout] 95 | T: FromRequest, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `extract::tests::Info: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/form.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl FromRequest for Form [INFO] [stdout] | ----------- ------- [INFO] [stdout] 112 | where [INFO] [stdout] 113 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `DeserializeOwned` and `extract::FromRequest` must be implemented [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `Result, Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/extract.rs:338:46 [INFO] [stdout] | [INFO] [stdout] 278 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 338 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `Result, Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/web/types/form.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Form(pub T); [INFO] [stdout] | ------------------ doesn't satisfy `<_ as FromRequest>::Error = Error` or `_: FromRequest` [INFO] [stdout] | [INFO] [stdout] note: trait bound `form::Form: extract::FromRequest` was not satisfied [INFO] [stdout] --> src/web/extract.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl FromRequest for Result [INFO] [stdout] | ----------- ------------------- [INFO] [stdout] 163 | where [INFO] [stdout] 164 | T: FromRequest + 'static, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `extract::tests::Info: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/form.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl FromRequest for Form [INFO] [stdout] | ----------- ------- [INFO] [stdout] 112 | where [INFO] [stdout] 113 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as extract::FromRequest>::Error = http::error::Error` [INFO] [stdout] which is required by `std::result::Result, http::error::Error>: extract::FromRequest` [INFO] [stdout] note: the traits `DeserializeOwned` and `extract::FromRequest` must be implemented [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `Result, Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/extract.rs:357:46 [INFO] [stdout] | [INFO] [stdout] 278 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 357 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `Result, Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/web/types/form.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Form(pub T); [INFO] [stdout] | ------------------ doesn't satisfy `<_ as FromRequest>::Error = Error` or `_: FromRequest` [INFO] [stdout] | [INFO] [stdout] note: trait bound `form::Form: extract::FromRequest` was not satisfied [INFO] [stdout] --> src/web/extract.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 162 | impl FromRequest for Result [INFO] [stdout] | ----------- ------------------- [INFO] [stdout] 163 | where [INFO] [stdout] 164 | T: FromRequest + 'static, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `extract::tests::Info: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/form.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl FromRequest for Form [INFO] [stdout] | ----------- ------- [INFO] [stdout] 112 | where [INFO] [stdout] 113 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as extract::FromRequest>::Error = http::error::Error` [INFO] [stdout] which is required by `std::result::Result, http::error::Error>: extract::FromRequest` [INFO] [stdout] note: the traits `DeserializeOwned` and `extract::FromRequest` must be implemented [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@src/web/route.rs:383:69: 383:71}: handler::Factory<_, _, _>` is not satisfied [INFO] [stdout] --> src/web/route.rs:383:69 [INFO] [stdout] | [INFO] [stdout] 383 | .service(web::resource("/json").route(web::get().to(|| { [INFO] [stdout] | __________________________________________________________________--_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 384 | | async { [INFO] [stdout] 385 | | delay_for(Duration::from_millis(25)).await; [INFO] [stdout] 386 | | web::Json(MyObject { [INFO] [stdout] ... | [INFO] [stdout] 389 | | } [INFO] [stdout] 390 | | }))), [INFO] [stdout] | |_________________^ the trait `handler::Factory<_, _, _>` is not implemented for closure `{closure@src/web/route.rs:383:69: 383:71}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Route::to` [INFO] [stdout] --> src/web/route.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn to(mut self, handler: F) -> Self [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 227 | where [INFO] [stdout] 228 | F: Factory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Route::to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eternal` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `respond_to` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ method `respond_to` not found for this struct because it doesn't satisfy `_: Responder` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `_: Serialize` [INFO] [stdout] ... [INFO] [stdout] 443 | let resp = j.respond_to(&req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: client::response::tests::_::_serde::Serialize` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | impl Responder for Json { [INFO] [stdout] | ^^^^^^^^^ --------- ------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `client::response::tests::_::_serde::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `responder::Responder` defines an item `respond_to`, perhaps you need to implement it [INFO] [stdout] --> src/web/responder.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `json::tests::MyObject: client::response::tests::_::_serde::Serialize` is not satisfied [INFO] [stdout] --> src/web/types/json.rs:471:49 [INFO] [stdout] | [INFO] [stdout] 471 | .body(serde_json::to_string(&msg).unwrap()); [INFO] [stdout] | --------------------- ^^^^ the trait `client::response::tests::_::_serde::Serialize` is not implemented for `json::tests::MyObject` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `json::tests::MyObject` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `client::response::tests::_::_serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 132 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/ser.rs:2209:17 [INFO] [stdout] | [INFO] [stdout] 2207 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2208 | where [INFO] [stdout] 2209 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 476 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `json::tests::MyObject: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/web/types/json.rs:481:29 [INFO] [stdout] | [INFO] [stdout] 481 | let msg: MyObject = serde_json::from_slice(&body).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `json::tests::MyObject` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `json::tests::MyObject` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `from_slice` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.128/src/de.rs:2638:8 [INFO] [stdout] | [INFO] [stdout] 2636 | pub fn from_slice<'a, T>(v: &'a [u8]) -> Result [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 2637 | where [INFO] [stdout] 2638 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:499:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 499 | let s = Json::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:521:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 521 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:541:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 541 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:548:42 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: Deserialize<'de>` or `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 548 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `json::tests::MyObject: Deserialize<'de>` [INFO] [stdout] which is required by `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #3: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #4: `ring::aead::BoundKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:557:42 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: Deserialize<'de>` or `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 557 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `json::tests::MyObject: Deserialize<'de>` [INFO] [stdout] which is required by `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #3: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #4: `ring::aead::BoundKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:571:42 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: Deserialize<'de>` or `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 571 | let json = JsonBody::::new(&req, &mut pl, None) [INFO] [stdout] | ^^^ function or associated item cannot be called on `JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `json::tests::MyObject: Deserialize<'de>` [INFO] [stdout] which is required by `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #3: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #4: `ring::aead::BoundKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:588:42 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct JsonBody { [INFO] [stdout] | ---------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: Deserialize<'de>` or `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 588 | let json = JsonBody::::new(&req, &mut pl, None).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `json::tests::MyObject: Deserialize<'de>` [INFO] [stdout] which is required by `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `gimli::read::lookup::PubStuffEntry` [INFO] [stdout] candidate #3: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #4: `ring::aead::BoundKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:611:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 611 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:631:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 631 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/json.rs:651:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Json(pub T); [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 418 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `json::tests::MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 651 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `json::tests::MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/json.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromRequest for Json [INFO] [stdout] | ----------- ------- [INFO] [stdout] 173 | where [INFO] [stdout] 174 | T: DeserializeOwned + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/path.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Path { [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 264 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `types::path::tests::MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 284 | assert!(Path::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `types::path::tests::MyStruct: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/path.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 161 | where [INFO] [stdout] 162 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/path.rs:322:39 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Path { [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 264 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `types::path::tests::MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 322 | let mut s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `types::path::tests::MyStruct: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/path.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 161 | where [INFO] [stdout] 162 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/path.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Path { [INFO] [stdout] | ------------------ function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 270 | struct Test2 { [INFO] [stdout] | ------------ doesn't satisfy `types::path::tests::Test2: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 345 | let s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `types::path::tests::Test2: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/path.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 161 | where [INFO] [stdout] 162 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::query::tests::Id: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/web/types/query.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(Query::::from_query(&req.query_string()).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `types::query::tests::Id`, which is required by `types::query::tests::Id: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `types::query::tests::Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `types::query::Query::::from_query` [INFO] [stdout] --> src/web/types/query.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_query(query_str: &str) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Query::::from_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::query::tests::Id: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/web/types/query.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let mut s = Query::::from_query(&req.query_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `types::query::tests::Id`, which is required by `types::query::tests::Id: DeserializeOwned` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `types::query::tests::Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `types::query::Query::::from_query` [INFO] [stdout] --> src/web/types/query.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_query(query_str: &str) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 65 | where [INFO] [stdout] 66 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Query::::from_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/query.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Query(pub T); [INFO] [stdout] | ------------------- function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 237 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `types::query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 261 | assert!(Query::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `types::query::Query`, consider using `types::query::Query::::from_query` which returns `std::result::Result, web::error::QueryPayloadError>` [INFO] [stdout] --> src/web/types/query.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn from_query(query_str: &str) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T: de::DeserializeOwned, [INFO] [stdout] | |________________________________^ [INFO] [stdout] note: trait bound `types::query::tests::Id: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/query.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl FromRequest for Query [INFO] [stdout] | ----------- -------- [INFO] [stdout] 134 | where [INFO] [stdout] 135 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/query.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Query(pub T); [INFO] [stdout] | ------------------- function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 237 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `types::query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 266 | let mut s = Query::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `types::query::Query`, consider using `types::query::Query::::from_query` which returns `std::result::Result, web::error::QueryPayloadError>` [INFO] [stdout] --> src/web/types/query.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn from_query(query_str: &str) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T: de::DeserializeOwned, [INFO] [stdout] | |________________________________^ [INFO] [stdout] note: trait bound `types::query::tests::Id: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/query.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl FromRequest for Query [INFO] [stdout] | ----------- -------- [INFO] [stdout] 134 | where [INFO] [stdout] 135 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/web/types/query.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Query(pub T); [INFO] [stdout] | ------------------- function or associated item `from_request` not found for this struct because it doesn't satisfy `_: FromRequest` [INFO] [stdout] ... [INFO] [stdout] 237 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `types::query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 285 | let query = Query::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `types::query::Query`, consider using `types::query::Query::::from_query` which returns `std::result::Result, web::error::QueryPayloadError>` [INFO] [stdout] --> src/web/types/query.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub fn from_query(query_str: &str) -> Result [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | T: de::DeserializeOwned, [INFO] [stdout] | |________________________________^ [INFO] [stdout] note: trait bound `types::query::tests::Id: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/web/types/query.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl FromRequest for Query [INFO] [stdout] | ----------- -------- [INFO] [stdout] 134 | where [INFO] [stdout] 135 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `DeserializeOwned` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 613 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `extract::FromRequest` defines an item `from_request`, perhaps you need to implement it [INFO] [stdout] --> src/web/extract.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait FromRequest: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `Readlines` in the current scope [INFO] [stdout] --> src/web/types/readlines.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Readlines { [INFO] [stdout] | ------------------------------------ method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 192 | stream.next().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `readlines::Readlines>>>>>` here [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/eternal-4050c31d87c13773.long-type-9720219209859733910.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 175 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_next` with a similar name [INFO] [stdout] | [INFO] [stdout] 192 | stream.try_next().await.unwrap().unwrap(), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `Readlines` in the current scope [INFO] [stdout] --> src/web/types/readlines.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Readlines { [INFO] [stdout] | ------------------------------------ method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 197 | stream.next().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `readlines::Readlines>>>>>` here [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/eternal-4050c31d87c13773.long-type-9720219209859733910.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 175 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_next` with a similar name [INFO] [stdout] | [INFO] [stdout] 197 | stream.try_next().await.unwrap().unwrap(), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `Readlines` in the current scope [INFO] [stdout] --> src/web/types/readlines.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Readlines { [INFO] [stdout] | ------------------------------------ method `next` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 202 | stream.next().await.unwrap().unwrap(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/stream/mod.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- the method is available for `readlines::Readlines>>>>>` here [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/eternal-4050c31d87c13773.long-type-9720219209859733910.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `StreamExt` which provides `next` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 175 + use futures_util::StreamExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `try_next` with a similar name [INFO] [stdout] | [INFO] [stdout] 202 | stream.try_next().await.unwrap().unwrap(), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0583, E0592, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eternal` (lib test) due to 69 previous errors [INFO] running `Command { std: "docker" "inspect" "2c0f108dc474c39bf2db93f424059ee29b3e35c336bb525e90e31ec4fbf642e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0f108dc474c39bf2db93f424059ee29b3e35c336bb525e90e31ec4fbf642e1", kill_on_drop: false }` [INFO] [stdout] 2c0f108dc474c39bf2db93f424059ee29b3e35c336bb525e90e31ec4fbf642e1