[INFO] fetching crate typed-session-axum 0.3.0... [INFO] building typed-session-axum-0.3.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate typed-session-axum 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate typed-session-axum 0.3.0 [INFO] finished tweaking crates.io crate typed-session-axum 0.3.0 [INFO] tweaked toml for crates.io crate typed-session-axum 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate typed-session-axum 0.3.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.5) [INFO] [stderr] Adding axum-extra v0.9.6 (available: v0.10.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secure-string v0.3.0 [INFO] [stderr] Downloaded typed-session v0.9.0 [INFO] [stderr] Downloaded axum-extra v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b177866a2a9a32320663412bf68e0e540fe12db0be71f55fdca19af6069cac6 [INFO] running `Command { std: "docker" "start" "-a" "6b177866a2a9a32320663412bf68e0e540fe12db0be71f55fdca19af6069cac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b177866a2a9a32320663412bf68e0e540fe12db0be71f55fdca19af6069cac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b177866a2a9a32320663412bf68e0e540fe12db0be71f55fdca19af6069cac6", kill_on_drop: false }` [INFO] [stdout] 6b177866a2a9a32320663412bf68e0e540fe12db0be71f55fdca19af6069cac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e1e962f8309490941bb43d43ea7c0723cbf3469feb78d49661fe5289fef272 [INFO] running `Command { std: "docker" "start" "-a" "b6e1e962f8309490941bb43d43ea7c0723cbf3469feb78d49661fe5289fef272", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling secure-string v0.3.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling typed-session v0.9.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling typed-session-axum v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tower::ServiceExt` [INFO] [stdout] --> src/session/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use tower::{Layer, Service, ServiceExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ServiceExt` in the root [INFO] [stdout] | help: a similar name exists in the module: `Service` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] axum::ServiceExt [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.4.13/src/lib.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(feature = "util")] [INFO] [stdout] | ---------------- the item is gated behind the `util` feature [INFO] [stdout] ... [INFO] [stdout] 223 | pub use self::util::{service_fn, ServiceExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `oneshot` found for type parameter `Inner` in the current scope [INFO] [stdout] --> src/session/mod.rs:349:18 [INFO] [stdout] | [INFO] [stdout] 291 | Inner: 'static, [INFO] [stdout] | ----- method `oneshot` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 348 | let mut response = inner [INFO] [stdout] | ________________________________- [INFO] [stdout] 349 | | .oneshot(request) [INFO] [stdout] | |_________________-^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/util/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn oneshot(self, req: Request) -> Oneshot [INFO] [stdout] | ------- the method is available for `Inner` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ready_oneshot` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-0.5.2/src/util/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / fn ready_oneshot(self) -> ReadyOneshot [INFO] [stdout] 82 | | where [INFO] [stdout] 83 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: trait `ServiceExt` which provides `oneshot` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use tower::util::ServiceExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/session/mod.rs:351:18 [INFO] [stdout] | [INFO] [stdout] 351 | .map_err(SessionLayerError::Inner)?; [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `typed-session-axum` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b6e1e962f8309490941bb43d43ea7c0723cbf3469feb78d49661fe5289fef272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e1e962f8309490941bb43d43ea7c0723cbf3469feb78d49661fe5289fef272", kill_on_drop: false }` [INFO] [stdout] b6e1e962f8309490941bb43d43ea7c0723cbf3469feb78d49661fe5289fef272