[INFO] fetching crate ic-pluto 0.3.3... [INFO] checking ic-pluto-0.3.3 against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] extracting crate ic-pluto 0.3.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ic-pluto 0.3.3 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 ic-pluto 0.3.3 [INFO] finished tweaking crates.io crate ic-pluto 0.3.3 [INFO] tweaked toml for crates.io crate ic-pluto 0.3.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding ic-cdk v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding ic-cdk-macros v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding ic0 v0.21.1 (latest: v0.23.0) [INFO] [stderr] Adding serde_tokenstream v0.1.7 (latest: v0.2.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded ic-cdk v0.13.2 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded num-bigint v0.4.6 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded data-encoding v2.6.0 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded serde_bytes v0.11.15 [INFO] [stderr] Downloaded candid v0.10.9 [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 974ada1d61f4c81185f861d6d876cd33c0f6c36533935f50e0972842544ee8c4 [INFO] running `Command { std: "docker" "start" "-a" "974ada1d61f4c81185f861d6d876cd33c0f6c36533935f50e0972842544ee8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "974ada1d61f4c81185f861d6d876cd33c0f6c36533935f50e0972842544ee8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974ada1d61f4c81185f861d6d876cd33c0f6c36533935f50e0972842544ee8c4", kill_on_drop: false }` [INFO] [stdout] 974ada1d61f4c81185f861d6d876cd33c0f6c36533935f50e0972842544ee8c4 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b992ee8ceeee9b6795621d6defd47c47ad16f75463a6ae7b34d0d0bffa96c817 [INFO] running `Command { std: "docker" "start" "-a" "b992ee8ceeee9b6795621d6defd47c47ad16f75463a6ae7b34d0d0bffa96c817", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Compiling candid v0.10.9 [INFO] [stderr] Checking ic-pluto v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_safe` and `is_idempotent` are never used [INFO] [stdout] --> src/method.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Method { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn is_idempotent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/router.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | let response = HttpResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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.10s [INFO] running `Command { std: "docker" "inspect" "b992ee8ceeee9b6795621d6defd47c47ad16f75463a6ae7b34d0d0bffa96c817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b992ee8ceeee9b6795621d6defd47c47ad16f75463a6ae7b34d0d0bffa96c817", kill_on_drop: false }` [INFO] [stdout] b992ee8ceeee9b6795621d6defd47c47ad16f75463a6ae7b34d0d0bffa96c817 [INFO] checking ic-pluto-0.3.3 against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] extracting crate ic-pluto 0.3.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ic-pluto 0.3.3 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 ic-pluto 0.3.3 [INFO] finished tweaking crates.io crate ic-pluto 0.3.3 [INFO] tweaked toml for crates.io crate ic-pluto 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding ic-cdk v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding ic-cdk-macros v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding ic0 v0.21.1 (latest: v0.23.0) [INFO] [stderr] Adding serde_tokenstream v0.1.7 (latest: v0.2.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8e6404089cfdbe57a98ef4683c75c7c3a086ec0c1162f04f181e12ddd13b3258 [INFO] running `Command { std: "docker" "start" "-a" "8e6404089cfdbe57a98ef4683c75c7c3a086ec0c1162f04f181e12ddd13b3258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6404089cfdbe57a98ef4683c75c7c3a086ec0c1162f04f181e12ddd13b3258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6404089cfdbe57a98ef4683c75c7c3a086ec0c1162f04f181e12ddd13b3258", kill_on_drop: false }` [INFO] [stdout] 8e6404089cfdbe57a98ef4683c75c7c3a086ec0c1162f04f181e12ddd13b3258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2078f069392aa00073d82205788ae707b333509672562e5fc049023ef17cd7f3 [INFO] running `Command { std: "docker" "start" "-a" "2078f069392aa00073d82205788ae707b333509672562e5fc049023ef17cd7f3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.9 [INFO] [stderr] Checking ic-pluto v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_safe` and `is_idempotent` are never used [INFO] [stdout] --> src/method.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Method { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn is_idempotent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:506:37: 506:56}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 506 | router.get("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________---__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 507 | | Ok(HttpResponse { [INFO] [stdout] 508 | | status_code: 200, [INFO] [stdout] 509 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 515 | | }) [INFO] [stdout] 516 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:506:37: 506:56}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:506:37: 506:56}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:506:37: 506:56}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::get` [INFO] [stdout] --> src/router.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, path: &str, upgrade: bool, handler: impl Handler + 'static) -> &mut Self { [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::get` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 506 | router.get("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:517:38: 517:57}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:517:38 [INFO] [stdout] | [INFO] [stdout] 517 | router.post("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 518 | | Ok(HttpResponse { [INFO] [stdout] 519 | | status_code: 200, [INFO] [stdout] 520 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 526 | | }) [INFO] [stdout] 527 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:517:38: 517:57}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:517:38: 517:57}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:517:38: 517:57}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::post` [INFO] [stdout] --> src/router.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn post( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 255 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::post` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 517 | router.post("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:528:37: 528:56}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:528:37 [INFO] [stdout] | [INFO] [stdout] 528 | router.put("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________---__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 529 | | Ok(HttpResponse { [INFO] [stdout] 530 | | status_code: 200, [INFO] [stdout] 531 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 537 | | }) [INFO] [stdout] 538 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:528:37: 528:56}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:528:37: 528:56}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:528:37: 528:56}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::put` [INFO] [stdout] --> src/router.rs:284:68 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn put(&mut self, path: &str, upgrade: bool, handler: impl Handler + 'static) -> &mut Self { [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::put` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 528 | router.put("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:539:39: 539:58}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:539:39 [INFO] [stdout] | [INFO] [stdout] 539 | router.patch("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________-----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 540 | | Ok(HttpResponse { [INFO] [stdout] 541 | | status_code: 200, [INFO] [stdout] 542 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 548 | | }) [INFO] [stdout] 549 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:539:39: 539:58}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:539:39: 539:58}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:539:39: 539:58}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::patch` [INFO] [stdout] --> src/router.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn patch( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 316 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::patch` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 539 | router.patch("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:550:40: 550:59}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:550:40 [INFO] [stdout] | [INFO] [stdout] 550 | router.delete("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 551 | | Ok(HttpResponse { [INFO] [stdout] 552 | | status_code: 200, [INFO] [stdout] 553 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 559 | | }) [INFO] [stdout] 560 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:550:40: 550:59}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:550:40: 550:59}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:550:40: 550:59}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::delete` [INFO] [stdout] --> src/router.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn delete( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 349 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::delete` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 550 | router.delete("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:561:38: 561:57}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:561:38 [INFO] [stdout] | [INFO] [stdout] 561 | router.head("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 562 | | Ok(HttpResponse { [INFO] [stdout] 563 | | status_code: 200, [INFO] [stdout] 564 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 570 | | }) [INFO] [stdout] 571 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:561:38: 561:57}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:561:38: 561:57}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:561:38: 561:57}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::head` [INFO] [stdout] --> src/router.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn head( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 189 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::head` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 561 | router.head("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:572:41: 572:60}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:572:41 [INFO] [stdout] | [INFO] [stdout] 572 | router.options("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________-------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 573 | | Ok(HttpResponse { [INFO] [stdout] 574 | | status_code: 200, [INFO] [stdout] 575 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 581 | | }) [INFO] [stdout] 582 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:572:41: 572:60}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:572:41: 572:60}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:572:41: 572:60}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::options` [INFO] [stdout] --> src/router.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn options( [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 222 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::options` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 572 | router.options("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:604:37: 604:56}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:604:37 [INFO] [stdout] | [INFO] [stdout] 604 | router.get("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________---__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 605 | | Ok(HttpResponse { [INFO] [stdout] 606 | | status_code: 200, [INFO] [stdout] 607 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 613 | | }) [INFO] [stdout] 614 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:604:37: 604:56}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:604:37: 604:56}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:604:37: 604:56}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::get` [INFO] [stdout] --> src/router.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, path: &str, upgrade: bool, handler: impl Handler + 'static) -> &mut Self { [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::get` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 604 | router.get("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:615:38: 615:57}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:615:38 [INFO] [stdout] | [INFO] [stdout] 615 | router.post("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 616 | | Ok(HttpResponse { [INFO] [stdout] 617 | | status_code: 200, [INFO] [stdout] 618 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 624 | | }) [INFO] [stdout] 625 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:615:38: 615:57}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:615:38: 615:57}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:615:38: 615:57}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::post` [INFO] [stdout] --> src/router.rs:255:23 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn post( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 255 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::post` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 615 | router.post("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:626:37: 626:56}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:626:37 [INFO] [stdout] | [INFO] [stdout] 626 | router.put("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________---__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 627 | | Ok(HttpResponse { [INFO] [stdout] 628 | | status_code: 200, [INFO] [stdout] 629 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:626:37: 626:56}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:626:37: 626:56}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:626:37: 626:56}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::put` [INFO] [stdout] --> src/router.rs:284:68 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn put(&mut self, path: &str, upgrade: bool, handler: impl Handler + 'static) -> &mut Self { [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::put` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 626 | router.put("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:637:39: 637:58}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:637:39 [INFO] [stdout] | [INFO] [stdout] 637 | router.patch("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________-----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 638 | | Ok(HttpResponse { [INFO] [stdout] 639 | | status_code: 200, [INFO] [stdout] 640 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 646 | | }) [INFO] [stdout] 647 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:637:39: 637:58}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:637:39: 637:58}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:637:39: 637:58}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::patch` [INFO] [stdout] --> src/router.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn patch( [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 316 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::patch` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 637 | router.patch("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:648:40: 648:59}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:648:40 [INFO] [stdout] | [INFO] [stdout] 648 | router.delete("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 649 | | Ok(HttpResponse { [INFO] [stdout] 650 | | status_code: 200, [INFO] [stdout] 651 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 657 | | }) [INFO] [stdout] 658 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:648:40: 648:59}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:648:40: 648:59}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:648:40: 648:59}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::delete` [INFO] [stdout] --> src/router.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn delete( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 349 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::delete` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 648 | router.delete("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:659:38: 659:57}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:659:38 [INFO] [stdout] | [INFO] [stdout] 659 | router.head("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________----__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 660 | | Ok(HttpResponse { [INFO] [stdout] 661 | | status_code: 200, [INFO] [stdout] 662 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 668 | | }) [INFO] [stdout] 669 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:659:38: 659:57}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:659:38: 659:57}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:659:38: 659:57}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::head` [INFO] [stdout] --> src/router.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn head( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 189 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::head` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 659 | router.head("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:670:41: 670:60}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:670:41 [INFO] [stdout] | [INFO] [stdout] 670 | router.options("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________-------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 671 | | Ok(HttpResponse { [INFO] [stdout] 672 | | status_code: 200, [INFO] [stdout] 673 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 679 | | }) [INFO] [stdout] 680 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:670:41: 670:60}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:670:41: 670:60}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:670:41: 670:60}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::options` [INFO] [stdout] --> src/router.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn options( [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 222 | handler: impl Handler + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::options` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 670 | router.options("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/router.rs:709:37: 709:56}: DynClone` is not satisfied [INFO] [stdout] --> src/router.rs:709:37 [INFO] [stdout] | [INFO] [stdout] 709 | router.get("/hello", false, |_req: HttpRequest| async move { [INFO] [stdout] | ________________---__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 710 | | Ok(HttpResponse { [INFO] [stdout] 711 | | status_code: 200, [INFO] [stdout] 712 | | headers: HashMap::new(), [INFO] [stdout] ... | [INFO] [stdout] 717 | | }) [INFO] [stdout] 718 | | }); [INFO] [stdout] | |_________^ the trait `DynClone` is not implemented for `{async closure@src/router.rs:709:37: 709:56}` [INFO] [stdout] | [INFO] [stdout] = note: required for `{async closure@src/router.rs:709:37: 709:56}` to implement `DynClone` [INFO] [stdout] note: required for `{async closure@src/router.rs:709:37: 709:56}` to implement `router::Handler` [INFO] [stdout] --> src/router.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | impl Handler for F [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] 481 | where [INFO] [stdout] 482 | F: Fn(HttpRequest) -> R + Send + Sync + DynClone, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `router::Router::get` [INFO] [stdout] --> src/router.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, path: &str, upgrade: bool, handler: impl Handler + 'static) -> &mut Self { [INFO] [stdout] | ^^^^^^^ required by this bound in `Router::get` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 709 | router.get("/hello", false, &|_req: HttpRequest| async move { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 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 `ic-pluto` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "2078f069392aa00073d82205788ae707b333509672562e5fc049023ef17cd7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2078f069392aa00073d82205788ae707b333509672562e5fc049023ef17cd7f3", kill_on_drop: false }` [INFO] [stdout] 2078f069392aa00073d82205788ae707b333509672562e5fc049023ef17cd7f3