[INFO] cloning repository https://github.com/Mugua030/shortener-svc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mugua030/shortener-svc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMugua030%2Fshortener-svc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMugua030%2Fshortener-svc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 168e4e64ecfb83076787462ee7eb7be026d750be [INFO] checking Mugua030/shortener-svc against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMugua030%2Fshortener-svc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mugua030/shortener-svc [INFO] finished tweaking git repo https://github.com/Mugua030/shortener-svc [INFO] tweaked toml for git repo https://github.com/Mugua030/shortener-svc written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mugua030/shortener-svc on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mugua030/shortener-svc 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.14 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded winnow v0.6.11 [INFO] [stderr] Downloaded axum-macros v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1b09e9733960fb3eb533bdab8d5f03ba52ceb31583e00d78647d732b7ca69c6 [INFO] running `Command { std: "docker" "start" "-a" "e1b09e9733960fb3eb533bdab8d5f03ba52ceb31583e00d78647d732b7ca69c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1b09e9733960fb3eb533bdab8d5f03ba52ceb31583e00d78647d732b7ca69c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b09e9733960fb3eb533bdab8d5f03ba52ceb31583e00d78647d732b7ca69c6", kill_on_drop: false }` [INFO] [stdout] e1b09e9733960fb3eb533bdab8d5f03ba52ceb31583e00d78647d732b7ca69c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b942a2581ba3a0ca0086902be0c3f488780a7f57c52a605d49e3553283abcb1b [INFO] running `Command { std: "docker" "start" "-a" "b942a2581ba3a0ca0086902be0c3f488780a7f57c52a605d49e3553283abcb1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.6.11 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling utoipa-gen v4.3.0 [INFO] [stderr] Compiling axum-macros v0.4.1 [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 futures-executor v0.3.30 [INFO] [stderr] Checking axum-core v0.4.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [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 shortener_svc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/handler.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn}; [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: `Context` [INFO] [stdout] --> src/config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/entity.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/repo/repo.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, PgPool}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/repo/repo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/handler.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, warn}; [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: `Context` [INFO] [stdout] --> src/config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/entity.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/repo/repo.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, PgPool}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/repo/repo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/repo/repo.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | async fn delete(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/repo/repo.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | async fn update(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/repo/repo.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | fn set(&self, key: &str, value: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/repo/repo.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | fn set(&self, key: &str, value: String) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/repo/repo.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/repo/repo.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | async fn delete(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/repo/repo.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | async fn update(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/repo/repo.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | fn set(&self, key: &str, value: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/repo/repo.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | fn set(&self, key: &str, value: String) -> Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/repo/repo.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_init` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn app_init() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `app_init` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn app_init() -> Result { [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 23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10` [INFO] running `Command { std: "docker" "inspect" "b942a2581ba3a0ca0086902be0c3f488780a7f57c52a605d49e3553283abcb1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b942a2581ba3a0ca0086902be0c3f488780a7f57c52a605d49e3553283abcb1b", kill_on_drop: false }` [INFO] [stdout] b942a2581ba3a0ca0086902be0c3f488780a7f57c52a605d49e3553283abcb1b