[INFO] cloning repository https://github.com/n4to4/axum-playground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n4to4/axum-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Faxum-playground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Faxum-playground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d596395b64c8a58ba6aa6b83c7648e3e4c0c04f0
[INFO] checking n4to4/axum-playground against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Faxum-playground" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/n4to4/axum-playground on toolchain 16b569057e4d1591b4bee05f10df34000308dedc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/n4to4/axum-playground
[INFO] finished tweaking git repo https://github.com/n4to4/axum-playground
[INFO] tweaked toml for git repo https://github.com/n4to4/axum-playground written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/n4to4/axum-playground 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded instant v0.1.10
[INFO] [stderr] Downloaded tokio-macros v1.3.0
[INFO] [stderr] Downloaded futures-sink v0.3.16
[INFO] [stderr] Downloaded futures-task v0.3.16
[INFO] [stderr] Downloaded futures-core v0.3.16
[INFO] [stderr] Downloaded futures-macro v0.3.16
[INFO] [stderr] Downloaded futures-channel v0.3.16
[INFO] [stderr] Downloaded socket2 v0.4.1
[INFO] [stderr] Downloaded pin-project-internal v1.0.8
[INFO] [stderr] Downloaded pin-project v1.0.8
[INFO] [stderr] Downloaded axum v0.1.1
[INFO] [stderr] Downloaded tower v0.4.8
[INFO] [stderr] Downloaded syn v1.0.74
[INFO] [stderr] Downloaded futures-util v0.3.16
[INFO] [stderr] Downloaded mio v0.7.13
[INFO] [stderr] Downloaded hyper v0.14.11
[INFO] [stderr] Downloaded tower-http v0.1.1
[INFO] [stderr] Downloaded tokio v1.9.0
[INFO] [stderr] Downloaded libc v0.2.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de3a981731e8f5554e6f5d8ce909c3cfc4a852b5331a50b297d072ab30ebcbf4
[INFO] running `Command { std: "docker" "start" "-a" "de3a981731e8f5554e6f5d8ce909c3cfc4a852b5331a50b297d072ab30ebcbf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de3a981731e8f5554e6f5d8ce909c3cfc4a852b5331a50b297d072ab30ebcbf4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de3a981731e8f5554e6f5d8ce909c3cfc4a852b5331a50b297d072ab30ebcbf4", kill_on_drop: false }`
[INFO] [stdout] de3a981731e8f5554e6f5d8ce909c3cfc4a852b5331a50b297d072ab30ebcbf4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c13313d924ab995562e2ab53647c5f0709d207fa41a1096fd0c0ddbb8067b92
[INFO] running `Command { std: "docker" "start" "-a" "6c13313d924ab995562e2ab53647c5f0709d207fa41a1096fd0c0ddbb8067b92", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Compiling libc v0.2.98
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling futures-core v0.3.16
[INFO] [stderr] Checking pin-project-lite v0.2.7
[INFO] [stderr] Checking instant v0.1.10
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling futures-macro v0.3.16
[INFO] [stderr] Compiling tokio v1.9.0
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Checking lock_api v0.4.4
[INFO] [stderr] Compiling futures-task v0.3.16
[INFO] [stderr] Compiling proc-macro-nested v0.1.7
[INFO] [stderr] Compiling futures-util v0.3.16
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Checking futures-sink v0.3.16
[INFO] [stderr] Checking slab v0.4.3
[INFO] [stderr] Compiling serde_derive v1.0.126
[INFO] [stderr] Checking tracing-core v0.1.18
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling serde v1.0.126
[INFO] [stderr] Compiling futures-channel v0.3.16
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Compiling httparse v1.4.1
[INFO] [stderr] Compiling async-trait v0.1.51
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Checking tower-layer v0.3.1
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Compiling serde_json v1.0.66
[INFO] [stderr] Checking want v0.3.0
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking http v0.2.4
[INFO] [stderr] Checking httpdate v1.0.1
[INFO] [stderr] Checking regex-syntax v0.6.25
[INFO] [stderr] Checking aho-corasick v0.7.18
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling mime_guess v2.0.3
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking signal-hook-registry v1.4.0
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking mio v0.7.13
[INFO] [stderr] Checking socket2 v0.4.1
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Checking http-body v0.4.2
[INFO] [stderr] Checking regex v1.5.4
[INFO] [stderr] Compiling tokio-macros v1.3.0
[INFO] [stderr] Compiling tracing-attributes v0.1.15
[INFO] [stderr] Compiling pin-project-internal v1.0.8
[INFO] [stderr] Checking tracing v0.1.26
[INFO] [stderr] Checking pin-project v1.0.8
[INFO] [stderr] Checking tokio-util v0.6.7
[INFO] [stderr] Checking h2 v0.3.3
[INFO] [stderr] Checking tower-http v0.1.1
[INFO] [stderr] Checking tower v0.4.8
[INFO] [stderr] Checking serde_urlencoded v0.7.0
[INFO] [stderr] Checking hyper v0.14.11
[INFO] [stderr] Checking axum v0.1.1
[INFO] [stderr] Checking axum-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `username` is never read
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | struct CreateUser {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] 15 | username: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CreateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `username` is never read
[INFO] [stdout] --> src/main.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 14 | struct CreateUser {
[INFO] [stdout] | ---------- field in this struct
[INFO] [stdout] 15 | username: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CreateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.12s
[INFO] running `Command { std: "docker" "inspect" "6c13313d924ab995562e2ab53647c5f0709d207fa41a1096fd0c0ddbb8067b92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c13313d924ab995562e2ab53647c5f0709d207fa41a1096fd0c0ddbb8067b92", kill_on_drop: false }`
[INFO] [stdout] 6c13313d924ab995562e2ab53647c5f0709d207fa41a1096fd0c0ddbb8067b92
[INFO] checking n4to4/axum-playground against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Faxum-playground" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/n4to4/axum-playground on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/n4to4/axum-playground
[INFO] finished tweaking git repo https://github.com/n4to4/axum-playground
[INFO] tweaked toml for git repo https://github.com/n4to4/axum-playground written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/n4to4/axum-playground 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f56c4f4636b7d8827b9e2d05470c61b7942ce1b2c3d4e3ac9a8b4bd7f8800f08
[INFO] running `Command { std: "docker" "start" "-a" "f56c4f4636b7d8827b9e2d05470c61b7942ce1b2c3d4e3ac9a8b4bd7f8800f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f56c4f4636b7d8827b9e2d05470c61b7942ce1b2c3d4e3ac9a8b4bd7f8800f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f56c4f4636b7d8827b9e2d05470c61b7942ce1b2c3d4e3ac9a8b4bd7f8800f08", kill_on_drop: false }`
[INFO] [stdout] f56c4f4636b7d8827b9e2d05470c61b7942ce1b2c3d4e3ac9a8b4bd7f8800f08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7dbb437b7db48169c010b387319c233f9c62e39df10f4486fab11d0a181bc22
[INFO] running `Command { std: "docker" "start" "-a" "e7dbb437b7db48169c010b387319c233f9c62e39df10f4486fab11d0a181bc22", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Compiling libc v0.2.98
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Checking pin-project-lite v0.2.7
[INFO] [stderr] Compiling futures-core v0.3.16
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Compiling proc-macro-nested v0.1.7
[INFO] [stderr] Checking instant v0.1.10
[INFO] [stderr] Compiling tokio v1.9.0
[INFO] [stderr] Checking lock_api v0.4.4
[INFO] [stderr] Compiling futures-macro v0.3.16
[INFO] [stderr] Compiling futures-task v0.3.16
[INFO] [stderr] Compiling futures-util v0.3.16
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Checking futures-sink v0.3.16
[INFO] [stderr] Checking slab v0.4.3
[INFO] [stderr] Compiling serde_derive v1.0.126
[INFO] [stderr] Checking tracing-core v0.1.18
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Compiling ryu v1.0.5
[INFO] [stderr] Compiling serde v1.0.126
[INFO] [stderr] Compiling futures-channel v0.3.16
[INFO] [stderr] Compiling httparse v1.4.1
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Checking tower-layer v0.3.1
[INFO] [stderr] Compiling async-trait v0.1.51
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Compiling serde_json v1.0.66
[INFO] [stderr] Checking want v0.3.0
[INFO] [stderr] Checking http v0.2.4
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking regex-syntax v0.6.25
[INFO] [stderr] Checking httpdate v1.0.1
[INFO] [stderr] Checking aho-corasick v0.7.18
[INFO] [stderr] Compiling mime_guess v2.0.3
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking signal-hook-registry v1.4.0
[INFO] [stderr] Checking mio v0.7.13
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking socket2 v0.4.1
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Checking http-body v0.4.2
[INFO] [stderr] Checking regex v1.5.4
[INFO] [stderr] Compiling tokio-macros v1.3.0
[INFO] [stderr] Compiling tracing-attributes v0.1.15
[INFO] [stderr] Compiling pin-project-internal v1.0.8
[INFO] [stderr] Checking tracing v0.1.26
[INFO] [stderr] Checking pin-project v1.0.8
[INFO] [stderr] Checking tokio-util v0.6.7
[INFO] [stderr] Checking h2 v0.3.3
[INFO] [stderr] Checking tower-http v0.1.1
[INFO] [stderr] Checking tower v0.4.8
[INFO] [stderr] Checking serde_urlencoded v0.7.0
[INFO] [stderr] Checking hyper v0.14.11
[INFO] [stderr] Checking axum v0.1.1
[INFO] [stderr] Checking axum-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:53:26
[INFO] [stdout] |
[INFO] [stdout] 53 | service::any(service_fn(|_: Request
| async {
[INFO] [stdout] | _____________------------_^
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound introduced by this call
[INFO] [stdout] 54 | | let res = Response::new(Body::from("Hi from GET /root"));
[INFO] [stdout] 55 | | Ok::<_, Infallible>(res)
[INFO] [stdout] 56 | | })),
[INFO] [stdout] | |______________^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] note: required by a bound in `axum::service::any`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/service/mod.rs:114:30
[INFO] [stdout] |
[INFO] [stdout] 112 | pub fn any(svc: S) -> OnMethod, EmptyRouter>
[INFO] [stdout] | --- required by a bound in this function
[INFO] [stdout] 113 | where
[INFO] [stdout] 114 | S: Service> + Clone,
[INFO] [stdout] | ^^^^^ required by this bound in `any`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 53 | service::any(&service_fn(|_: Request| async {
[INFO] [stdout] | +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:53:26
[INFO] [stdout] |
[INFO] [stdout] 53 | service::any(service_fn(|_: Request| async {
[INFO] [stdout] | _____________------------_^
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound introduced by this call
[INFO] [stdout] 54 | | let res = Response::new(Body::from("Hi from GET /root"));
[INFO] [stdout] 55 | | Ok::<_, Infallible>(res)
[INFO] [stdout] 56 | | })),
[INFO] [stdout] | |______________^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] note: required by a bound in `axum::service::any`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/service/mod.rs:114:30
[INFO] [stdout] |
[INFO] [stdout] 112 | pub fn any(svc: S) -> OnMethod, EmptyRouter>
[INFO] [stdout] | --- required by a bound in this function
[INFO] [stdout] 113 | where
[INFO] [stdout] 114 | S: Service> + Clone,
[INFO] [stdout] | ^^^^^ required by this bound in `any`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 53 | service::any(&service_fn(|_: Request| async {
[INFO] [stdout] | +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:53:13
[INFO] [stdout] |
[INFO] [stdout] 51 | .route(
[INFO] [stdout] | ----- required by a bound introduced by this call
[INFO] [stdout] 52 | "/root",
[INFO] [stdout] 53 | / service::any(service_fn(|_: Request| async {
[INFO] [stdout] 54 | | let res = Response::new(Body::from("Hi from GET /root"));
[INFO] [stdout] 55 | | Ok::<_, Infallible>(res)
[INFO] [stdout] 56 | | })),
[INFO] [stdout] | |_______________^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] = note: required for `BoxResponseBody, hyper::Body>` to implement `Service>`
[INFO] [stdout] = note: 1 redundant requirement hidden
[INFO] [stdout] = note: required for `axum::service::OnMethod, hyper::Body>, EmptyRouter>` to implement `Service>`
[INFO] [stdout] note: required by a bound in `axum::routing::RoutingDsl::route`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/routing.rs:113:12
[INFO] [stdout] |
[INFO] [stdout] 111 | fn route(self, description: &str, svc: T) -> Route
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 112 | where
[INFO] [stdout] 113 | T: Service> + Clone,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `RoutingDsl::route`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 53 | &service::any(service_fn(|_: Request| async {
[INFO] [stdout] | +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:53:13
[INFO] [stdout] |
[INFO] [stdout] 51 | .route(
[INFO] [stdout] | ----- required by a bound introduced by this call
[INFO] [stdout] 52 | "/root",
[INFO] [stdout] 53 | / service::any(service_fn(|_: Request| async {
[INFO] [stdout] 54 | | let res = Response::new(Body::from("Hi from GET /root"));
[INFO] [stdout] 55 | | Ok::<_, Infallible>(res)
[INFO] [stdout] 56 | | })),
[INFO] [stdout] | |_______________^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] = note: required for `BoxResponseBody, hyper::Body>` to implement `Service>`
[INFO] [stdout] = note: 1 redundant requirement hidden
[INFO] [stdout] = note: required for `axum::service::OnMethod, hyper::Body>, EmptyRouter>` to implement `Service>`
[INFO] [stdout] note: required by a bound in `axum::routing::RoutingDsl::route`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/routing.rs:113:12
[INFO] [stdout] |
[INFO] [stdout] 111 | fn route(self, description: &str, svc: T) -> Route
[INFO] [stdout] | ----- required by a bound in this associated function
[INFO] [stdout] 112 | where
[INFO] [stdout] 113 | T: Service> + Clone,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `RoutingDsl::route`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 53 | &service::any(service_fn(|_: Request| async {
[INFO] [stdout] | +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:61:20
[INFO] [stdout] |
[INFO] [stdout] 61 | .serve(app.into_make_service())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] = note: 3 redundant requirements hidden
[INFO] [stdout] = note: required for `Route, Body>, EmptyRouter>, Route<..., ...>>` to implement `Clone`
[INFO] [stdout] note: required by a bound in `into_make_service`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/routing.rs:266:15
[INFO] [stdout] |
[INFO] [stdout] 264 | fn into_make_service(self) -> tower::make::Shared
[INFO] [stdout] | ----------------- required by a bound in this associated function
[INFO] [stdout] 265 | where
[INFO] [stdout] 266 | Self: Clone,
[INFO] [stdout] | ^^^^^ required by this bound in `RoutingDsl::into_make_service`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum_playground-4cc1cc238d7168ff.long-type-7048969889360227241.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 61 | .serve((&app).into_make_service())
[INFO] [stdout] | ++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:61:20
[INFO] [stdout] |
[INFO] [stdout] 61 | .serve(app.into_make_service())
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>`
[INFO] [stdout] |
[INFO] [stdout] = note: required for `ServiceFn<{async closure@src/main.rs:53:37: 53:55}>` to implement `Clone`
[INFO] [stdout] = note: 3 redundant requirements hidden
[INFO] [stdout] = note: required for `Route, Body>, EmptyRouter>, Route<..., ...>>` to implement `Clone`
[INFO] [stdout] note: required by a bound in `into_make_service`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-0.1.1/src/routing.rs:266:15
[INFO] [stdout] |
[INFO] [stdout] 264 | fn into_make_service(self) -> tower::make::Shared
[INFO] [stdout] | ----------------- required by a bound in this associated function
[INFO] [stdout] 265 | where
[INFO] [stdout] 266 | Self: Clone,
[INFO] [stdout] | ^^^^^ required by this bound in `RoutingDsl::into_make_service`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/axum_playground-951c468f1fadf0f1.long-type-16429781070030070946.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout] |
[INFO] [stdout] 61 | .serve((&app).into_make_service())
[INFO] [stdout] | ++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `{async closure@src/main.rs:53:37: 53:55}: Clone` is not satisfied
[INFO] [stdout] --> src/main.rs:61:10
[INFO] [stdout] |
[INFO] [stdout] 61 | .serve(app.into_make_service())
[INFO] [stdout] | ^^^^^ the trait `Clone` is not implemented for `{async closure@src/main.rs:53:37: 53:55}`, which is required by `Shared, hyper::Body>, EmptyRouter>, Route impl Future