[INFO] cloning repository https://github.com/AnubhavPurohit691/axumlearning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnubhavPurohit691/axumlearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnubhavPurohit691%2Faxumlearning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnubhavPurohit691%2Faxumlearning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d1c224c37892f6c4057ad087692d9743a3767e7 [INFO] checking AnubhavPurohit691/axumlearning against master#36e2b8a3a7aad93f8a92db6d254b746aa94ed6da for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnubhavPurohit691%2Faxumlearning" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AnubhavPurohit691/axumlearning [INFO] finished tweaking git repo https://github.com/AnubhavPurohit691/axumlearning [INFO] tweaked toml for git repo https://github.com/AnubhavPurohit691/axumlearning written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AnubhavPurohit691/axumlearning on toolchain 36e2b8a3a7aad93f8a92db6d254b746aa94ed6da [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AnubhavPurohit691/axumlearning 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" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded sqlx-macros v0.8.5 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 980debcbcded9ec75e29cade4ae9ff242d023e88fc49b67523d8fdd1e3fc5cbd [INFO] running `Command { std: "docker" "start" "-a" "980debcbcded9ec75e29cade4ae9ff242d023e88fc49b67523d8fdd1e3fc5cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "980debcbcded9ec75e29cade4ae9ff242d023e88fc49b67523d8fdd1e3fc5cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980debcbcded9ec75e29cade4ae9ff242d023e88fc49b67523d8fdd1e3fc5cbd", kill_on_drop: false }` [INFO] [stdout] 980debcbcded9ec75e29cade4ae9ff242d023e88fc49b67523d8fdd1e3fc5cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58b05c82390ce460b79d381421a72146bd618e60123b64c978300f166c1f8c94 [INFO] running `Command { std: "docker" "start" "-a" "58b05c82390ce460b79d381421a72146bd618e60123b64c978300f166c1f8c94", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking sqlx-core v0.8.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stderr] Checking crudinrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serve::Listener` [INFO] [stdout] --> src/main.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{response::IntoResponse, routing::get, serve::Listener, Json, Router}; [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: `serve::Listener` [INFO] [stdout] --> src/main.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{response::IntoResponse, routing::get, serve::Listener, Json, Router}; [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 variable: `app_state` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let app_state = Arc::new(AppState{db:pool.clone()}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppState{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | db:Pool [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let app_state = Arc::new(AppState{db:pool.clone()}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppState{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | db:Pool [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 47.84s [INFO] running `Command { std: "docker" "inspect" "58b05c82390ce460b79d381421a72146bd618e60123b64c978300f166c1f8c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b05c82390ce460b79d381421a72146bd618e60123b64c978300f166c1f8c94", kill_on_drop: false }` [INFO] [stdout] 58b05c82390ce460b79d381421a72146bd618e60123b64c978300f166c1f8c94