[INFO] fetching crate lieweb 0.2.0... [INFO] checking lieweb-0.2.0 against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] extracting crate lieweb 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate lieweb 0.2.0 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 crates.io crate lieweb 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lieweb 0.2.0 [INFO] tweaked toml for crates.io crate lieweb 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate lieweb 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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls v0.23.4 [INFO] [stderr] Downloaded pathrouter v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f23dc5290a81a68b6643702013fe94673935c3a1252007f6dfd415e6d7b13a78 [INFO] running `Command { std: "docker" "start" "-a" "f23dc5290a81a68b6643702013fe94673935c3a1252007f6dfd415e6d7b13a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f23dc5290a81a68b6643702013fe94673935c3a1252007f6dfd415e6d7b13a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23dc5290a81a68b6643702013fe94673935c3a1252007f6dfd415e6d7b13a78", kill_on_drop: false }` [INFO] [stdout] f23dc5290a81a68b6643702013fe94673935c3a1252007f6dfd415e6d7b13a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3a040361f24c0a76cd7f94e540af33748def395f9337759f6ab50e870ef93c71 [INFO] running `Command { std: "docker" "start" "-a" "3a040361f24c0a76cd7f94e540af33748def395f9337759f6ab50e870ef93c71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking pathrouter v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking lieweb v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.78s [INFO] running `Command { std: "docker" "inspect" "3a040361f24c0a76cd7f94e540af33748def395f9337759f6ab50e870ef93c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a040361f24c0a76cd7f94e540af33748def395f9337759f6ab50e870ef93c71", kill_on_drop: false }` [INFO] [stdout] 3a040361f24c0a76cd7f94e540af33748def395f9337759f6ab50e870ef93c71 [INFO] checking lieweb-0.2.0 against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] extracting crate lieweb 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lieweb 0.2.0 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 crates.io crate lieweb 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lieweb 0.2.0 [INFO] tweaked toml for crates.io crate lieweb 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate lieweb 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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a0ac2155011dd5ba970c6ac0ee0b1d10579d40283ed321ee339fbc0d850f38df [INFO] running `Command { std: "docker" "start" "-a" "a0ac2155011dd5ba970c6ac0ee0b1d10579d40283ed321ee339fbc0d850f38df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ac2155011dd5ba970c6ac0ee0b1d10579d40283ed321ee339fbc0d850f38df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ac2155011dd5ba970c6ac0ee0b1d10579d40283ed321ee339fbc0d850f38df", kill_on_drop: false }` [INFO] [stdout] a0ac2155011dd5ba970c6ac0ee0b1d10579d40283ed321ee339fbc0d850f38df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9dc0dcd127046d26b9bcc3b4a80a9d1e000e896be3634a4d8ff03153ce89ce7d [INFO] running `Command { std: "docker" "start" "-a" "9dc0dcd127046d26b9bcc3b4a80a9d1e000e896be3634a4d8ff03153ce89ce7d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking pathrouter v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking lieweb v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/hello.rs:11:18: 11:20}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/hello.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | app.get("/", || async move { "Hello, world!" }); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_>` is not implemented for `{async closure@examples/hello.rs:11:18: 11:20}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | register_method!(get, http::Method::GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::get` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/nested.rs:57:43: 57:45}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/nested.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | app.register(http::Method::GET, "/a", || async move { "/a" }); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_>` is not implemented for `{async closure@examples/nested.rs:57:43: 57:45}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::register` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn register(&mut self, method: http::Method, path: impl AsRef, handler: H) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `App::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/hello.rs:14:29: 14:43}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/hello.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | app.get("/hello/:name", |req: Request| async move { [INFO] [stdout] | _________---_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 15 | | let name = req.get_param::("name"); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | format!("Hello, {:?}!", name) [INFO] [stdout] 18 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/hello.rs:14:29: 14:43}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | register_method!(get, http::Method::GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::get` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/nested.rs:71:47: 71:61}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/nested.rs:71:47 [INFO] [stdout] | [INFO] [stdout] 71 | posts.register(http::Method::GET, "/new", |req: Request| async move { [INFO] [stdout] | ___________--------____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 72 | | format!("on /posts/new, {}", req.path()) [INFO] [stdout] 73 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/nested.rs:71:47: 71:61}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::register` [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn register(&mut self, method: http::Method, path: impl AsRef, handler: H) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 85 | where [INFO] [stdout] 86 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Router::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/nested.rs:75:48: 75:62}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/nested.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | posts.register(http::Method::GET, "/edit", |req: Request| async move { [INFO] [stdout] | ___________--------_____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 76 | | format!("on /posts/edit, {}", req.path()) [INFO] [stdout] 77 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/nested.rs:75:48: 75:62}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::register` [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn register(&mut self, method: http::Method, path: impl AsRef, handler: H) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 85 | where [INFO] [stdout] 86 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Router::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/nested.rs:79:50: 79:64}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/nested.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | posts.register(http::Method::GET, "/delete", |req: Request| async move { [INFO] [stdout] | ___________--------_______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 80 | | format!("on /posts/delete, {}", req.path()) [INFO] [stdout] 81 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/nested.rs:79:50: 79:64}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::register` [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn register(&mut self, method: http::Method, path: impl AsRef, handler: H) [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 85 | where [INFO] [stdout] 86 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Router::register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/nested.rs:83:33: 83:35}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/nested.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | posts.set_not_found_handler(|| async move { [INFO] [stdout] | ___________---------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 84 | | LieResponse::with_html("posts handler Not Found").set_status(http::StatusCode::NOT_FOUND) [INFO] [stdout] 85 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/nested.rs:83:33: 83:35}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Router::set_not_found_handler` [INFO] [stdout] --> /opt/rustwide/workdir/src/router.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn set_not_found_handler(&mut self, handler: H) [INFO] [stdout] | --------------------- required by a bound in this associated function [INFO] [stdout] 122 | where [INFO] [stdout] 123 | H: Handler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Router::set_not_found_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lieweb` (example "hello") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lieweb` (example "nested") due to 6 previous errors [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/basic.rs:75:23: 75:25}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/basic.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | app.get("/hello", || async move { "hello, world!" }); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_>` is not implemented for `{async closure@examples/basic.rs:75:23: 75:25}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | register_method!(get, http::Method::GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::get` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/basic.rs:77:22: 77:24}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/basic.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | app.get("/json", || async move { [INFO] [stdout] | _________---__________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 78 | | let msg = HelloMessage { [INFO] [stdout] 79 | | message: "hello, world!".to_owned(), [INFO] [stdout] 80 | | }; [INFO] [stdout] 81 | | LieResponse::with_json(&msg) [INFO] [stdout] 82 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/basic.rs:77:22: 77:24}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | register_method!(get, http::Method::GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::get` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/basic.rs:86:33: 86:58}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/basic.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | app.post("/posts/:id/edit", |req: PathParam| async move { [INFO] [stdout] | _________----____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 87 | | let id: u32 = req.value().id; [INFO] [stdout] 88 | | format!("you are editing post<{}>", id) [INFO] [stdout] 89 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/basic.rs:86:33: 86:58}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::post` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | register_method!(post, http::Method::POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::post` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@examples/basic.rs:91:24: 91:26}: Handler<_>` is not satisfied [INFO] [stdout] --> examples/basic.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | app.get("/readme", || async move { [INFO] [stdout] | _________---____________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 92 | | LieResponse::send_file("READMEx.md").await [INFO] [stdout] 93 | | }); [INFO] [stdout] | |_____^ the trait `Handler<_>` is not implemented for `{async closure@examples/basic.rs:91:24: 91:26}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `App::get` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | register_method!(get, http::Method::GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this associated function [INFO] [stdout] | required by this bound in `App::get` [INFO] [stdout] = note: this error originates in the macro `register_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lieweb` (example "basic") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9dc0dcd127046d26b9bcc3b4a80a9d1e000e896be3634a4d8ff03153ce89ce7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc0dcd127046d26b9bcc3b4a80a9d1e000e896be3634a4d8ff03153ce89ce7d", kill_on_drop: false }` [INFO] [stdout] 9dc0dcd127046d26b9bcc3b4a80a9d1e000e896be3634a4d8ff03153ce89ce7d