[INFO] fetching crate actix-web-lab 0.16.0... [INFO] testing actix-web-lab-0.16.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate actix-web-lab 0.16.0 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate actix-web-lab 0.16.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-lab 0.16.0 [INFO] finished tweaking crates.io crate actix-web-lab 0.16.0 [INFO] tweaked toml for crates.io crate actix-web-lab 0.16.0 written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate crates.io crate actix-web-lab 0.16.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d013ba061322bca88440601c4a12e11b1ffc86fbb447ab3586370499b98cb560 [INFO] running `Command { std: "docker" "start" "-a" "d013ba061322bca88440601c4a12e11b1ffc86fbb447ab3586370499b98cb560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d013ba061322bca88440601c4a12e11b1ffc86fbb447ab3586370499b98cb560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d013ba061322bca88440601c4a12e11b1ffc86fbb447ab3586370499b98cb560", kill_on_drop: false }` [INFO] [stdout] d013ba061322bca88440601c4a12e11b1ffc86fbb447ab3586370499b98cb560 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3918a21bd603acf2f914001988f862f984c894c579f8ae360ac1c9a6d9a43478 [INFO] running `Command { std: "docker" "start" "-a" "3918a21bd603acf2f914001988f862f984c894c579f8ae360ac1c9a6d9a43478", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-lab-derive v0.15.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling actix-files v0.6.0 [INFO] [stderr] Compiling actix-web-lab v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "3918a21bd603acf2f914001988f862f984c894c579f8ae360ac1c9a6d9a43478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3918a21bd603acf2f914001988f862f984c894c579f8ae360ac1c9a6d9a43478", kill_on_drop: false }` [INFO] [stdout] 3918a21bd603acf2f914001988f862f984c894c579f8ae360ac1c9a6d9a43478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7db76c43e6763373a846608ed574675bf859f6f131000a606c182867a45ebb [INFO] running `Command { std: "docker" "start" "-a" "6c7db76c43e6763373a846608ed574675bf859f6f131000a606c182867a45ebb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-web-lab v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/from_fn.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/from_fn.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/from_fn.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/spa.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> examples/body_hmac.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sha2::Sha256; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/body_hmac.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> examples/channel_body.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | get, [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/channel_body.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/channel_body.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> examples/req_sig.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::{Sha256, Sha512}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/req_sig.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> examples/req_sig.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | .map(base64::decode) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> examples/req_sig.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | .map(base64::decode) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/channel_body.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/channel_body.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/ndjson.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::{distributions::Alphanumeric, Rng as _}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/from_fn.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web::get` [INFO] [stdout] --> examples/ndjson.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | get, [INFO] [stdout] | ^^^ no `get` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> examples/ndjson.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::{distributions::Alphanumeric, Rng as _}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/ndjson.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/body_hmac.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/body_hmac.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/req_sig.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl std::future::Future {index}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/channel_body.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | HttpServer::new(|| App::new().service(index)) [INFO] [stdout] | ------- ^^^^^ the trait `HttpServiceFactory` is not implemented for `fn() -> impl std::future::Future {index}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/req_sig.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/spa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/spa.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/channel_body.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/spa.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | if rand::random() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/ndjson.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/ndjson.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/ndjson.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[get("/users")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/ndjson.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[get("/users-high-mem")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/ndjson.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/ndjson.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/ndjson.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/ndjson.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> examples/ndjson.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | .sample_iter(Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/req_sig.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 60 | hasher: Sha256, [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/spa.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `actix-web-lab` due to 5 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/req_sig.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | println!("payload hash: {payload_hash:X?}"); [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `ArgumentV1::<'a>::new_debug` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/req_sig.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/body_hmac.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | hmac: SimpleHmac::new_from_slice(&key).unwrap(), [INFO] [stdout] | ^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | cannot infer type for type parameter `D` declared on the struct `SimpleHmac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/body_hmac.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Query) -> impl futures_core::Future {get_user_list}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/ndjson.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | .service(get_user_list) [INFO] [stdout] | ------- ^^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Query) -> impl futures_core::Future {get_user_list}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(actix_web::web::Query) -> impl futures_core::Future {get_high_mem_user_list}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/ndjson.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | .service(get_high_mem_user_list) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `HttpServiceFactory` is not implemented for `fn(actix_web::web::Query) -> impl futures_core::Future {get_high_mem_user_list}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::::service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/app.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | F: HttpServiceFactory + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `App::::service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/ndjson.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` due to 6 previous errors [INFO] [stderr] error: could not compile `actix-web-lab` due to 16 previous errors [INFO] [stderr] error: could not compile `actix-web-lab` due to 10 previous errors [INFO] [stderr] error: could not compile `actix-web-lab` due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/body_hash.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> src/body_hash.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use sha2::{Sha256, Sha512}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/body_hmac.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> src/body_hmac.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | use sha2::{Sha256, Sha512}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/request_signature.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> src/request_signature.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | use sha2::Sha256; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hash.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hash.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hmac.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hmac.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hmac.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hmac.rs:363:18 [INFO] [stdout] | [INFO] [stdout] 363 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hmac.rs:391:18 [INFO] [stdout] | [INFO] [stdout] 391 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/csv.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/display_stream.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/err_handler.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/err_handler.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/err_handler.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/err_handler.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/json.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/json.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/json.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/json.rs:389:18 [INFO] [stdout] | [INFO] [stdout] 389 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lazy_data.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/lazy_data.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/local_data.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/local_data.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/local_data.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/local_data.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/local_data.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware_from_fn.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware_from_fn.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/middleware_from_fn.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/ndjson.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/path.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/path.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/path.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/path.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/query.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/query.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/query.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 171 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_https.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_https.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_https.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_https.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_https.rs:260:18 [INFO] [stdout] | [INFO] [stdout] 260 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_www.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/redirect_to_www.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/request_signature.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/request_signature.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/swap_data.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/swap_data.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/swap_data.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/swap_data.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_web` [INFO] [stdout] --> src/test_response_macros.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | #[actix_web::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `static_assertions` [INFO] [stdout] --> src/channel_body.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | static_assertions::assert_impl_all!(Receiver: Send, Sync, MessageBody); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `static_assertions` [INFO] [stdout] --> src/channel_body.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | static_assertions::assert_impl_all!(Sender: Send, Sync); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/request_signature.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | hex!("4f373f6c cadfaba3 1a32cf52 04cf3db9 367609ee 6a7d7113 8e4f28ef 7c1a87a9") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/request_signature.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | hex!("555290a8 9e75260d fb0afead 2d5d3d70 f058c85d 1ff98bf3 06807301 7ce4c847") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/request_signature.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | hex!("a5441a3d ec265f82 3758d164 1188ab1d d1093972 45012a45 fa66df70 32d02177") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/query.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/query.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/path.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/path.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/path.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize, Debug, Display)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/path.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/json.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | hex!("5a697c67 68fcb4f3 63874b4d 73c517a6 e7f8932d 23c31b6e a52bebd2 c3f4aa05") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | hex!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | hex!("2a76332d a8983432 bc65ee84 0c4c9493 26b4a010 d2175a71 5105e90e 59c206e8") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | hex!("fd7adb15 2c05ef80 dccf50a1 fa4c05d5 a3ec6da9 5575fc31 2ae7c5d0 91836351") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | hex!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | hex!("67029104 cd676bae 23d74ac6 bdce84fc 80764b5e 5327a624 515fc5a5 2c240f8e") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | hex!("bbb4789d d01448ce 3c87ebec a78d45a1 6b6072db 2b639648 2783a284 f2ce5713") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | hex!("fd7adb15 2c05ef80 dccf50a1 fa4c05d5 a3ec6da9 5575fc31 2ae7c5d0 91836351") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | hex!("b613679a 0814d9ec 772f95d7 78c35fc5 ff1697c4 93715653 c6c71214 4292c5ad") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hmac.rs:218:58 [INFO] [stdout] | [INFO] [stdout] 218 | .app_data(HmacConfig::static_key(hex!("31 41 59 26 53 58 97 93"))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | hex!("03ac6742 16f3e15c 761ee1a5 e255f067 953623c8 b388b445 9e13f978 d7c846f4") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | hex!( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | hex!("ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | hex!("e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c a495991b 7852b855") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> src/body_hmac.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | base64::decode(key_b64).map_err(error::ErrorBadRequest), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2` [INFO] [stdout] --> src/request_signature.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | struct JustHash(sha2::Sha256); [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2` [INFO] [stdout] --> src/request_signature.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | type Signature = CtOutput; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/channel_body.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/body_hash.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | let req = test::TestRequest::default().set_json(1234).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/body_hash.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | let req = test::TestRequest::default().set_json(12345).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `json::Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:264:55 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Json(pub T); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 264 | let s = Json::::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `json::Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl FromRequest for Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `json::Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:284:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Json(pub T); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 284 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `json::Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl FromRequest for Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `json::Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Json(pub T); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 300 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `json::Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl FromRequest for Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `new` exists for enum `json::JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:312:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 312 | let json = JsonBody::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ variant or associated item cannot be called on `json::JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `new` exists for enum `json::JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:321:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 321 | let json = JsonBody::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ variant or associated item cannot be called on `json::JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `new` exists for enum `json::JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:332:47 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 332 | let json = JsonBody::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ variant or associated item cannot be called on `json::JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `new` exists for enum `json::JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:346:47 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 346 | let json = JsonBody::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ variant or associated item cannot be called on `json::JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `new` exists for enum `json::JsonBody`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:362:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 362 | let json = JsonBody::::new(&req, &mut pl).await; [INFO] [stdout] | ^^^ variant or associated item cannot be called on `json::JsonBody` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `json::Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:385:41 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Json(pub T); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 385 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `json::Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl FromRequest for Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `json::Json`, but its trait bounds were not satisfied [INFO] [stdout] --> src/json.rs:397:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Json(pub T); [INFO] [stdout] | ------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 236 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 397 | let s = Json::::from_request(&req, &mut pl).await; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `json::Json` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyObject: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl FromRequest for Json { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/json.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | .insert_header((header::CONTENT_LENGTH, 16)) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: TryIntoHeaderValue` found in the `actix_http` crate: [INFO] [stdout] - impl TryIntoHeaderValue for i32; [INFO] [stdout] - impl TryIntoHeaderValue for i64; [INFO] [stdout] - impl TryIntoHeaderValue for u32; [INFO] [stdout] - impl TryIntoHeaderValue for u64; [INFO] [stdout] and 1 more [INFO] [stdout] = note: required because of the requirements on the impl of `TryIntoHeaderPair` for `(HeaderName, {integer})` [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::insert_header` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:134:49 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn insert_header(mut self, header: impl TryIntoHeaderPair) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::insert_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `path::Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/path.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `path::Path: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 102 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 128 | assert!(Path::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `path::Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyStruct: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/path.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `path::Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/path.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `path::Path: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 102 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 165 | let s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `path::Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyStruct: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/path.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `path::Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/path.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `path::Path: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 108 | struct Test2 { [INFO] [stdout] | ------------ doesn't satisfy `Test2: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 188 | let s = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `path::Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Test2: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/path.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `path::Path`, but its trait bounds were not satisfied [INFO] [stdout] --> src/path.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Path(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `path::Path: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 102 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 214 | let path_items = Path::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `path::Path` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `MyStruct: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/path.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 68 | where [INFO] [stdout] 69 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_query` exists for struct `query::Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/query.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- function or associated item `from_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 153 | assert!(Query::::from_query(req.query_string()).is_err()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `query::Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `query::tests::Id: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_query` exists for struct `query::Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/query.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- function or associated item `from_query` not found for this [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 156 | let mut s = Query::::from_query(req.query_string()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `query::Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `query::tests::Id: DeserializeOwned` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `query::Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/query.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 173 | assert!(Query::::from_request(&req, &mut pl).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `query::Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `query::tests::Id: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/query.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | impl FromRequest for Query { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_request` exists for struct `query::Query`, but its trait bounds were not satisfied [INFO] [stdout] --> src/query.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Query(pub T); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `from_request` not found for this [INFO] [stdout] | doesn't satisfy `_: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `query::tests::Id: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 178 | let mut s = Query::::from_request(&req, &mut pl).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item cannot be called on `query::Query` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `query::tests::Id: DeserializeOwned` was not satisfied [INFO] [stdout] --> src/query.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | impl FromRequest for Query { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------- -------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/request_signature.rs:381:48 [INFO] [stdout] | [INFO] [stdout] 381 | let req = test::TestRequest::default().set_json(1234).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/request_signature.rs:395:48 [INFO] [stdout] | [INFO] [stdout] 395 | let req = test::TestRequest::default().set_json(12345).to_request(); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `actix_web::test::TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/request_signature.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 305 | #[derive(Debug, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 306 | struct JustHash(sha2::Sha256); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/request_signature.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | use digest::{CtOutput, Digest as _}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 110 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` due to 111 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6c7db76c43e6763373a846608ed574675bf859f6f131000a606c182867a45ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7db76c43e6763373a846608ed574675bf859f6f131000a606c182867a45ebb", kill_on_drop: false }` [INFO] [stdout] 6c7db76c43e6763373a846608ed574675bf859f6f131000a606c182867a45ebb