[INFO] cloning repository https://github.com/StoneEpigraph/axum-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StoneEpigraph/axum-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneEpigraph%2Faxum-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneEpigraph%2Faxum-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c12b4420ca0d4d214f8ea32835e850faff8bffa [INFO] checking StoneEpigraph/axum-demo/4c12b4420ca0d4d214f8ea32835e850faff8bffa against nightly-2024-10-25 for legacyreceiver_rename [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStoneEpigraph%2Faxum-demo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StoneEpigraph/axum-demo on toolchain nightly-2024-10-25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StoneEpigraph/axum-demo [INFO] finished tweaking git repo https://github.com/StoneEpigraph/axum-demo [INFO] tweaked toml for git repo https://github.com/StoneEpigraph/axum-demo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/StoneEpigraph/axum-demo 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" "+nightly-2024-10-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0a5cb18f27d3bb359c141047f1990cb424e08b537551d0fbca50047ae960bf3 [INFO] running `Command { std: "docker" "start" "-a" "d0a5cb18f27d3bb359c141047f1990cb424e08b537551d0fbca50047ae960bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0a5cb18f27d3bb359c141047f1990cb424e08b537551d0fbca50047ae960bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a5cb18f27d3bb359c141047f1990cb424e08b537551d0fbca50047ae960bf3", kill_on_drop: false }` [INFO] [stdout] d0a5cb18f27d3bb359c141047f1990cb424e08b537551d0fbca50047ae960bf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-25" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bc6deb5dcee64bc7ab155b2bcc17e2dc98d4066200554228b855b935920e37b [INFO] running `Command { std: "docker" "start" "-a" "8bc6deb5dcee64bc7ab155b2bcc17e2dc98d4066200554228b855b935920e37b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rs-counter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/api/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | async fn wx_login(code: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/api/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | async fn wx_login(code: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/api/jwt.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/api/jwt.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openid`, `session_key`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/db.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub id: i32, [INFO] [stdout] 15 | pub openid: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub session_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub updated_at: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WrongCredentials` and `MissingCredentials` are never constructed [INFO] [stdout] --> src/api/jwt.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 57 | WrongCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | MissingCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openid`, `session_key`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/db.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub id: i32, [INFO] [stdout] 15 | pub openid: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub session_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub updated_at: PrimitiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WrongCredentials` and `MissingCredentials` are never constructed [INFO] [stdout] --> src/api/jwt.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 57 | WrongCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | MissingCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.02s [INFO] running `Command { std: "docker" "inspect" "8bc6deb5dcee64bc7ab155b2bcc17e2dc98d4066200554228b855b935920e37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc6deb5dcee64bc7ab155b2bcc17e2dc98d4066200554228b855b935920e37b", kill_on_drop: false }` [INFO] [stdout] 8bc6deb5dcee64bc7ab155b2bcc17e2dc98d4066200554228b855b935920e37b