[INFO] cloning repository https://github.com/c-atts/thegraph-query-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c-atts/thegraph-query-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-atts%2Fthegraph-query-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-atts%2Fthegraph-query-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a295a12a18ca7119ee647093acc85671f1d3566 [INFO] checking c-atts/thegraph-query-proxy against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-atts%2Fthegraph-query-proxy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c-atts/thegraph-query-proxy 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/c-atts/thegraph-query-proxy [INFO] finished tweaking git repo https://github.com/c-atts/thegraph-query-proxy [INFO] tweaked toml for git repo https://github.com/c-atts/thegraph-query-proxy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/c-atts/thegraph-query-proxy 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded worker v0.0.18 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.86 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.86 [INFO] [stderr] Downloaded worker-macros v0.0.10 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded wasm-streams v0.3.0 [INFO] [stderr] Downloaded async-trait v0.1.77 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded wasm-bindgen v0.2.86 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded js-sys v0.3.63 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded chrono v0.4.35 [INFO] [stderr] Downloaded syn v2.0.52 [INFO] [stderr] Downloaded regex v1.10.3 [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded thiserror v1.0.57 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.86 [INFO] [stderr] Downloaded phf_codegen v0.11.2 [INFO] [stderr] Downloaded siphasher v0.3.11 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.57 [INFO] [stderr] Downloaded worker-kv v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.36 [INFO] [stderr] Downloaded worker-sys v0.0.10 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.86 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] [stderr] Downloaded tokio v1.36.0 [INFO] [stderr] Downloaded web-sys v0.3.63 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0327794ded3b78fb281bafd7c4d0847e1c191598b862308aeb12ca762bc31f3c [INFO] running `Command { std: "docker" "start" "-a" "0327794ded3b78fb281bafd7c4d0847e1c191598b862308aeb12ca762bc31f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0327794ded3b78fb281bafd7c4d0847e1c191598b862308aeb12ca762bc31f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0327794ded3b78fb281bafd7c4d0847e1c191598b862308aeb12ca762bc31f3c", kill_on_drop: false }` [INFO] [stdout] 0327794ded3b78fb281bafd7c4d0847e1c191598b862308aeb12ca762bc31f3c [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfeb3570b6aad9c7b694d8ee6d29543432bb30d4b500aee19665f142b98ab4e [INFO] running `Command { std: "docker" "start" "-a" "fcfeb3570b6aad9c7b694d8ee6d29543432bb30d4b500aee19665f142b98ab4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.86 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.86 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.35 [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 wasm-bindgen-backend v0.2.86 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [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 chrono-tz v0.8.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.86 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.86 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling js-sys v0.3.63 [INFO] [stderr] Compiling web-sys v0.3.63 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.36 [INFO] [stderr] Compiling worker-sys v0.0.10 [INFO] [stderr] Checking wasm-streams v0.3.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling worker-macros v0.0.10 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Checking worker v0.0.18 [INFO] [stderr] Checking thegraph-query-proxy v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.86 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fcfeb3570b6aad9c7b694d8ee6d29543432bb30d4b500aee19665f142b98ab4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfeb3570b6aad9c7b694d8ee6d29543432bb30d4b500aee19665f142b98ab4e", kill_on_drop: false }` [INFO] [stdout] fcfeb3570b6aad9c7b694d8ee6d29543432bb30d4b500aee19665f142b98ab4e [INFO] checking c-atts/thegraph-query-proxy against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc-atts%2Fthegraph-query-proxy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/c-atts/thegraph-query-proxy 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/c-atts/thegraph-query-proxy [INFO] finished tweaking git repo https://github.com/c-atts/thegraph-query-proxy [INFO] tweaked toml for git repo https://github.com/c-atts/thegraph-query-proxy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/c-atts/thegraph-query-proxy 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2dba41de88d2b299537d6282ff25aed509fcc2238ab468267b3fe9b6223df2 [INFO] running `Command { std: "docker" "start" "-a" "be2dba41de88d2b299537d6282ff25aed509fcc2238ab468267b3fe9b6223df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2dba41de88d2b299537d6282ff25aed509fcc2238ab468267b3fe9b6223df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2dba41de88d2b299537d6282ff25aed509fcc2238ab468267b3fe9b6223df2", kill_on_drop: false }` [INFO] [stdout] be2dba41de88d2b299537d6282ff25aed509fcc2238ab468267b3fe9b6223df2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2c6e556aefacff326b621056b6ac290b55c890d96653f2e5aec43ad145aed4 [INFO] running `Command { std: "docker" "start" "-a" "dd2c6e556aefacff326b621056b6ac290b55c890d96653f2e5aec43ad145aed4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.86 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.86 [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] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.35 [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.86 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [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.86 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.86 [INFO] [stderr] Compiling js-sys v0.3.63 [INFO] [stderr] Compiling web-sys v0.3.63 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.36 [INFO] [stderr] Compiling worker-sys v0.0.10 [INFO] [stderr] Compiling worker-macros v0.0.10 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking wasm-streams v0.3.0 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Checking worker v0.0.18 [INFO] [stderr] Checking thegraph-query-proxy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | .get_async("/:cache_key", |req, ctx| async move { [INFO] [stdout] | __________---------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 8 | | handle_graphql_request(req, ctx).await [INFO] [stdout] 9 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:7:35}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:7:35: 7:45}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.18/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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | .get_async("/:cache_key", |req, ctx| async move { [INFO] [stdout] | __________---------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 8 | | handle_graphql_request(req, ctx).await [INFO] [stdout] 9 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:7:35}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:7:35: 7:45}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.18/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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | .post_async("/:cache_key", |req, ctx| async move { [INFO] [stdout] | __________----------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 11 | | handle_graphql_request(req, ctx).await [INFO] [stdout] 12 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:10:36}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:10:36: 10:46}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.18/src/router.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn post_async(mut self, pattern: &str, func: fn(Request, RouteContext) -> T) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | .post_async("/:cache_key", |req, ctx| async move { [INFO] [stdout] | __________----------________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 11 | | handle_graphql_request(req, ctx).await [INFO] [stdout] 12 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:10:36}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:10:36: 10:46}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.18/src/router.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn post_async(mut self, pattern: &str, func: fn(Request, RouteContext) -> T) -> Self [INFO] [stdout] | ^^^^^^^^^^ [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 E0308`. [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thegraph-query-proxy` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `thegraph-query-proxy` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "dd2c6e556aefacff326b621056b6ac290b55c890d96653f2e5aec43ad145aed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2c6e556aefacff326b621056b6ac290b55c890d96653f2e5aec43ad145aed4", kill_on_drop: false }` [INFO] [stdout] dd2c6e556aefacff326b621056b6ac290b55c890d96653f2e5aec43ad145aed4