[INFO] fetching crate envoy_http 0.2.2... [INFO] checking envoy_http-0.2.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate envoy_http 0.2.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate envoy_http 0.2.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate envoy_http 0.2.2 [INFO] finished tweaking crates.io crate envoy_http 0.2.2 [INFO] tweaked toml for crates.io crate envoy_http 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 164 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.3.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logtest v2.0.0 [INFO] [stderr] Downloaded routefinder v0.5.4 [INFO] [stderr] Downloaded async_fn_traits v0.1.1 [INFO] [stderr] Downloaded smartcow v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c590f48885190de092110bab4619a69a05ef509646df1d8fa5ccab5ea5b1e8 [INFO] running `Command { std: "docker" "start" "-a" "a7c590f48885190de092110bab4619a69a05ef509646df1d8fa5ccab5ea5b1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c590f48885190de092110bab4619a69a05ef509646df1d8fa5ccab5ea5b1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c590f48885190de092110bab4619a69a05ef509646df1d8fa5ccab5ea5b1e8", kill_on_drop: false }` [INFO] [stdout] a7c590f48885190de092110bab4619a69a05ef509646df1d8fa5ccab5ea5b1e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1b5f36adc2da875ad9696cfd8509ccc97c41482564b73cce5072b77d5af16c5 [INFO] running `Command { std: "docker" "start" "-a" "e1b5f36adc2da875ad9696cfd8509ccc97c41482564b73cce5072b77d5af16c5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking smartcow v0.2.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async_fn_traits v0.1.1 [INFO] [stderr] Checking routefinder v0.5.4 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking logtest v2.0.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking portpicker v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking envoy_http v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `docs` [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | #![cfg_attr(feature = "docs", feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `docs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `docs` [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | #![cfg_attr(feature = "docs", feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `docs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use envoy::http::{self, url::Url, Method}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/function_middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use envoy::http::{self, url::Url, Method}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use envoy::Endpoint; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use envoy::Body; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/wildcard.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use envoy::{Error, StatusCode, Context, Endpoint}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/endpoint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use envoy::{Method, Response, Body}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> tests/test_utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::headers::HeaderName` [INFO] [stdout] --> tests/route_middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::headers::HeaderName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HeaderName` in `headers` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::headers::HeaderValue; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::header::HeaderName; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `surf` [INFO] [stdout] --> tests/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use surf::{Client, Config, RequestBuilder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `envoy` [INFO] [stdout] --> tests/route_middleware.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use envoy::Middleware; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "test_utils") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | .set_base_url(envoy::http::Url::parse("http://example.com").unwrap()); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(envoy::Response::new("hello world".into())) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Response; [INFO] [stdout] | [INFO] [stdout] help: if you import `Response`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - Ok(envoy::Response::new("hello world".into())) [INFO] [stdout] 8 + Ok(Response::new("hello world".into())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut app = envoy::Server::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::Server; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Server; [INFO] [stdout] | [INFO] [stdout] help: if you import `Server`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let mut app = envoy::Server::new(); [INFO] [stdout] 13 + let mut app = Server::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | .respond(envoy::Request::builder() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - .respond(envoy::Request::builder() [INFO] [stdout] 17 + .respond(Request::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | inner_app.with(envoy::utils::After(|mut res: envoy::Response| async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | fn endpoint() -> Box { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | async fn inner(_ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/endpoint.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | async fn inner(_ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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 crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(ctx.res.set_status(envoy::StatusCode::Unauthorized)) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - Ok(ctx.res.set_status(envoy::StatusCode::Unauthorized)) [INFO] [stdout] 16 + Ok(ctx.res.set_status(StatusCode::Unauthorized)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(res.status(), envoy::StatusCode::Unauthorized); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - assert_eq!(res.status(), envoy::StatusCode::Unauthorized); [INFO] [stdout] 36 + assert_eq!(res.status(), StatusCode::Unauthorized); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] 44 + assert_eq!(res.status(), StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] 52 + assert_eq!(res.status(), StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] 60 + assert_eq!(res.status(), StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(res.status(), envoy::StatusCode::Unauthorized); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - assert_eq!(res.status(), envoy::StatusCode::Unauthorized); [INFO] [stdout] 72 + assert_eq!(res.status(), StatusCode::Unauthorized); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use envoy_http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 1 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - assert_eq!(res.status(), envoy::StatusCode::Ok); [INFO] [stdout] 77 + assert_eq!(res.status(), StatusCode::Ok); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "endpoint") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> tests/test_utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | ctx: &mut envoy::Context, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | next: envoy::Next, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | async fn echo_path(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/function_middleware.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | async fn echo_path(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ok` found for struct `StatusCode` in the current scope [INFO] [stdout] --> tests/params.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | Ok(ctx.res.set_status(hyper::StatusCode::Ok)) [INFO] [stdout] | ^^ associated item not found in `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: there is an associated constant `OK` with a similar name (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 7 | Ok(ctx.res.set_status(hyper::StatusCode::OK)) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Response` [INFO] [stdout] --> tests/params.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let res: hyper::Response = server.respond(ctx).await?; [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | let res: hyper::Response = server.respond(ctx).await?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let mut server = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "function_middleware") due to 20 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let mut inner = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let mut outer = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope [INFO] [stdout] --> tests/params.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let ctx = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^ associated item not found in `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hello_world() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Uri` in the current scope [INFO] [stdout] --> tests/params.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | let ctx = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^^^ function or associated item not found in `Uri` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uri` consider using one of the following associated functions: [INFO] [stdout] Uri::from_parts [INFO] [stdout] Uri::from_maybe_shared [INFO] [stdout] Uri::from_static [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/uri/mod.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn from_parts(src: Parts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | / pub fn from_maybe_shared(src: T) -> Result [INFO] [stdout] 282 | | where [INFO] [stdout] 283 | | T: AsRef<[u8]> + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn from_static(src: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | async fn call(&self, ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | async fn call(&self, ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/params.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let ctx = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new(body: T) -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 13 - let ctx = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] 13 + let ctx = hyper::Request::new(Method::Get); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/server.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let string = surf::get(format!("http://localhost:{}", port)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | async fn echo_server() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | async fn echo(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | async fn echo(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/server.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let string = surf::get(format!("http://localhost:{}", port)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | async fn json() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | async fn increment_counter(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | async fn increment_counter(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/server.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `surf` [INFO] [stdout] --> tests/server.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let counter: Counter = surf::get(format!("http://localhost:{}", &port)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "server") due to 21 previous errors [INFO] [stdout] error[E0107]: missing generics for struct `Response` [INFO] [stdout] --> tests/params.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let mut res: hyper::Response = server.respond(req).await?; [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 31 | let mut res: hyper::Response = server.respond(req).await?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Response` [INFO] [stdout] --> tests/params.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let mut res: hyper::Response = server.respond(req).await?; [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | let mut res: hyper::Response = server.respond(req).await?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let mut server = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut inner_app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope [INFO] [stdout] --> tests/params.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^ associated item not found in `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Uri` in the current scope [INFO] [stdout] --> tests/params.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^^^ function or associated item not found in `Uri` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uri` consider using one of the following associated functions: [INFO] [stdout] Uri::from_parts [INFO] [stdout] Uri::from_maybe_shared [INFO] [stdout] Uri::from_static [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/uri/mod.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn from_parts(src: Parts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | / pub fn from_maybe_shared(src: T) -> Result [INFO] [stdout] 282 | | where [INFO] [stdout] 283 | | T: AsRef<[u8]> + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn from_static(src: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/params.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new(body: T) -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 30 - let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/")?); [INFO] [stdout] 30 + let req = hyper::Request::new(Method::Get); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `headers` is private [INFO] [stdout] --> tests/route_middleware.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::headers::HeaderName; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `headers` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mod headers; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Get` found for struct `Method` in the current scope [INFO] [stdout] --> tests/params.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/iron")?); [INFO] [stdout] | ^^^ associated item not found in `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut outer = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut inner = envoy::with_state(42); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Uri` in the current scope [INFO] [stdout] --> tests/params.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/iron")?); [INFO] [stdout] | ^^^^^ function or associated item not found in `Uri` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uri` consider using one of the following associated functions: [INFO] [stdout] Uri::from_parts [INFO] [stdout] Uri::from_maybe_shared [INFO] [stdout] Uri::from_static [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/uri/mod.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn from_parts(src: Parts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | / pub fn from_maybe_shared(src: T) -> Result [INFO] [stdout] 282 | | where [INFO] [stdout] 283 | | T: AsRef<[u8]> + 'static, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn from_static(src: &'static str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/params.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/iron")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------------------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new(body: T) -> Request { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 34 - let req = hyper::Request::new(Method::Get, Uri::parse("http://example.com/iron")?); [INFO] [stdout] 34 + let req = hyper::Request::new(Method::Get); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> tests/test_utils.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_utils::ServerTestingExt` [INFO] [stdout] --> tests/nested.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_utils::ServerTestingExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test_missing_param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | async fn greet(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | async fn greet(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | async fn greet(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | async fn hello_world_parametrized() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/params.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | async fn greet(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | async fn nested() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | inner.at("/").get(|req: envoy::Context| async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | async fn nested_with_different_state() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | async fn nested_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let echo_path = |ctx: envoy::Context| async move { Ok(ctx.url().path().to_string()) }; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/nested.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | inner_app.with(envoy::utils::After(|mut res: envoy::Response| async move { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in the crate root [INFO] [stdout] --> tests/wildcard.rs:9:85 [INFO] [stdout] | [INFO] [stdout] 9 | async fn call(&self, ctx: &mut envoy::Context) -> Result, Error> { [INFO] [stdout] | ^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use envoy_http::Body; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::Body; [INFO] [stdout] | [INFO] [stdout] help: if you import `Body`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - async fn call(&self, ctx: &mut envoy::Context) -> Result, Error> { [INFO] [stdout] 9 + async fn call(&self, ctx: &mut envoy::Context) -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let mut app = envoy::Server::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use envoy_http::Server; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::Server; [INFO] [stdout] | [INFO] [stdout] help: if you import `Server`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let mut app = envoy::Server::new(); [INFO] [stdout] 50 + let mut app = Server::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "params") due to 22 previous errors [INFO] [stderr] error: could not compile `envoy_http` (test "nested") due to 17 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | ctx: &mut envoy::Context, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | next: envoy::Next, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | async fn echo_path(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | async fn echo_path(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | async fn route_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | async fn app_and_route_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | async fn nested_app_with_route_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut inner = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | async fn subroute_not_nested() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/route_middleware.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603. [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 crate or module `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | async fn call(&self, ctx: &mut envoy::Context) -> Result, Error> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | async fn add_one(ctx: &mut Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | async fn add_two(ctx: &mut Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | async fn echo_param(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "route_middleware") due to 21 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | async fn echo_param(ctx: &mut envoy::Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | async fn echo_wildcard(ctx: &mut Context) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | async fn param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | async fn invalid_segment_error() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | async fn not_found_error() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | async fn wildcard() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | async fn multi_param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | async fn wildcard_last_segment() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | async fn ambiguous_router_wildcard_vs_star() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `envoy` [INFO] [stdout] --> tests/wildcard.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `envoy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "wildcard") due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "e1b5f36adc2da875ad9696cfd8509ccc97c41482564b73cce5072b77d5af16c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b5f36adc2da875ad9696cfd8509ccc97c41482564b73cce5072b77d5af16c5", kill_on_drop: false }` [INFO] [stdout] e1b5f36adc2da875ad9696cfd8509ccc97c41482564b73cce5072b77d5af16c5