[INFO] cloning repository https://github.com/leonbreedt/tfstate-backend-r2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leonbreedt/tfstate-backend-r2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonbreedt%2Ftfstate-backend-r2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonbreedt%2Ftfstate-backend-r2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ff0f8219a04a3a6410c0876b7186ac84230043e [INFO] checking leonbreedt/tfstate-backend-r2 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonbreedt%2Ftfstate-backend-r2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonbreedt/tfstate-backend-r2 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/leonbreedt/tfstate-backend-r2 [INFO] finished tweaking git repo https://github.com/leonbreedt/tfstate-backend-r2 [INFO] tweaked toml for git repo https://github.com/leonbreedt/tfstate-backend-r2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leonbreedt/tfstate-backend-r2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded worker-sys v0.0.8 [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded worker-macros v0.0.8 [INFO] [stderr] Downloaded async-trait v0.1.72 [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [INFO] [stderr] Downloaded pin-project-internal v1.1.3 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded worker v0.0.15 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded pin-project v1.1.3 [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded aho-corasick v1.0.3 [INFO] [stderr] Downloaded serde_json v1.0.104 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cac1a52ab32732a07e83c3f09950f8aad5a5015fb2135592646cf06085215535 [INFO] running `Command { std: "docker" "start" "-a" "cac1a52ab32732a07e83c3f09950f8aad5a5015fb2135592646cf06085215535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cac1a52ab32732a07e83c3f09950f8aad5a5015fb2135592646cf06085215535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac1a52ab32732a07e83c3f09950f8aad5a5015fb2135592646cf06085215535", kill_on_drop: false }` [INFO] [stdout] cac1a52ab32732a07e83c3f09950f8aad5a5015fb2135592646cf06085215535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 924dafe9b4f8dd82c913784f676c8d1bab7bc1091060bdc1f8807ecd27dcbac7 [INFO] running `Command { std: "docker" "start" "-a" "924dafe9b4f8dd82c913784f676c8d1bab7bc1091060bdc1f8807ecd27dcbac7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Checking js-sys v0.3.61 [INFO] [stderr] Compiling web-sys v0.3.61 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.34 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Compiling worker-sys v0.0.8 [INFO] [stderr] Checking wasm-streams v0.2.3 [INFO] [stderr] Compiling worker-macros v0.0.8 [INFO] [stderr] Checking worker v0.0.15 [INFO] [stderr] Checking tfstate-backend-r2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.84 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "924dafe9b4f8dd82c913784f676c8d1bab7bc1091060bdc1f8807ecd27dcbac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "924dafe9b4f8dd82c913784f676c8d1bab7bc1091060bdc1f8807ecd27dcbac7", kill_on_drop: false }` [INFO] [stdout] 924dafe9b4f8dd82c913784f676c8d1bab7bc1091060bdc1f8807ecd27dcbac7 [INFO] checking leonbreedt/tfstate-backend-r2 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonbreedt%2Ftfstate-backend-r2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonbreedt/tfstate-backend-r2 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/leonbreedt/tfstate-backend-r2 [INFO] finished tweaking git repo https://github.com/leonbreedt/tfstate-backend-r2 [INFO] tweaked toml for git repo https://github.com/leonbreedt/tfstate-backend-r2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leonbreedt/tfstate-backend-r2 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dce545c3bf8993c9bbd005d3b704384366a23ff4eae39088a782518e22ae1276 [INFO] running `Command { std: "docker" "start" "-a" "dce545c3bf8993c9bbd005d3b704384366a23ff4eae39088a782518e22ae1276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce545c3bf8993c9bbd005d3b704384366a23ff4eae39088a782518e22ae1276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce545c3bf8993c9bbd005d3b704384366a23ff4eae39088a782518e22ae1276", kill_on_drop: false }` [INFO] [stdout] dce545c3bf8993c9bbd005d3b704384366a23ff4eae39088a782518e22ae1276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6ddeb0b2747299aa7bfca4583e8e435b0fbb27d4c2396ed65b5053833c95db58 [INFO] running `Command { std: "docker" "start" "-a" "6ddeb0b2747299aa7bfca4583e8e435b0fbb27d4c2396ed65b5053833c95db58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Checking js-sys v0.3.61 [INFO] [stderr] Checking web-sys v0.3.61 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.34 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking worker-kv v0.6.0 [INFO] [stderr] Checking worker-sys v0.0.8 [INFO] [stderr] Checking wasm-streams v0.2.3 [INFO] [stderr] Compiling worker-macros v0.0.8 [INFO] [stderr] Checking worker v0.0.15 [INFO] [stderr] Checking tfstate-backend-r2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if ctx.secret(PSK_SECRET_BINDING).is_ok() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if ctx.secret(PSK_SECRET_BINDING).is_ok() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | .get_async("/state/:name", |req, ctx| async move { [INFO] [stdout] | __________---------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 27 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 28 | | match read_tfstate(&ctx).await { [INFO] [stdout] 29 | | Ok(bytes) => Response::from_bytes(bytes), [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:26:36}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:26:36: 26:46}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | .get_async("/state/:name", |req, ctx| async move { [INFO] [stdout] | __________---------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 27 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 28 | | match read_tfstate(&ctx).await { [INFO] [stdout] 29 | | Ok(bytes) => Response::from_bytes(bytes), [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:26:36}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:26:36: 26:46}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | .delete_async("/state/:name", |req, ctx| async move { [INFO] [stdout] | __________------------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 42 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 43 | | match delete_tfstate(&ctx).await { [INFO] [stdout] 44 | | Ok(_) => Response::ok("deleted"), [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:41:39}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:41:39: 41:49}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn delete_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:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | .on_async("/state/:name/lock", |req, ctx| async move { [INFO] [stdout] | __________--------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 55 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 56 | | match lock_or_unlock_tfstate(req, ctx).await { [INFO] [stdout] 57 | | Ok(resp) => Ok(resp), [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:54:40}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:54:40: 54:50}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn on_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:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | .delete_async("/state/:name", |req, ctx| async move { [INFO] [stdout] | __________------------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 42 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 43 | | match delete_tfstate(&ctx).await { [INFO] [stdout] 44 | | Ok(_) => Response::ok("deleted"), [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:41:39}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:41:39: 41:49}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn delete_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:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | .on_async("/state/:name/lock", |req, ctx| async move { [INFO] [stdout] | __________--------______________________^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 55 | | if is_authorized(&req, &ctx).await { [INFO] [stdout] 56 | | match lock_or_unlock_tfstate(req, ctx).await { [INFO] [stdout] 57 | | Ok(resp) => Ok(resp), [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found `{async closure@lib.rs:54:40}` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(worker::Request, worker::RouteContext<()>) -> _` [INFO] [stdout] found closure `{async closure@src/lib.rs:54:40: 54:50}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/worker-0.0.15/src/router.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn on_async(mut self, pattern: &str, func: fn(Request, RouteContext) -> T) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tfstate-backend-r2` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tfstate-backend-r2` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6ddeb0b2747299aa7bfca4583e8e435b0fbb27d4c2396ed65b5053833c95db58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ddeb0b2747299aa7bfca4583e8e435b0fbb27d4c2396ed65b5053833c95db58", kill_on_drop: false }` [INFO] [stdout] 6ddeb0b2747299aa7bfca4583e8e435b0fbb27d4c2396ed65b5053833c95db58