[INFO] fetching crate actix-web 4.0.0-beta.4... [INFO] checking actix-web-4.0.0-beta.4 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate actix-web 4.0.0-beta.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate actix-web 4.0.0-beta.4 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web 4.0.0-beta.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-web 4.0.0-beta.4 [INFO] tweaked toml for crates.io crate actix-web 4.0.0-beta.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate actix-web 4.0.0-beta.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9371ba2a8786b577473020fdaca9c4770084515ef9d29bd9e41b54853a729e0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9371ba2a8786b577473020fdaca9c4770084515ef9d29bd9e41b54853a729e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9371ba2a8786b577473020fdaca9c4770084515ef9d29bd9e41b54853a729e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9371ba2a8786b577473020fdaca9c4770084515ef9d29bd9e41b54853a729e0e", kill_on_drop: false }` [INFO] [stdout] 9371ba2a8786b577473020fdaca9c4770084515ef9d29bd9e41b54853a729e0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c6ab139e46ec900fa983355913d207af1801a6abdd1e6fabd9010f8bd1167941 [INFO] running `Command { std: "docker" "start" "-a" "c6ab139e46ec900fa983355913d207af1801a6abdd1e6fabd9010f8bd1167941", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking actix-service v2.0.0-beta.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling ahash v0.7.1 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking actix-rt v2.1.0 [INFO] [stderr] Checking actix-utils v3.0.0-beta.2 [INFO] [stderr] Checking actix-server v2.0.0-beta.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking actix-tls v3.0.0-beta.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking actix-http v3.0.0-beta.4 [INFO] [stderr] Checking awc v3.0.0-beta.3 [INFO] [stderr] Checking actix-web v4.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/extract.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/route.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/extract.rs:343:14 [INFO] [stdout] | [INFO] [stdout] 343 | #[derive(Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/route.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:355:39 [INFO] [stdout] | [INFO] [stdout] 344 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 355 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:366:39 [INFO] [stdout] | [INFO] [stdout] 344 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 366 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:382:39 [INFO] [stdout] | [INFO] [stdout] 344 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 382 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::result::Result, actix_http::Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:396:46 [INFO] [stdout] | [INFO] [stdout] 344 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 396 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::result::Result, actix_http::Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::result::Result, actix_http::Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:413:46 [INFO] [stdout] | [INFO] [stdout] 344 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 413 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::result::Result, actix_http::Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/responder.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | error: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_shutdown` [INFO] [stdout] --> src/server.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | client_shutdown: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/service.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | criterion_main!(service_benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `criterion` in the list of imported crates [INFO] [stdout] --> benches/service.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let mut criterion: ::criterion::Criterion<_> = [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `criterion` in the list of imported crates [INFO] [stdout] --> benches/service.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | ::criterion::Criterion::default().configure_from_args(); [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `service` [INFO] [stdout] --> benches/service.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_service::Service; [INFO] [stdout] 2 | | use actix_web::dev::{ServiceRequest, ServiceResponse}; [INFO] [stdout] 3 | | use actix_web::{web, App, Error, HttpResponse}; [INFO] [stdout] 4 | | use criterion::{criterion_main, Criterion}; [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | criterion_main!(service_benches); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/service.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/responder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/on_connect.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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 determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/responder.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | criterion_main!(responder_bench); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/responder.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | criterion_group!(responder_bench, future_responder, responder); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/server.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | criterion_group!(server_benches, bench_async_burst); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/server.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | criterion_main!(server_benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/on_connect.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use crate::io::sys::os::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `responder` [INFO] [stdout] --> benches/responder.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::future::Future; [INFO] [stdout] 2 | | use std::time::Instant; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use actix_http::Response; [INFO] [stdout] ... | [INFO] [stdout] 112 | | criterion_group!(responder_bench, future_responder, responder); [INFO] [stdout] 113 | | criterion_main!(responder_bench); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/responder.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `server` [INFO] [stdout] --> benches/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_web::{test, web, App, HttpResponse}; [INFO] [stdout] 2 | | use awc::Client; [INFO] [stdout] 3 | | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] 4 | | use futures_util::future::join_all; [INFO] [stdout] ... | [INFO] [stdout] 68 | | criterion_group!(server_benches, bench_async_burst); [INFO] [stdout] 69 | | criterion_main!(server_benches); [INFO] [stdout] | |________________________________^ consider adding a `main` function to `benches/server.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `brotli2` [INFO] [stdout] --> tests/test_server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use brotli2::write::{BrotliDecoder, BrotliEncoder}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `flate2` [INFO] [stdout] --> tests/test_server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use flate2::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/test_server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use flate2::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/test_server.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use rand::{distributions::Alphanumeric, 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 `env_logger` [INFO] [stdout] --> examples/uds.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/uds.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::middleware::logger::env::os_imp::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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 type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::middleware::logger::env::os_imp::Env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | let data = 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 type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:558:16 [INFO] [stdout] | [INFO] [stdout] 558 | let data = 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 type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:622:17 [INFO] [stdout] | [INFO] [stdout] 622 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | let data = 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 type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | let data = 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 type `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:714:17 [INFO] [stdout] | [INFO] [stdout] 714 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:559:23 [INFO] [stdout] | [INFO] [stdout] 559 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:642:23 [INFO] [stdout] | [INFO] [stdout] 642 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:699:23 [INFO] [stdout] | [INFO] [stdout] 699 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let burst = (0..iters).map(|_| client.send()); [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/route.rs:225:69: 230:18]: handler::Handler<_, _>` is not satisfied [INFO] [stdout] --> src/route.rs:225:66 [INFO] [stdout] | [INFO] [stdout] 225 | .service(web::resource("/json").route(web::get().to(|| async { [INFO] [stdout] | ^^ the trait `handler::Handler<_, _>` is not implemented for `[closure@src/route.rs:225:69: 230:18]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bytes::Bytes: From<[u8]>` is not satisfied [INFO] [stdout] --> tests/test_server.rs:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^ the trait `From<[u8]>` is not implemented for `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 4 others [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c6ab139e46ec900fa983355913d207af1801a6abdd1e6fabd9010f8bd1167941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ab139e46ec900fa983355913d207af1801a6abdd1e6fabd9010f8bd1167941", kill_on_drop: false }` [INFO] [stdout] c6ab139e46ec900fa983355913d207af1801a6abdd1e6fabd9010f8bd1167941