[INFO] cloning repository https://github.com/qschwagle/Blogger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qschwagle/Blogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqschwagle%2FBlogger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqschwagle%2FBlogger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01d4d85f7d4ec6520ef59ae2b03c6e872af00ea6 [INFO] testing qschwagle/Blogger against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqschwagle%2FBlogger" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qschwagle/Blogger on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qschwagle/Blogger [INFO] finished tweaking git repo https://github.com/qschwagle/Blogger [INFO] tweaked toml for git repo https://github.com/qschwagle/Blogger written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/qschwagle/Blogger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c073e839aee19a1faf31a32dcbf0ad7e2f8e515401a5a3e8f475e665a622aead [INFO] running `Command { std: "docker" "start" "-a" "c073e839aee19a1faf31a32dcbf0ad7e2f8e515401a5a3e8f475e665a622aead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c073e839aee19a1faf31a32dcbf0ad7e2f8e515401a5a3e8f475e665a622aead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c073e839aee19a1faf31a32dcbf0ad7e2f8e515401a5a3e8f475e665a622aead", kill_on_drop: false }` [INFO] [stdout] c073e839aee19a1faf31a32dcbf0ad7e2f8e515401a5a3e8f475e665a622aead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cec73d097182c5cc6d4d3dc6b3856836b3b516324c843979307f6aa4bef5acca [INFO] running `Command { std: "docker" "start" "-a" "cec73d097182c5cc6d4d3dc6b3856836b3b516324c843979307f6aa4bef5acca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling sqlformat v0.1.1 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.0.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling awc v2.0.0 [INFO] [stderr] Compiling actix-web v3.1.0 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling blogger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `get` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | Responder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | HttpResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stdout] --> src/appdata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::postgres::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgRow` [INFO] [stdout] --> src/database/user.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::postgres::{PgPool, PgRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes/post.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes/post.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `routes::tag` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use routes::tag; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stdout] --> src/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::postgres::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/models/user.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::database::user::{create_db_user, get_db_user, delete_db_user, patch_db_user, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn patch(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/models/user.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn delete_user(app_data: &AppData, id: &Uuid, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_data` [INFO] [stdout] --> src/models/auth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/models/auth.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/models/auth.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/routes/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/routes/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | password: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mock_get_user` [INFO] [stdout] --> src/models/user.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn mock_get_user() -> GetUser { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserOrPasswordNotMatch` [INFO] [stdout] --> src/models/responses.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | UserOrPasswordNotMatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Authenticated` [INFO] [stdout] --> src/models/responses.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Authenticated(Uuid, Uuid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotImplemented` [INFO] [stdout] --> src/models/responses.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "cec73d097182c5cc6d4d3dc6b3856836b3b516324c843979307f6aa4bef5acca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec73d097182c5cc6d4d3dc6b3856836b3b516324c843979307f6aa4bef5acca", kill_on_drop: false }` [INFO] [stdout] cec73d097182c5cc6d4d3dc6b3856836b3b516324c843979307f6aa4bef5acca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0abfe487027f0eef9750e703382780257db39caf41f1621767cd1f96acbe7ad7 [INFO] running `Command { std: "docker" "start" "-a" "0abfe487027f0eef9750e703382780257db39caf41f1621767cd1f96acbe7ad7", kill_on_drop: false }` [INFO] [stderr] Compiling blogger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpResponse`, `Responder`, `get` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | get, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | Responder, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | HttpResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stdout] --> src/appdata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::postgres::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PgRow` [INFO] [stdout] --> src/database/user.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::postgres::{PgPool, PgRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes/post.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/routes/post.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `routes::tag` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use routes::tag; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stdout] --> src/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::postgres::PgPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/models/user.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::database::user::{create_db_user, get_db_user, delete_db_user, patch_db_user, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/post.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn patch(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/tag.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn delete(web::Path(id): web::Path) -> impl Responder { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/models/user.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn delete_user(app_data: &AppData, id: &Uuid, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_data` [INFO] [stdout] --> src/models/auth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/models/auth.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/models/auth.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/routes/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/routes/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | password: String [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mock_get_user` [INFO] [stdout] --> src/models/user.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn mock_get_user() -> GetUser { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserOrPasswordNotMatch` [INFO] [stdout] --> src/models/responses.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | UserOrPasswordNotMatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Authenticated` [INFO] [stdout] --> src/models/responses.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Authenticated(Uuid, Uuid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotImplemented` [INFO] [stdout] --> src/models/responses.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "0abfe487027f0eef9750e703382780257db39caf41f1621767cd1f96acbe7ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abfe487027f0eef9750e703382780257db39caf41f1621767cd1f96acbe7ad7", kill_on_drop: false }` [INFO] [stdout] 0abfe487027f0eef9750e703382780257db39caf41f1621767cd1f96acbe7ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 745e3232d346bb98ba02682e34c7ba74ed8b60aab1de1dfcbeac835088a30e1d [INFO] running `Command { std: "docker" "start" "-a" "745e3232d346bb98ba02682e34c7ba74ed8b60aab1de1dfcbeac835088a30e1d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `HttpResponse`, `Responder`, `get` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | get, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 5 | Responder, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | HttpResponse, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stderr] --> src/appdata.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::postgres::PgPool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PgRow` [INFO] [stderr] --> src/database/user.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::postgres::{PgPool, PgRow}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/routes/post.rs:10:45 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/routes/post.rs:21:46 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `routes::tag` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use routes::tag; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlx::postgres::PgPool` [INFO] [stderr] --> src/models/user.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sqlx::postgres::PgPool; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/models/user.rs:8:89 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::database::user::{create_db_user, get_db_user, delete_db_user, patch_db_user, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/post.rs:4:28 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/post.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn patch(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/post.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn delete(web::Path(id): web::Path<(String)>) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/tag.rs:4:28 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn get(web::Path(id): web::Path) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/tag.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn patch(web::Path(id): web::Path) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/tag.rs:22:31 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn delete(web::Path(id): web::Path) -> impl Responder { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `password` [INFO] [stderr] --> src/models/user.rs:120:57 [INFO] [stderr] | [INFO] [stderr] 120 | pub async fn delete_user(app_data: &AppData, id: &Uuid, password: &String) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_data` [INFO] [stderr] --> src/models/auth.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/models/auth.rs:7:47 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `password` [INFO] [stderr] --> src/models/auth.rs:7:66 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn authenticate(app_data: &AppData, username: &String, password: &String) -> ApiResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/routes/auth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `password` [INFO] [stderr] --> src/routes/auth.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | password: String [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `mock_get_user` [INFO] [stderr] --> src/models/user.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | pub async fn mock_get_user() -> GetUser { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UserOrPasswordNotMatch` [INFO] [stderr] --> src/models/responses.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | UserOrPasswordNotMatch, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Authenticated` [INFO] [stderr] --> src/models/responses.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Authenticated(Uuid, Uuid), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotImplemented` [INFO] [stderr] --> src/models/responses.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | NotImplemented, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blogger-dc51fd41971aa6b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "745e3232d346bb98ba02682e34c7ba74ed8b60aab1de1dfcbeac835088a30e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745e3232d346bb98ba02682e34c7ba74ed8b60aab1de1dfcbeac835088a30e1d", kill_on_drop: false }` [INFO] [stdout] 745e3232d346bb98ba02682e34c7ba74ed8b60aab1de1dfcbeac835088a30e1d