[INFO] cloning repository https://github.com/tomtimusprime/acronym-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomtimusprime/acronym-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomtimusprime%2Facronym-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomtimusprime%2Facronym-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bc2eb3452eeca3c42589118e6208a72a12443da [INFO] checking tomtimusprime/acronym-api against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomtimusprime%2Facronym-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomtimusprime/acronym-api on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomtimusprime/acronym-api [INFO] finished tweaking git repo https://github.com/tomtimusprime/acronym-api [INFO] tweaked toml for git repo https://github.com/tomtimusprime/acronym-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tomtimusprime/acronym-api 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" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded rust-embed-utils v8.1.0 [INFO] [stderr] Downloaded axum-test-helper v0.3.0 [INFO] [stderr] Downloaded rust-embed-impl v8.1.0 [INFO] [stderr] Downloaded sqlformat v0.2.3 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded utoipa-gen v4.1.0 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded utoipa-swagger-ui v5.0.0 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] [stderr] Downloaded rust-embed v8.1.0 [INFO] [stderr] Downloaded zerocopy-derive v0.7.30 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded zerocopy v0.7.30 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded utoipa v4.1.0 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a74866d25bef6b04c890fb076fe9db2b7cc6dd2fecea5f5d30c80c504a2b421 [INFO] running `Command { std: "docker" "start" "-a" "5a74866d25bef6b04c890fb076fe9db2b7cc6dd2fecea5f5d30c80c504a2b421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a74866d25bef6b04c890fb076fe9db2b7cc6dd2fecea5f5d30c80c504a2b421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a74866d25bef6b04c890fb076fe9db2b7cc6dd2fecea5f5d30c80c504a2b421", kill_on_drop: false }` [INFO] [stdout] 5a74866d25bef6b04c890fb076fe9db2b7cc6dd2fecea5f5d30c80c504a2b421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 889927ba3f6f91795bd38ee69a083ca520b9ca961058c3e073d6f917725827c1 [INFO] running `Command { std: "docker" "start" "-a" "889927ba3f6f91795bd38ee69a083ca520b9ca961058c3e073d6f917725827c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking zerocopy v0.7.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking futures-util v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking ahash v0.8.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling rust-embed-utils v8.1.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling rust-embed-impl v8.1.0 [INFO] [stderr] Checking rust-embed v8.1.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling utoipa-gen v4.1.0 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Checking utoipa v4.1.0 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking hyper v1.0.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking sqlx-mysql v0.7.3 [INFO] [stderr] Checking hyper-util v0.1.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking axum-test-helper v0.3.0 [INFO] [stderr] Checking acronym-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/db.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, MySqlPool, Row, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Redirect` [INFO] [stdout] --> src/rest.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{extract, Extension, Json, Router, response::Redirect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/rest.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utoipa_swagger_ui::SwaggerUi` [INFO] [stdout] --> src/rest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use utoipa_swagger_ui::SwaggerUi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/db.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, MySqlPool, Row, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Redirect` [INFO] [stdout] --> src/rest.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{extract, Extension, Json, Router, response::Redirect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/rest.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utoipa_swagger_ui::SwaggerUi` [INFO] [stdout] --> src/rest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use utoipa_swagger_ui::SwaggerUi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSchema` [INFO] [stdout] --> src/rest.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use utoipa::{OpenApi, ToSchema}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSchema` [INFO] [stdout] --> src/rest.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use utoipa::{OpenApi, ToSchema}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rest.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl crate::db::Acronym { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Acronym { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rest.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl crate::db::Acronym { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Acronym { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_connection` is never used [INFO] [stdout] --> src/rest.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | async fn setup_connection() -> TestClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "889927ba3f6f91795bd38ee69a083ca520b9ca961058c3e073d6f917725827c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889927ba3f6f91795bd38ee69a083ca520b9ca961058c3e073d6f917725827c1", kill_on_drop: false }` [INFO] [stdout] 889927ba3f6f91795bd38ee69a083ca520b9ca961058c3e073d6f917725827c1