[INFO] cloning repository https://github.com/dinhnq-gihot/discord-gym-reminder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dinhnq-gihot/discord-gym-reminder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhnq-gihot%2Fdiscord-gym-reminder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhnq-gihot%2Fdiscord-gym-reminder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e570b81e57bff84e0c53c8b5fabddfec4ea3163 [INFO] testing dinhnq-gihot/discord-gym-reminder against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdinhnq-gihot%2Fdiscord-gym-reminder" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dinhnq-gihot/discord-gym-reminder [INFO] finished tweaking git repo https://github.com/dinhnq-gihot/discord-gym-reminder [INFO] tweaked toml for git repo https://github.com/dinhnq-gihot/discord-gym-reminder written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dinhnq-gihot/discord-gym-reminder on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dinhnq-gihot/discord-gym-reminder 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typesize-derive v0.1.7 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded bb8 v0.8.5 [INFO] [stderr] Downloaded anstyle-query v1.1.1 [INFO] [stderr] Downloaded anyhow v1.0.89 [INFO] [stderr] Downloaded diesel-async v0.5.0 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded indexmap v2.5.0 [INFO] [stderr] Downloaded ipnet v2.10.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.7 [INFO] [stderr] Downloaded hyper v0.14.30 [INFO] [stderr] Downloaded webpki-roots v0.26.5 [INFO] [stderr] Downloaded rustix v0.38.36 [INFO] [stderr] Downloaded diesel v2.2.4 [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded ipnetwork v0.20.0 [INFO] [stderr] Downloaded bigdecimal v0.4.5 [INFO] [stderr] Downloaded flate2 v1.0.33 [INFO] [stderr] Downloaded diesel_async_migrations v0.15.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.5 [INFO] [stderr] Downloaded anstyle-wincon v3.0.4 [INFO] [stderr] Downloaded anstream v0.6.15 [INFO] [stderr] Downloaded command_attr v0.5.2 [INFO] [stderr] Downloaded tokio v1.40.0 [INFO] [stderr] Downloaded serenity v0.12.2 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded gimli v0.31.0 [INFO] [stderr] Downloaded triomphe v0.1.13 [INFO] [stderr] Downloaded typesize v0.1.9 [INFO] [stderr] Downloaded addr2line v0.24.1 [INFO] [stderr] Downloaded diesel_async_migrations_macros v0.12.0 [INFO] [stderr] Downloaded schannel v0.1.24 [INFO] [stderr] Downloaded async-trait v0.1.82 [INFO] [stderr] Downloaded colorchoice v1.0.2 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded env_logger v0.11.5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e32e29b8db62dba34f1060d7ac3cda95fca94f02d78ec7f6ccd29ee89625597b [INFO] running `Command { std: "docker" "start" "-a" "e32e29b8db62dba34f1060d7ac3cda95fca94f02d78ec7f6ccd29ee89625597b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e32e29b8db62dba34f1060d7ac3cda95fca94f02d78ec7f6ccd29ee89625597b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32e29b8db62dba34f1060d7ac3cda95fca94f02d78ec7f6ccd29ee89625597b", kill_on_drop: false }` [INFO] [stdout] e32e29b8db62dba34f1060d7ac3cda95fca94f02d78ec7f6ccd29ee89625597b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c10617dd11c57c80afea431b99b0e42c8b9a65cc9d3b316d175955591599e6b0 [INFO] running `Command { std: "docker" "start" "-a" "c10617dd11c57c80afea431b99b0e42c8b9a65cc9d3b316d175955591599e6b0", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling diesel_async_migrations_macros v0.12.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling command_attr v0.5.2 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling bb8 v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling diesel v2.2.4 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling diesel-async v0.5.0 [INFO] [stderr] Compiling diesel_async_migrations v0.15.0 [INFO] [stderr] Compiling discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Http`, `MessageBuilder`, and `Utc` [INFO] [stdout] --> src/handlers/file_upload.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utc, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Message, [INFO] [stdout] 24 | MessageBuilder, [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: `time::Duration` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/handlers/file_upload.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Datelike, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_clone` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let ctx_clone = Arc::clone(&client.http); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExerciseRepository` is never constructed [INFO] [stdout] --> src/db/repositories/exercise.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ExerciseRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `get_by_id`, and `get_by_musculature` are never used [INFO] [stdout] --> src/db/repositories/exercise.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExerciseRepository { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn get_by_musculature(&self, musculature_id: i32) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MusculatureRepository` is never constructed [INFO] [stdout] --> src/db/repositories/musculature.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MusculatureRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `get_by_id`, and `get_by_name` are never used [INFO] [stdout] --> src/db/repositories/musculature.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl MusculatureRepository { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn get_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db/repositories/schedule.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl ScheduleRepository { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 36 | pub async fn get_by_user_id(&self, user_id: &str) -> DbResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_by_user_id_and_day(&self, user_id: &str, day: &str) -> DbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn get_by_id(&self, id: i32) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn add_musculature_to_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn update_musculature_in_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn get_upcoming_by_day_in_time( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn delete(&self, user_id: &str, day: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_id`, `get_all`, and `update` are never used [INFO] [stdout] --> src/db/repositories/user.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl UserRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_by_id(&self, user_id: String) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get_all(&self) -> DbResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_all_exercises_in_musculature` is never used [INFO] [stdout] --> src/handlers/file_upload.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn message_all_exercises_in_musculature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_connection(&self) -> PooledConnection { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_connection(&self) -> PooledConnection<'_, AsyncPgConnection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 04s [INFO] running `Command { std: "docker" "inspect" "c10617dd11c57c80afea431b99b0e42c8b9a65cc9d3b316d175955591599e6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10617dd11c57c80afea431b99b0e42c8b9a65cc9d3b316d175955591599e6b0", kill_on_drop: false }` [INFO] [stdout] c10617dd11c57c80afea431b99b0e42c8b9a65cc9d3b316d175955591599e6b0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46f4d535b40a0c1ae8024ec96169bd92c1a8d27d3210f0b2369d0acd433dff65 [INFO] running `Command { std: "docker" "start" "-a" "46f4d535b40a0c1ae8024ec96169bd92c1a8d27d3210f0b2369d0acd433dff65", kill_on_drop: false }` [INFO] [stderr] Compiling discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Http`, `MessageBuilder`, and `Utc` [INFO] [stdout] --> src/handlers/file_upload.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Utc, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Message, [INFO] [stdout] 24 | MessageBuilder, [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: `time::Duration` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/handlers/file_upload.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Datelike, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_clone` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let ctx_clone = Arc::clone(&client.http); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExerciseRepository` is never constructed [INFO] [stdout] --> src/db/repositories/exercise.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ExerciseRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `get_by_id`, and `get_by_musculature` are never used [INFO] [stdout] --> src/db/repositories/exercise.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl ExerciseRepository { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn get_by_musculature(&self, musculature_id: i32) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MusculatureRepository` is never constructed [INFO] [stdout] --> src/db/repositories/musculature.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MusculatureRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `get_by_id`, and `get_by_name` are never used [INFO] [stdout] --> src/db/repositories/musculature.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl MusculatureRepository { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn get_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db/repositories/schedule.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 35 | impl ScheduleRepository { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 36 | pub async fn get_by_user_id(&self, user_id: &str) -> DbResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_by_user_id_and_day(&self, user_id: &str, day: &str) -> DbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn get_by_id(&self, id: i32) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn add_musculature_to_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub async fn update_musculature_in_schedule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn get_upcoming_by_day_in_time( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn delete(&self, user_id: &str, day: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_id`, `get_all`, and `update` are never used [INFO] [stdout] --> src/db/repositories/user.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl UserRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_by_id(&self, user_id: String) -> DbResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn get_all(&self) -> DbResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_all_exercises_in_musculature` is never used [INFO] [stdout] --> src/handlers/file_upload.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn message_all_exercises_in_musculature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_connection(&self) -> PooledConnection { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_connection(&self) -> PooledConnection<'_, AsyncPgConnection> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "46f4d535b40a0c1ae8024ec96169bd92c1a8d27d3210f0b2369d0acd433dff65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f4d535b40a0c1ae8024ec96169bd92c1a8d27d3210f0b2369d0acd433dff65", kill_on_drop: false }` [INFO] [stdout] 46f4d535b40a0c1ae8024ec96169bd92c1a8d27d3210f0b2369d0acd433dff65 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1d0833f935a704ce879f26140626792ba9fa39385245e890fb35b55034c173a [INFO] running `Command { std: "docker" "start" "-a" "b1d0833f935a704ce879f26140626792ba9fa39385245e890fb35b55034c173a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Http`, `MessageBuilder`, and `Utc` [INFO] [stderr] --> src/handlers/file_upload.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Utc, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | Http, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | Message, [INFO] [stderr] 24 | MessageBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | time::Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Datelike` [INFO] [stderr] --> src/handlers/file_upload.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | Datelike, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx_clone` [INFO] [stderr] --> src/main.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let ctx_clone = Arc::clone(&client.http); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_clone` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ExerciseRepository` is never constructed [INFO] [stderr] --> src/db/repositories/exercise.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ExerciseRepository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_all`, `get_by_id`, and `get_by_musculature` are never used [INFO] [stderr] --> src/db/repositories/exercise.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl ExerciseRepository { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub async fn get_by_musculature(&self, musculature_id: i32) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MusculatureRepository` is never constructed [INFO] [stderr] --> src/db/repositories/musculature.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MusculatureRepository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_all`, `get_by_id`, and `get_by_name` are never used [INFO] [stderr] --> src/db/repositories/musculature.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 13 | impl MusculatureRepository { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] 14 | pub async fn get_all(&self) -> Result, Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn get_by_id(&self, id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub async fn get_by_name(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/db/repositories/schedule.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 35 | impl ScheduleRepository { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 36 | pub async fn get_by_user_id(&self, user_id: &str) -> DbResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn get_by_user_id_and_day(&self, user_id: &str, day: &str) -> DbResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub async fn get_by_id(&self, id: i32) -> DbResult { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub async fn update( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub async fn add_musculature_to_schedule( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub async fn update_musculature_in_schedule( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | pub async fn get_upcoming_by_day_in_time( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub async fn delete(&self, user_id: &str, day: &str) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_by_id`, `get_all`, and `update` are never used [INFO] [stderr] --> src/db/repositories/user.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 26 | impl UserRepository { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 41 | pub async fn get_by_id(&self, user_id: String) -> DbResult { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub async fn get_all(&self) -> DbResult> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub async fn update( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `message_all_exercises_in_musculature` is never used [INFO] [stderr] --> src/handlers/file_upload.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | pub async fn message_all_exercises_in_musculature( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/db/mod.rs:59:33 [INFO] [stderr] | [INFO] [stderr] 59 | pub async fn get_connection(&self) -> PooledConnection { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | pub async fn get_connection(&self) -> PooledConnection<'_, AsyncPgConnection> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `discord-bot` (bin "discord-bot" test) generated 12 warnings (run `cargo fix --bin "discord-bot" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/discord_bot-16379748c9cc5eb4) [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" "b1d0833f935a704ce879f26140626792ba9fa39385245e890fb35b55034c173a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d0833f935a704ce879f26140626792ba9fa39385245e890fb35b55034c173a", kill_on_drop: false }` [INFO] [stdout] b1d0833f935a704ce879f26140626792ba9fa39385245e890fb35b55034c173a