[INFO] cloning repository https://github.com/takokun778/short-url-cloudflare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takokun778/short-url-cloudflare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakokun778%2Fshort-url-cloudflare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakokun778%2Fshort-url-cloudflare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff35882166a76217638a7af9e00bce939cfd0828 [INFO] checking takokun778/short-url-cloudflare against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakokun778%2Fshort-url-cloudflare" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takokun778/short-url-cloudflare on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takokun778/short-url-cloudflare [INFO] finished tweaking git repo https://github.com/takokun778/short-url-cloudflare [INFO] tweaked toml for git repo https://github.com/takokun778/short-url-cloudflare written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/takokun778/short-url-cloudflare 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26544ba58300936bde25e4e61a58372118400e5e3a9439e7cc1be6bf768f6fe4 [INFO] running `Command { std: "docker" "start" "-a" "26544ba58300936bde25e4e61a58372118400e5e3a9439e7cc1be6bf768f6fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26544ba58300936bde25e4e61a58372118400e5e3a9439e7cc1be6bf768f6fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26544ba58300936bde25e4e61a58372118400e5e3a9439e7cc1be6bf768f6fe4", kill_on_drop: false }` [INFO] [stdout] 26544ba58300936bde25e4e61a58372118400e5e3a9439e7cc1be6bf768f6fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28006fff62c9b781379079bfae575dc82d5c947e0188a961a38caac5a53043af [INFO] running `Command { std: "docker" "start" "-a" "28006fff62c9b781379079bfae575dc82d5c947e0188a961a38caac5a53043af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking matchit v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking worker-kv v0.5.1 [INFO] [stderr] Checking worker-sys v0.0.4 [INFO] [stderr] Compiling worker-macros v0.0.4 [INFO] [stderr] Checking worker v0.0.9 [INFO] [stderr] Checking short-url v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.78 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "28006fff62c9b781379079bfae575dc82d5c947e0188a961a38caac5a53043af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28006fff62c9b781379079bfae575dc82d5c947e0188a961a38caac5a53043af", kill_on_drop: false }` [INFO] [stdout] 28006fff62c9b781379079bfae575dc82d5c947e0188a961a38caac5a53043af [INFO] checking takokun778/short-url-cloudflare against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakokun778%2Fshort-url-cloudflare" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takokun778/short-url-cloudflare on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takokun778/short-url-cloudflare [INFO] finished tweaking git repo https://github.com/takokun778/short-url-cloudflare [INFO] tweaked toml for git repo https://github.com/takokun778/short-url-cloudflare written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/takokun778/short-url-cloudflare 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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ece52965c7455452e479549b9b6856473a565c57981326efd381acc3cd05e917 [INFO] running `Command { std: "docker" "start" "-a" "ece52965c7455452e479549b9b6856473a565c57981326efd381acc3cd05e917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ece52965c7455452e479549b9b6856473a565c57981326efd381acc3cd05e917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece52965c7455452e479549b9b6856473a565c57981326efd381acc3cd05e917", kill_on_drop: false }` [INFO] [stdout] ece52965c7455452e479549b9b6856473a565c57981326efd381acc3cd05e917 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc2286a9db40c46ca5bb895096ac7361bd54cc3695d91c6735346c68981d436 [INFO] running `Command { std: "docker" "start" "-a" "cfc2286a9db40c46ca5bb895096ac7361bd54cc3695d91c6735346c68981d436", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking matchit v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking worker-kv v0.5.1 [INFO] [stderr] Checking worker-sys v0.0.4 [INFO] [stderr] Compiling worker-macros v0.0.4 [INFO] [stderr] Checking worker v0.0.9 [INFO] [stderr] Checking short-url v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let store = match ctx.kv("SHORT_URL") { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | None => return Response::error("", 500), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | let store = match ctx.kv("SHORT_URL") { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | None => return Response::error("", 500), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | None => return Response::error("", 500), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | None => return Response::redirect_with_status(Url::parse(&def)?, 301), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:80:51 [INFO] [stdout] | [INFO] [stdout] 80 | let url = match store.get(key).text().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:574:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | None => return Response::error("", 500), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Some(url) => return Response::redirect_with_status(Url::parse(&url)?, 301), [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:582:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | None => return Response::redirect_with_status(Url::parse(&def)?, 301), [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `None` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:80:51 [INFO] [stdout] | [INFO] [stdout] 80 | let url = match store.get(key).text().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/357cc345f0a672ac4bee347eb89b7552541416c1/library/core/src/option.rs:574:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `short-url` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `short-url` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "cfc2286a9db40c46ca5bb895096ac7361bd54cc3695d91c6735346c68981d436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc2286a9db40c46ca5bb895096ac7361bd54cc3695d91c6735346c68981d436", kill_on_drop: false }` [INFO] [stdout] cfc2286a9db40c46ca5bb895096ac7361bd54cc3695d91c6735346c68981d436