[INFO] cloning repository https://github.com/justomat/axum-oauth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justomat/axum-oauth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustomat%2Faxum-oauth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustomat%2Faxum-oauth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f081eff286592d44c53e48646816a919d95d5f0 [INFO] testing justomat/axum-oauth against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustomat%2Faxum-oauth" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/justomat/axum-oauth [INFO] finished tweaking git repo https://github.com/justomat/axum-oauth [INFO] tweaked toml for git repo https://github.com/justomat/axum-oauth written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justomat/axum-oauth on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/justomat/axum-oauth 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6566a99037dc0e203ff8312513f7a1f607d14c5681e0b34b7b53915405ec39a [INFO] running `Command { std: "docker" "start" "-a" "f6566a99037dc0e203ff8312513f7a1f607d14c5681e0b34b7b53915405ec39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6566a99037dc0e203ff8312513f7a1f607d14c5681e0b34b7b53915405ec39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6566a99037dc0e203ff8312513f7a1f607d14c5681e0b34b7b53915405ec39a", kill_on_drop: false }` [INFO] [stdout] f6566a99037dc0e203ff8312513f7a1f607d14c5681e0b34b7b53915405ec39a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fa7cb82c8f043d10d0af462874080e1588dfbd7723653e08dac168f3e78b9f5 [INFO] running `Command { std: "docker" "start" "-a" "4fa7cb82c8f043d10d0af462874080e1588dfbd7723653e08dac168f3e78b9f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cuid-util v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling cuid2 v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.4.4 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling axum-oauth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | (params): Query, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - (params): Query, [INFO] [stdout] 13 + params : Query, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ServeDir: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | .nest_service("/", get_service(ServeDir::new("./"))) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `ServeDir` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `ServeDir` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.4.4/src/services/fs/serve_dir/mod.rs:423:1 [INFO] [stdout] | [INFO] [stdout] 423 | / impl Service> for ServeDir [INFO] [stdout] 424 | | where [INFO] [stdout] 425 | | F: Service, Response = Response, Error = Infallible> + Clone, [INFO] [stdout] 426 | | F::Future: Send + 'static, [INFO] [stdout] 427 | | FResBody: http_body::Body + Send + 'static, [INFO] [stdout] 428 | | FResBody::Error: Into>, [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `http::request::Request<_>`, found `axum::http::Request` [INFO] [stdout] note: required by a bound in `get_service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | T: Service + Clone + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `get_service` [INFO] [stdout] ... [INFO] [stdout] 282 | top_level_service_fn!(get_service, GET); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: this error originates in the macro `top_level_service_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-oauth` (bin "axum-oauth") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0277]: the trait bound `ServeDir: tower_service::Service>` is not satisfied [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | .nest_service("/", get_service(ServeDir::new("./"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_service::Service>` is not implemented for `ServeDir` [INFO] [stdout] | [INFO] [stdout] help: the trait `Service>` is not implemented for `ServeDir` [INFO] [stdout] but trait `Service>` is implemented for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.4.4/src/services/fs/serve_dir/mod.rs:423:1 [INFO] [stdout] | [INFO] [stdout] 423 | / impl Service> for ServeDir [INFO] [stdout] 424 | | where [INFO] [stdout] 425 | | F: Service, Response = Response, Error = Infallible> + Clone, [INFO] [stdout] 426 | | F::Future: Send + 'static, [INFO] [stdout] 427 | | FResBody: http_body::Body + Send + 'static, [INFO] [stdout] 428 | | FResBody::Error: Into>, [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] = help: for that trait implementation, expected `http::request::Request<_>`, found `axum::http::Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fa7cb82c8f043d10d0af462874080e1588dfbd7723653e08dac168f3e78b9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa7cb82c8f043d10d0af462874080e1588dfbd7723653e08dac168f3e78b9f5", kill_on_drop: false }` [INFO] [stdout] 4fa7cb82c8f043d10d0af462874080e1588dfbd7723653e08dac168f3e78b9f5