[INFO] cloning repository https://github.com/nwrenger/server-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nwrenger/server-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwrenger%2Fserver-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwrenger%2Fserver-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b144560ccaee778d93e95732c6f66a711c138be3 [INFO] testing nwrenger/server-test against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwrenger%2Fserver-test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nwrenger/server-test [INFO] finished tweaking git repo https://github.com/nwrenger/server-test [INFO] tweaked toml for git repo https://github.com/nwrenger/server-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nwrenger/server-test on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.6) [INFO] [stderr] Adding maud v0.26.0 (available: v0.27.0) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c595a78ef3252bcc7e626345619cbccd5766f0d9d3ee74a2c7adfde90ae6701 [INFO] running `Command { std: "docker" "start" "-a" "5c595a78ef3252bcc7e626345619cbccd5766f0d9d3ee74a2c7adfde90ae6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c595a78ef3252bcc7e626345619cbccd5766f0d9d3ee74a2c7adfde90ae6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c595a78ef3252bcc7e626345619cbccd5766f0d9d3ee74a2c7adfde90ae6701", kill_on_drop: false }` [INFO] [stdout] 5c595a78ef3252bcc7e626345619cbccd5766f0d9d3ee74a2c7adfde90ae6701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb803d03541f704da53bbb4a3aa6ed7cf826bfe17b45b37430d63de59f6c1bc [INFO] running `Command { std: "docker" "start" "-a" "7eb803d03541f704da53bbb4a3aa6ed7cf826bfe17b45b37430d63de59f6c1bc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling maud_macros v0.26.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling maud v0.26.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling server-tester v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tower::util` [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use tower::util::ServiceExt; [INFO] [stdout] | ^^^^ could not find `util` in `tower` [INFO] [stdout] | [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:215:9 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg(feature = "util")] [INFO] [stdout] | ---------------- the item is gated behind the `util` feature [INFO] [stdout] 214 | #[cfg_attr(docsrs, doc(cfg(feature = "util")))] [INFO] [stdout] 215 | pub mod util; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use clap::{arg, command, Parser}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `oneshot` found for struct `ServeFile` in the current scope [INFO] [stdout] --> src/main.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 134 | / ServeFile::new(path) [INFO] [stdout] 135 | | .oneshot(req) [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 `ServeFile` 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] 1 + use tower::util::ServiceExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / ServeFile::new(path) [INFO] [stdout] 135 | | .oneshot(req) [INFO] [stdout] 136 | | .await [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 `server-tester` (bin "server-tester") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7eb803d03541f704da53bbb4a3aa6ed7cf826bfe17b45b37430d63de59f6c1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb803d03541f704da53bbb4a3aa6ed7cf826bfe17b45b37430d63de59f6c1bc", kill_on_drop: false }` [INFO] [stdout] 7eb803d03541f704da53bbb4a3aa6ed7cf826bfe17b45b37430d63de59f6c1bc