[INFO] fetching crate actix-web-lab 0.15.0... [INFO] checking actix-web-lab-0.15.0 against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] extracting crate actix-web-lab 0.15.0 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate actix-web-lab 0.15.0 on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-lab 0.15.0 [INFO] finished tweaking crates.io crate actix-web-lab 0.15.0 [INFO] tweaked toml for crates.io crate actix-web-lab 0.15.0 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate crates.io crate actix-web-lab 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded actix-files v0.6.0 [INFO] [stderr] Downloaded http-range v0.1.5 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded actix-http v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee11584e32a60573e3ef19815c8f8153f6ad2779264e37e7201cd25a423dad8e [INFO] running `Command { std: "docker" "start" "-a" "ee11584e32a60573e3ef19815c8f8153f6ad2779264e37e7201cd25a423dad8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee11584e32a60573e3ef19815c8f8153f6ad2779264e37e7201cd25a423dad8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee11584e32a60573e3ef19815c8f8153f6ad2779264e37e7201cd25a423dad8e", kill_on_drop: false }` [INFO] [stdout] ee11584e32a60573e3ef19815c8f8153f6ad2779264e37e7201cd25a423dad8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a8195b37650699d1044c0e8f860e991bab32af1a87f92b3889306ec7e538c54 [INFO] running `Command { std: "docker" "start" "-a" "5a8195b37650699d1044c0e8f860e991bab32af1a87f92b3889306ec7e538c54", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Checking firestorm v0.5.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lock_api v0.4.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] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking actix-router v0.5.0 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking actix-rt v2.6.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking actix-server v2.0.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking actix-http v3.0.2 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Checking actix-files v0.6.0 [INFO] [stderr] Checking actix-web-lab v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/body_hash.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | 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:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | 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:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | 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:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | 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_hash.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 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_hash.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | 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:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | #[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: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/body_hmac.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | #[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:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | #[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:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | #[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:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | #[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:387:18 [INFO] [stdout] | [INFO] [stdout] 387 | #[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/buffered_serializing_stream.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | #[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/buffered_serializing_stream.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/buffered_serializing_stream.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | #[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/buffered_serializing_stream.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | #[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:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | #[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: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/err_handler.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | #[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:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | #[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:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | #[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:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | #[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:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | #[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:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | #[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:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | #[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:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | #[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: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/path.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | #[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: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/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: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/redirect.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | #[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:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | #[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:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | #[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:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | #[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: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: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/redirect_to_https.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | #[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:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | #[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:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | #[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: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/request_hash.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | #[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_hash.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/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_hash.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | 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/request_hash.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | 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/request_hash.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | 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: 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:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | #[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:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | 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:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | #[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:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | 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:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | 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:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | 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:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | 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:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | 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:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | 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:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | 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:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | 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:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | 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:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | 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:214:58 [INFO] [stdout] | [INFO] [stdout] 214 | .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:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | 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:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | 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:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | 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:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | 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:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | base64::decode(key_b64).map_err(error::ErrorBadRequest), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [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:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | 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:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | 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:127:35 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 101 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 127 | 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:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 67 | where [INFO] [stdout] 68 | 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:164:35 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 101 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 164 | 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:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 67 | where [INFO] [stdout] 68 | 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:187:32 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 107 | struct Test2 { [INFO] [stdout] | ------------ doesn't satisfy `Test2: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 187 | 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:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 67 | where [INFO] [stdout] 68 | 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[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/spa.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/from_fn.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | #[actix_web::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_web` [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:213:44 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 101 | struct MyStruct { [INFO] [stdout] | --------------- doesn't satisfy `MyStruct: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 213 | 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:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl FromRequest for Path [INFO] [stdout] | ----------- ------- [INFO] [stdout] 67 | where [INFO] [stdout] 68 | 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[E0432]: unresolved import `sha2` [INFO] [stdout] --> examples/hmac.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sha2::Sha256; [INFO] [stdout] | ^^^^ use of undeclared crate or module `sha2` [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 `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] `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[E0433]: failed to resolve: could not find `main` in `actix_web` [INFO] [stdout] --> examples/hmac.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[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/hmac.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .map(base64::decode) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [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 `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] `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[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:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | #[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:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[get("/")] [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 `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[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 `query::Query: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `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 `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] [stderr] error: could not compile `actix-web-lab` due to 6 previous errors [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 `query::Query: actix_web::FromRequest` [INFO] [stdout] ... [INFO] [stdout] 146 | struct Id { [INFO] [stdout] | --------- doesn't satisfy `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 `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] [stderr] warning: build failed, waiting for other jobs to finish... [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:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | #[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/hash.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/hash.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[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/spa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | 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/spa.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | if rand::random() { [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 `env_logger` [INFO] [stdout] --> examples/from_fn.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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/hmac.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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/hmac.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | 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: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/ndjson.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[get("/users-high-mem")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hash.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stderr] error: could not compile `actix-web-lab` due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/ndjson.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | 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] [stderr] error: could not compile `actix-web-lab` due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hash.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stderr] error: could not compile `actix-web-lab` due to 7 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/ndjson.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | 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] [stderr] error: could not compile `actix-web-lab` due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> examples/hash.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | base64::encode(body.hash()) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web-lab` due to 103 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> examples/ndjson.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | 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:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | 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:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | .sample_iter(Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/spa.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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 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 trait bound `fn() -> impl std::future::Future {index}: HttpServiceFactory` is not satisfied [INFO] [stdout] --> examples/channel_body.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | 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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/channel_body.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/hmac.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/from_fn.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | 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] warning: unused import: `digest::Digest` [INFO] [stdout] --> examples/hash.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use digest::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/hash.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | .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:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | .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:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/request_hash.rs:214:48 [INFO] [stdout] | [INFO] [stdout] 214 | 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_hash.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | 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: 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] [stdout] error: aborting due to 102 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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" "5a8195b37650699d1044c0e8f860e991bab32af1a87f92b3889306ec7e538c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8195b37650699d1044c0e8f860e991bab32af1a87f92b3889306ec7e538c54", kill_on_drop: false }` [INFO] [stdout] 5a8195b37650699d1044c0e8f860e991bab32af1a87f92b3889306ec7e538c54