[INFO] cloning repository https://github.com/kpcyrd/cloudflare-worker-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpcyrd/cloudflare-worker-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpcyrd%2Fcloudflare-worker-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpcyrd%2Fcloudflare-worker-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 244e7820be803a9add72e74fb1c15a7ac45bf616 [INFO] checking kpcyrd/cloudflare-worker-rust against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpcyrd%2Fcloudflare-worker-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpcyrd/cloudflare-worker-rust on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kpcyrd/cloudflare-worker-rust [INFO] finished tweaking git repo https://github.com/kpcyrd/cloudflare-worker-rust [INFO] tweaked toml for git repo https://github.com/kpcyrd/cloudflare-worker-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kpcyrd/cloudflare-worker-rust 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" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded worker-sys v0.0.11 [INFO] [stderr] Downloaded worker v0.0.19 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded cc v1.0.89 [INFO] [stderr] Downloaded worker-macros v0.0.11 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 101150e40f6b78aa2a4b55eea334b365666fe1233428cf7f21aa41c33cca2338 [INFO] running `Command { std: "docker" "start" "-a" "101150e40f6b78aa2a4b55eea334b365666fe1233428cf7f21aa41c33cca2338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "101150e40f6b78aa2a4b55eea334b365666fe1233428cf7f21aa41c33cca2338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101150e40f6b78aa2a4b55eea334b365666fe1233428cf7f21aa41c33cca2338", kill_on_drop: false }` [INFO] [stdout] 101150e40f6b78aa2a4b55eea334b365666fe1233428cf7f21aa41c33cca2338 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 655fa49ea3c6798a89e5346420e64c239e3d991cf45e2e5c4413aadd6789f395 [INFO] running `Command { std: "docker" "start" "-a" "655fa49ea3c6798a89e5346420e64c239e3d991cf45e2e5c4413aadd6789f395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking worker-sys v0.0.11 [INFO] [stderr] Compiling worker-macros v0.0.11 [INFO] [stderr] Checking worker v0.0.19 [INFO] [stderr] Checking example-worker-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.76s [INFO] running `Command { std: "docker" "inspect" "655fa49ea3c6798a89e5346420e64c239e3d991cf45e2e5c4413aadd6789f395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655fa49ea3c6798a89e5346420e64c239e3d991cf45e2e5c4413aadd6789f395", kill_on_drop: false }` [INFO] [stdout] 655fa49ea3c6798a89e5346420e64c239e3d991cf45e2e5c4413aadd6789f395 [INFO] checking kpcyrd/cloudflare-worker-rust against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpcyrd%2Fcloudflare-worker-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpcyrd/cloudflare-worker-rust on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kpcyrd/cloudflare-worker-rust [INFO] finished tweaking git repo https://github.com/kpcyrd/cloudflare-worker-rust [INFO] tweaked toml for git repo https://github.com/kpcyrd/cloudflare-worker-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kpcyrd/cloudflare-worker-rust 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" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e72e6da3f7c9b8b8d309ffce64b3276ca821e74d2304ecca85381aeb3eae917e [INFO] running `Command { std: "docker" "start" "-a" "e72e6da3f7c9b8b8d309ffce64b3276ca821e74d2304ecca85381aeb3eae917e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e72e6da3f7c9b8b8d309ffce64b3276ca821e74d2304ecca85381aeb3eae917e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72e6da3f7c9b8b8d309ffce64b3276ca821e74d2304ecca85381aeb3eae917e", kill_on_drop: false }` [INFO] [stdout] e72e6da3f7c9b8b8d309ffce64b3276ca821e74d2304ecca85381aeb3eae917e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b76e851d592212eee18520d5ecc3d854103273aaf6482e339d97fb910f29c719 [INFO] running `Command { std: "docker" "start" "-a" "b76e851d592212eee18520d5ecc3d854103273aaf6482e339d97fb910f29c719", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Compiling worker-sys v0.0.11 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Compiling worker-macros v0.0.11 [INFO] [stderr] Checking worker v0.0.19 [INFO] [stderr] Checking example-worker-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | .get_async("/", |req, _ctx| async move { [INFO] [stdout] | __________---------______^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 19 | | Response::from_html(format!( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | [INFO] [stdout] ... | [INFO] [stdout] 32 | | )) [INFO] [stdout] 33 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:18:25}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:18:25: 18:36}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.19/src/router.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_async(mut self, pattern: &str, func: fn(Request, RouteContext) -> T) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example-worker-rust` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | .get_async("/", |req, _ctx| async move { [INFO] [stdout] | __________---------______^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 19 | | Response::from_html(format!( [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | [INFO] [stdout] ... | [INFO] [stdout] 32 | | )) [INFO] [stdout] 33 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:18:25}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:18:25: 18:36}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.19/src/router.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_async(mut self, pattern: &str, func: fn(Request, RouteContext) -> T) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example-worker-rust` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b76e851d592212eee18520d5ecc3d854103273aaf6482e339d97fb910f29c719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76e851d592212eee18520d5ecc3d854103273aaf6482e339d97fb910f29c719", kill_on_drop: false }` [INFO] [stdout] b76e851d592212eee18520d5ecc3d854103273aaf6482e339d97fb910f29c719