[INFO] cloning repository https://github.com/digitalscyther/short-links [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/digitalscyther/short-links" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalscyther%2Fshort-links", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalscyther%2Fshort-links'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d2068d339be9e6d915445541b86722a97c8ab15 [INFO] checking digitalscyther/short-links against master#51ff895062ba60a7cba53f57af928c3fb7b0f2f4 for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalscyther%2Fshort-links" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/digitalscyther/short-links [INFO] finished tweaking git repo https://github.com/digitalscyther/short-links [INFO] tweaked toml for git repo https://github.com/digitalscyther/short-links written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/digitalscyther/short-links on toolchain 51ff895062ba60a7cba53f57af928c3fb7b0f2f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/digitalscyther/short-links 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" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.2 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Downloaded rand v0.9.0-alpha.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ac47ba426118ad4bf36c3563dc80237498be39fdb3f015c0d2f05790aae8e8a [INFO] running `Command { std: "docker" "start" "-a" "7ac47ba426118ad4bf36c3563dc80237498be39fdb3f015c0d2f05790aae8e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ac47ba426118ad4bf36c3563dc80237498be39fdb3f015c0d2f05790aae8e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac47ba426118ad4bf36c3563dc80237498be39fdb3f015c0d2f05790aae8e8a", kill_on_drop: false }` [INFO] [stdout] 7ac47ba426118ad4bf36c3563dc80237498be39fdb3f015c0d2f05790aae8e8a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab3e9cb5d84b102c97beb82c23252ccf416058871181624845083cf2cc641885 [INFO] running `Command { std: "docker" "start" "-a" "ab3e9cb5d84b102c97beb82c23252ccf416058871181624845083cf2cc641885", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand_core v0.9.0-alpha.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Checking rand v0.9.0-alpha.2 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking redis v0.26.1 [INFO] [stderr] Checking short-links v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / async fn generate_link( [INFO] [stdout] 42 | | State(state): State>, [INFO] [stdout] 43 | | Host(hostname): Host, [INFO] [stdout] 44 | | headers: HeaderMap, [INFO] [stdout] 45 | | request: Request, [INFO] [stdout] 46 | | ) -> Result, StatusCode> { [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/main.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | redis_conn.hset(&short_key, "url", "").await.map_err(|e| log_err("0", e))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 67 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "url", "").await.map_err(|e| log_err("0", e))?; [INFO] [stdout] 68 ~ redis_conn.expire::<_, ()>(&short_key, 60 * 60 * 24 * 30).await.map_err(|e| log_err("1", e))?; [INFO] [stdout] 69 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "url", payload.url).await.map_err(|e| log_err("2", e))?; [INFO] [stdout] 70 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "token", token).await.map_err(|e| log_err("3", e))?; [INFO] [stdout] 71 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "clicks", 0).await.map_err(|e| log_err("4", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / async fn proxy_link( [INFO] [stdout] 117 | | Path(short_key): Path, [INFO] [stdout] 118 | | State(state): State>, [INFO] [stdout] 119 | | ) -> Result { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/main.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | redis_conn.hincr(&short_key, "clicks", 1).await.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 124 | redis_conn.hincr::<_, _, _, ()>(&short_key, "clicks", 1).await.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / async fn generate_link( [INFO] [stdout] 42 | | State(state): State>, [INFO] [stdout] 43 | | Host(hostname): Host, [INFO] [stdout] 44 | | headers: HeaderMap, [INFO] [stdout] 45 | | request: Request, [INFO] [stdout] 46 | | ) -> Result, StatusCode> { [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/main.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | redis_conn.hset(&short_key, "url", "").await.map_err(|e| log_err("0", e))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 67 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "url", "").await.map_err(|e| log_err("0", e))?; [INFO] [stdout] 68 ~ redis_conn.expire::<_, ()>(&short_key, 60 * 60 * 24 * 30).await.map_err(|e| log_err("1", e))?; [INFO] [stdout] 69 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "url", payload.url).await.map_err(|e| log_err("2", e))?; [INFO] [stdout] 70 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "token", token).await.map_err(|e| log_err("3", e))?; [INFO] [stdout] 71 ~ redis_conn.hset::<_, _, _, ()>(&short_key, "clicks", 0).await.map_err(|e| log_err("4", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | / async fn proxy_link( [INFO] [stdout] 117 | | Path(short_key): Path, [INFO] [stdout] 118 | | State(state): State>, [INFO] [stdout] 119 | | ) -> Result { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/main.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | redis_conn.hincr(&short_key, "clicks", 1).await.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 124 | redis_conn.hincr::<_, _, _, ()>(&short_key, "clicks", 1).await.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: short-links v0.1.0 (/opt/rustwide/workdir) [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" "ab3e9cb5d84b102c97beb82c23252ccf416058871181624845083cf2cc641885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3e9cb5d84b102c97beb82c23252ccf416058871181624845083cf2cc641885", kill_on_drop: false }` [INFO] [stdout] ab3e9cb5d84b102c97beb82c23252ccf416058871181624845083cf2cc641885