[INFO] fetching crate envoy_http 0.2.2... [INFO] testing envoy_http-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate envoy_http 0.2.2 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate envoy_http 0.2.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310d5e58984b653a6e63b0dac3c47b3c6fd08b4318ef748cb357e9142a0cded4 [INFO] running `Command { std: "docker" "start" "-a" "310d5e58984b653a6e63b0dac3c47b3c6fd08b4318ef748cb357e9142a0cded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310d5e58984b653a6e63b0dac3c47b3c6fd08b4318ef748cb357e9142a0cded4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310d5e58984b653a6e63b0dac3c47b3c6fd08b4318ef748cb357e9142a0cded4", kill_on_drop: false }` [INFO] [stdout] 310d5e58984b653a6e63b0dac3c47b3c6fd08b4318ef748cb357e9142a0cded4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27809301f1d60ac3edf0c6ae4ac89f6f80ccbc68f76acbbc0ce492fc90a86eae [INFO] running `Command { std: "docker" "start" "-a" "27809301f1d60ac3edf0c6ae4ac89f6f80ccbc68f76acbbc0ce492fc90a86eae", kill_on_drop: false }` [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async_fn_traits v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling smartcow v0.2.1 [INFO] [stderr] Compiling routefinder v0.5.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling 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 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: `docsrs`, `feature`, and `test` and 31 more [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.66s [INFO] running `Command { std: "docker" "inspect" "27809301f1d60ac3edf0c6ae4ac89f6f80ccbc68f76acbbc0ce492fc90a86eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27809301f1d60ac3edf0c6ae4ac89f6f80ccbc68f76acbbc0ce492fc90a86eae", kill_on_drop: false }` [INFO] [stdout] 27809301f1d60ac3edf0c6ae4ac89f6f80ccbc68f76acbbc0ce492fc90a86eae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11f808c6712fe6405f73d0dbfffa8b8cc1b439d3d1816bad19f962dc73f947a7 [INFO] running `Command { std: "docker" "start" "-a" "11f808c6712fe6405f73d0dbfffa8b8cc1b439d3d1816bad19f962dc73f947a7", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling logtest v2.0.0 [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: `docsrs`, `feature`, and `test` and 31 more [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] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling 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 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: `docsrs`, `feature`, and `test` and 31 more [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] 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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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::HeaderName; [INFO] [stdout] 2 + use hyper::headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 2 - use hyper::headers::HeaderName; [INFO] [stdout] 2 + use hyper::header::HeaderName; [INFO] [stdout] | [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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envoy_http` (test "test_utils") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let mut inner = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | let mut outer = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut inner_app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let mut outer = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [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) [INFO] [stdout] | [INFO] [stdout] 7 - Ok(ctx.res.set_status(hyper::StatusCode::Ok)) [INFO] [stdout] 7 + Ok(ctx.res.set_status(hyper::StatusCode::OK)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut inner = envoy::with_state(42); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/params.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let mut server = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | let mut app = envoy::Server::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | async fn param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | async fn invalid_segment_error() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | async fn not_found_error() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | async fn wildcard() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | async fn multi_param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | async fn wildcard_last_segment() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/wildcard.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | async fn nested() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `envoy_http` (test "wildcard") due to 25 previous errors [INFO] [stderr] error: could not compile `envoy_http` (test "nested") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/nested.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | async fn nested_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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 unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/params.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let mut server = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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[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[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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] 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-1949cf8c6b5b557f/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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/params.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | async fn test_missing_param() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/params.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | async fn hello_world_parametrized() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `envoy_http` (test "params") due to 21 previous errors [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-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | mod headers; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/function_middleware.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/function_middleware.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/function_middleware.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | ctx: &mut envoy::Context, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/function_middleware.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | next: envoy::Next, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/function_middleware.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | ctx: &mut envoy::Context, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | next: envoy::Next, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | async fn route_middleware() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let mut inner = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/route_middleware.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [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] [stderr] error: could not compile `envoy_http` (test "function_middleware") due to 19 previous errors [INFO] [stderr] error: could not compile `envoy_http` (test "route_middleware") due to 20 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/test_utils.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerTestingExt for envoy::Server { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hello_world() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | async fn echo_server() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | async fn json() -> envoy::Result { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envoy` [INFO] [stdout] --> tests/server.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let mut app = envoy::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `envoy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `envoy`, use `cargo add envoy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `surf` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `surf`, use `cargo add surf` to add it to your `Cargo.toml` [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 20 previous errors [INFO] running `Command { std: "docker" "inspect" "11f808c6712fe6405f73d0dbfffa8b8cc1b439d3d1816bad19f962dc73f947a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f808c6712fe6405f73d0dbfffa8b8cc1b439d3d1816bad19f962dc73f947a7", kill_on_drop: false }` [INFO] [stdout] 11f808c6712fe6405f73d0dbfffa8b8cc1b439d3d1816bad19f962dc73f947a7