[INFO] fetching crate actix-web-lab 0.11.0... [INFO] testing actix-web-lab-0.11.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate actix-web-lab 0.11.0 into /workspace/builds/worker-87/source [INFO] validating manifest of crates.io crate actix-web-lab 0.11.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-lab 0.11.0 [INFO] finished tweaking crates.io crate actix-web-lab 0.11.0 [INFO] tweaked toml for crates.io crate actix-web-lab 0.11.0 written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate crates.io crate actix-web-lab 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5705c1c6c7ef41716c8e12b64743a8da3ee2442c6812b3d9c30306a19c9d3df7 [INFO] running `Command { std: "docker" "start" "-a" "5705c1c6c7ef41716c8e12b64743a8da3ee2442c6812b3d9c30306a19c9d3df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5705c1c6c7ef41716c8e12b64743a8da3ee2442c6812b3d9c30306a19c9d3df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5705c1c6c7ef41716c8e12b64743a8da3ee2442c6812b3d9c30306a19c9d3df7", kill_on_drop: false }` [INFO] [stdout] 5705c1c6c7ef41716c8e12b64743a8da3ee2442c6812b3d9c30306a19c9d3df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72df04214ce252912eb7f07ea28c937d5b818b1a698899db60fa5d51faf60238 [INFO] running `Command { std: "docker" "start" "-a" "72df04214ce252912eb7f07ea28c937d5b818b1a698899db60fa5d51faf60238", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling http-range v0.1.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling askama_escape v0.10.2 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [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 form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling indexmap v1.8.0 [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 signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-http v3.0.0-rc.4 [INFO] [stderr] Compiling actix-web v4.0.0-rc.3 [INFO] [stderr] Compiling actix-files v0.6.0-beta.16 [INFO] [stderr] Compiling actix-web-lab v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "72df04214ce252912eb7f07ea28c937d5b818b1a698899db60fa5d51faf60238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72df04214ce252912eb7f07ea28c937d5b818b1a698899db60fa5d51faf60238", kill_on_drop: false }` [INFO] [stdout] 72df04214ce252912eb7f07ea28c937d5b818b1a698899db60fa5d51faf60238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73fa8a8d6b42c20745aebf8123798a73fa6077551cadb63943fbbf8410ad4d98 [INFO] running `Command { std: "docker" "start" "-a" "73fa8a8d6b42c20745aebf8123798a73fa6077551cadb63943fbbf8410ad4d98", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-web-lab v0.11.0 (/opt/rustwide/workdir) [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[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[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[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/body_hash.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [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[E0432]: unresolved import `sha2` [INFO] [stdout] --> src/body_hash.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | 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:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use sha2::{Sha256, Sha512}; [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 `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: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hash.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[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 `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: could not find `test` in `actix_web` [INFO] [stdout] --> src/body_hash.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | #[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:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | #[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:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | #[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:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | #[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:349:18 [INFO] [stdout] | [INFO] [stdout] 349 | #[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:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | #[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:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | #[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:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | #[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:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | #[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:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | #[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: 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: 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:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | #[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:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | #[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: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/json.rs:386:18 [INFO] [stdout] | [INFO] [stdout] 386 | #[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:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | #[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:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | #[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/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:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | #[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:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | #[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:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | #[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: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:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | #[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:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | #[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: 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 `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[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: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 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 determine resolution for the macro `hex` [INFO] [stdout] --> src/body_hash.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | 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:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | 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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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_hmac.rs:204:58 [INFO] [stdout] | [INFO] [stdout] 204 | .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_hmac.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | 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:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | 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:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | 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:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | 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:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | 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:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | 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:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | 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:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | 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:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 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[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: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/json.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | #[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:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [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: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/json.rs:232:25 [INFO] [stdout] | [INFO] [stdout] 232 | #[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:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [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: 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: 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] [stderr] error: could not compile `actix-web-lab` due to 5 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0433]: failed to resolve: use of undeclared crate or module `base64` [INFO] [stdout] --> src/body_hmac.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | base64::decode(key_b64).map_err(error::ErrorBadRequest), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `base64` [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[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: aborting due to 6 previous errors [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[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] 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: 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] [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] [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] [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] 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[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.0-rc.3/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: 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[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.0-rc.3/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.0-rc.3/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: 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[E0283]: type annotations needed [INFO] [stdout] --> src/body_hash.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | 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.0-rc.3/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:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | 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.0-rc.3/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:261:55 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 261 | 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: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] which is required by `json::Json: actix_web::FromRequest` [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:281:39 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 281 | 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: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] which is required by `json::Json: actix_web::FromRequest` [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:297:39 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 297 | 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: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] which is required by `json::Json: actix_web::FromRequest` [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:309:62 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 309 | 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:318:62 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 318 | 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:329:47 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 329 | 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:343:47 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 343 | 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:359:62 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum JsonBody { [INFO] [stdout] | ---------------------------------------- variant or associated item `new` not found here [INFO] [stdout] ... [INFO] [stdout] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 359 | 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:382:41 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 382 | 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: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] which is required by `json::Json: actix_web::FromRequest` [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:394:39 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 233 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 394 | 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: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] which is required by `json::Json: actix_web::FromRequest` [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:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | .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.0-rc.3/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_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[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[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: the following trait bounds were not satisfied: [INFO] [stdout] `Id: DeserializeOwned` [INFO] [stdout] which is required by `query::Query: actix_web::FromRequest` [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 `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: the following trait bounds were not satisfied: [INFO] [stdout] `Id: DeserializeOwned` [INFO] [stdout] which is required by `query::Query: actix_web::FromRequest` [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: aborting due to 79 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73fa8a8d6b42c20745aebf8123798a73fa6077551cadb63943fbbf8410ad4d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73fa8a8d6b42c20745aebf8123798a73fa6077551cadb63943fbbf8410ad4d98", kill_on_drop: false }` [INFO] [stdout] 73fa8a8d6b42c20745aebf8123798a73fa6077551cadb63943fbbf8410ad4d98