[INFO] cloning repository https://github.com/Napolite/blog-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Napolite/blog-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapolite%2Fblog-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapolite%2Fblog-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee3088cbdadb5fbcd2b32cf2cee1610e1dd14bdd [INFO] checking Napolite/blog-server against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNapolite%2Fblog-server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Napolite/blog-server [INFO] finished tweaking git repo https://github.com/Napolite/blog-server [INFO] tweaked toml for git repo https://github.com/Napolite/blog-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Napolite/blog-server on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Napolite/blog-server 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df0e3cb84f67df8d2958e9a028c4d3f926de83129ad2b183fc5b33e56b878760 [INFO] running `Command { std: "docker" "start" "-a" "df0e3cb84f67df8d2958e9a028c4d3f926de83129ad2b183fc5b33e56b878760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df0e3cb84f67df8d2958e9a028c4d3f926de83129ad2b183fc5b33e56b878760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0e3cb84f67df8d2958e9a028c4d3f926de83129ad2b183fc5b33e56b878760", kill_on_drop: false }` [INFO] [stdout] df0e3cb84f67df8d2958e9a028c4d3f926de83129ad2b183fc5b33e56b878760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dc921a5f9b303a5ddf47a79e57fb9c2d865a3df3e3a1d1973de404d23334176 [INFO] running `Command { std: "docker" "start" "-a" "7dc921a5f9b303a5ddf47a79e57fb9c2d865a3df3e3a1d1973de404d23334176", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking comrak v0.18.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking async-compression v0.4.23 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking blog-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/markd.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut inserter; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/markd.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut inserter; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/bin/markd.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let row: (i32,) = sqlx::query_as("insert into myposts (post_title, post_body) values ($1, $2) returning post_id") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/bin/markd.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let row: (i32,) = sqlx::query_as("insert into myposts (post_title, post_body) values ($1, $2) returning post_id") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs::File`, and `io::Read` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, fs::File, io::Read, sync::Arc}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::IntoMakeService` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::routing::IntoMakeService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::services::ServeDir` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower_http::services::ServeDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs::File`, and `io::Read` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, fs::File, io::Read, sync::Arc}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::IntoMakeService` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::routing::IntoMakeService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::services::ServeDir` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower_http::services::ServeDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.6.3 [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" "7dc921a5f9b303a5ddf47a79e57fb9c2d865a3df3e3a1d1973de404d23334176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc921a5f9b303a5ddf47a79e57fb9c2d865a3df3e3a1d1973de404d23334176", kill_on_drop: false }` [INFO] [stdout] 7dc921a5f9b303a5ddf47a79e57fb9c2d865a3df3e3a1d1973de404d23334176