[INFO] fetching crate tower-async-http 0.2.0... [INFO] testing tower-async-http-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tower-async-http 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate tower-async-http 0.2.0 [INFO] finished tweaking crates.io crate tower-async-http 0.2.0 [INFO] tweaked toml for crates.io crate tower-async-http 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-async-http 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-async-http 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime_guess` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.1 [INFO] [stderr] Downloaded event-listener-strategy v0.3.0 [INFO] [stderr] Downloaded hyper v1.0.1 [INFO] [stderr] Downloaded h2 v0.4.0 [INFO] [stderr] Downloaded tower-async-service v0.2.0 [INFO] [stderr] Downloaded tower-async-layer v0.2.0 [INFO] [stderr] Downloaded tower-async v0.2.0 [INFO] [stderr] Downloaded async-lock v3.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 515685c5e06912051c021a83ea1ea07c1e9ef83af617ef5b509e145dac3779ec [INFO] running `Command { std: "docker" "start" "-a" "515685c5e06912051c021a83ea1ea07c1e9ef83af617ef5b509e145dac3779ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "515685c5e06912051c021a83ea1ea07c1e9ef83af617ef5b509e145dac3779ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515685c5e06912051c021a83ea1ea07c1e9ef83af617ef5b509e145dac3779ec", kill_on_drop: false }` [INFO] [stdout] 515685c5e06912051c021a83ea1ea07c1e9ef83af617ef5b509e145dac3779ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b917d4ee6cb4a03b8a476f4f596b7e357985293941b7050c845e7534881802f [INFO] running `Command { std: "docker" "start" "-a" "1b917d4ee6cb4a03b8a476f4f596b7e357985293941b7050c845e7534881802f", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime_guess` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling tower-async-service v0.2.0 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling tower-async-layer v0.2.0 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling event-listener-strategy v0.3.0 [INFO] [stderr] Compiling async-lock v3.1.1 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling tower-async-http v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "1b917d4ee6cb4a03b8a476f4f596b7e357985293941b7050c845e7534881802f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b917d4ee6cb4a03b8a476f4f596b7e357985293941b7050c845e7534881802f", kill_on_drop: false }` [INFO] [stdout] 1b917d4ee6cb4a03b8a476f4f596b7e357985293941b7050c845e7534881802f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d5cdbb0b5b03706f35cba2beffe8eb5ec686607d58d15a7d1aecb2da625ed66 [INFO] running `Command { std: "docker" "start" "-a" "5d5cdbb0b5b03706f35cba2beffe8eb5ec686607d58d15a7d1aecb2da625ed66", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mime_guess` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tracing` dependency) [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling clap_builder v4.4.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling clap v4.4.8 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling tower-async-http v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Sealed` is never used [INFO] [stdout] --> src/lib.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 361 | pub trait Sealed {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling hyper v1.0.1 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/axum-http-server/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{response::IntoResponse, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> examples/axum-http-server/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{response::IntoResponse, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_async` [INFO] [stdout] --> examples/axum-http-server/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_async::{Layer, Service, ServiceBuilder}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_async`, use `cargo add tower_async` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_async_bridge` [INFO] [stdout] --> examples/axum-http-server/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower_async_bridge::ClassicLayerExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async_bridge` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use tower_async_bridge::ClassicLayerExt; [INFO] [stdout] 6 + use tower_async_service::ClassicLayerExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] --> src/classify/mod.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | use tower_async::retry::Policy; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_async`, use `cargo add tower_async` 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 `axum` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` 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 `tower_async` [INFO] [stdout] --> examples/hyper-http-server/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tower_async::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_async`, use `cargo add tower_async` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tower_async_http::trace`, `tower_async_http::ServiceBuilderExt` [INFO] [stdout] --> examples/hyper-http-server/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | trace::{DefaultMakeSpan, DefaultOnResponse, TraceLayer}, [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_async_http` [INFO] [stdout] 22 | LatencyUnit, ServiceBuilderExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ServiceBuilderExt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(feature = "trace")] [INFO] [stdout] | ----------------- the item is gated behind the `trace` feature [INFO] [stdout] 303 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "util")] [INFO] [stdout] | ---------------- the item is gated behind the `util` feature [INFO] [stdout] 336 | #[doc(inline)] [INFO] [stdout] 337 | pub use self::builder::ServiceBuilderExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-async-http` (example "axum-http-server") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tower_async` [INFO] [stdout] --> examples/hyper-http-server/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tower_async::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_async`, use `cargo add tower_async` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_async_hyper` [INFO] [stdout] --> examples/hyper-http-server/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tower_async_hyper::{HyperBody, TowerHyperServiceExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async_hyper` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - use tower_async_hyper::{HyperBody, TowerHyperServiceExt}; [INFO] [stdout] 24 + use tower_async_layer::{HyperBody, TowerHyperServiceExt}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tower_async_http::timeout`, `tower_async_http::trace`, `tower_async_http::ServiceBuilderExt` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | timeout::TimeoutLayer, [INFO] [stdout] | ^^^^^^^ could not find `timeout` in `tower_async_http` [INFO] [stdout] 21 | trace::{DefaultMakeSpan, DefaultOnResponse, TraceLayer}, [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_async_http` [INFO] [stdout] 22 | LatencyUnit, ServiceBuilderExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ServiceBuilderExt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 323 | #[cfg(feature = "timeout")] [INFO] [stdout] | ------------------- the item is gated behind the `timeout` feature [INFO] [stdout] 324 | pub mod timeout; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(feature = "trace")] [INFO] [stdout] | ----------------- the item is gated behind the `trace` feature [INFO] [stdout] 303 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "util")] [INFO] [stdout] | ---------------- the item is gated behind the `util` feature [INFO] [stdout] 336 | #[doc(inline)] [INFO] [stdout] 337 | pub use self::builder::ServiceBuilderExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_async` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tower_async::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_async`, use `cargo add tower_async` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tower_async_bridge` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tower_async_bridge::ClassicLayerExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tower_async_bridge` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - use tower_async_bridge::ClassicLayerExt; [INFO] [stdout] 18 + use tower_async_service::ClassicLayerExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> examples/axum-http-server/main.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | fn layer(&self, service: S) -> Self::Service { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 68 - fn layer(&self, service: S) -> Self::Service { [INFO] [stdout] 68 + fn layer(&self, service: S) -> ::Service { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/axum-http-server/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | axum::serve(listener, app().into_make_service()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/axum-key-value-store/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | axum::serve(listener, app().into_make_service()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` 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 `tower-async-http` (lib test) due to 1 previous error [INFO] [stderr] error: could not compile `tower-async-http` (example "hyper-http-server") due to 4 previous errors [INFO] [stderr] error: could not compile `tower-async-http` (example "axum-key-value-store") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "5d5cdbb0b5b03706f35cba2beffe8eb5ec686607d58d15a7d1aecb2da625ed66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d5cdbb0b5b03706f35cba2beffe8eb5ec686607d58d15a7d1aecb2da625ed66", kill_on_drop: false }` [INFO] [stdout] 5d5cdbb0b5b03706f35cba2beffe8eb5ec686607d58d15a7d1aecb2da625ed66