[INFO] cloning repository https://github.com/onestay/speedcon_donation_tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onestay/speedcon_donation_tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonestay%2Fspeedcon_donation_tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonestay%2Fspeedcon_donation_tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dabb8a4c856f72a9787f0c2120ebf0b82cfa908 [INFO] checking onestay/speedcon_donation_tracker against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonestay%2Fspeedcon_donation_tracker" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/onestay/speedcon_donation_tracker on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/onestay/speedcon_donation_tracker [INFO] finished tweaking git repo https://github.com/onestay/speedcon_donation_tracker [INFO] tweaked toml for git repo https://github.com/onestay/speedcon_donation_tracker written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/onestay/speedcon_donation_tracker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e3fdbd6f54b0979083db90396f1e22dfd2000ae5ec91755a8d40d656a921e22 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e3fdbd6f54b0979083db90396f1e22dfd2000ae5ec91755a8d40d656a921e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e3fdbd6f54b0979083db90396f1e22dfd2000ae5ec91755a8d40d656a921e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3fdbd6f54b0979083db90396f1e22dfd2000ae5ec91755a8d40d656a921e22", kill_on_drop: false }` [INFO] [stdout] 8e3fdbd6f54b0979083db90396f1e22dfd2000ae5ec91755a8d40d656a921e22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c924d0e659179cf218b2243daac90ce518c1c0be8c2b72a1c58e3715b2ed434a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c924d0e659179cf218b2243daac90ce518c1c0be8c2b72a1c58e3715b2ed434a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking argon2 v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking sqlx-rt v0.5.9 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking serde_json v1.0.68 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking sqlx-core v0.5.9 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stderr] Checking speedcon_donation_tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/models/user.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Executor, FromRow, PgPool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TestError` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | TestError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password_mut` [INFO] [stdout] --> src/models/user.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn password_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/models/user.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Executor, FromRow, PgPool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TestError` [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | TestError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AuthError` [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | AuthError [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password_mut` [INFO] [stdout] --> src/models/user.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn password_mut(&mut self) -> &mut String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_user` [INFO] [stdout] --> src/models/user.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn insert_user(name: String, password: String, role: Role, db: &PgPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user_by_id` [INFO] [stdout] --> src/models/user.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn get_user_by_id(id: i32, db: &PgPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user_by_name` [INFO] [stdout] --> src/models/user.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn get_user_by_name(name: &str, db: &PgPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `login` [INFO] [stdout] --> src/models/user.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn login(name: &str, password: &str, db: &PgPool) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 45s [INFO] running `Command { std: "docker" "inspect" "c924d0e659179cf218b2243daac90ce518c1c0be8c2b72a1c58e3715b2ed434a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c924d0e659179cf218b2243daac90ce518c1c0be8c2b72a1c58e3715b2ed434a", kill_on_drop: false }` [INFO] [stdout] c924d0e659179cf218b2243daac90ce518c1c0be8c2b72a1c58e3715b2ed434a