[INFO] cloning repository https://github.com/enchantednatures/youtinerary-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enchantednatures/youtinerary-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenchantednatures%2Fyoutinerary-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenchantednatures%2Fyoutinerary-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caef88de96b823bb1a91513183908af2a443eaab [INFO] checking enchantednatures/youtinerary-api against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenchantednatures%2Fyoutinerary-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enchantednatures/youtinerary-api on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enchantednatures/youtinerary-api [INFO] finished tweaking git repo https://github.com/enchantednatures/youtinerary-api [INFO] tweaked toml for git repo https://github.com/enchantednatures/youtinerary-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enchantednatures/youtinerary-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-session v3.0.0 [INFO] [stderr] Downloaded multer v3.0.0 [INFO] [stderr] Downloaded chrono v0.4.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e00c15eecd61bf01b0d1921b1fa070302eeeeb9ab2f5cc7cd41505def1c7dbff [INFO] running `Command { std: "docker" "start" "-a" "e00c15eecd61bf01b0d1921b1fa070302eeeeb9ab2f5cc7cd41505def1c7dbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e00c15eecd61bf01b0d1921b1fa070302eeeeb9ab2f5cc7cd41505def1c7dbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00c15eecd61bf01b0d1921b1fa070302eeeeb9ab2f5cc7cd41505def1c7dbff", kill_on_drop: false }` [INFO] [stdout] e00c15eecd61bf01b0d1921b1fa070302eeeeb9ab2f5cc7cd41505def1c7dbff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8216fcb7b578129be1fdcdb5d33f6086e72b5b279347eafbb24d7f5024581d6 [INFO] running `Command { std: "docker" "start" "-a" "e8216fcb7b578129be1fdcdb5d33f6086e72b5b279347eafbb24d7f5024581d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling chrono v0.4.32 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling chrono-tz v0.8.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking tower-http v0.5.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking async-session v3.0.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking sqlx-postgres v0.7.3 [INFO] [stderr] Checking oauth2 v4.4.2 [INFO] [stderr] Checking axum-extra v0.9.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking youtinerary-auth v0.1.0 (/opt/rustwide/workdir/youtinerary-auth) [INFO] [stderr] Checking youtinerary-api v0.1.0 (/opt/rustwide/workdir/youtinerary-api) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{Path, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error_handling::AppError` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error_handling::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::extract::{Path, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error_handling::AppError` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error_handling::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn put_itinerary(State(db): State, Path(id): Path) -> impl IntoResponse { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_itinerary(State(db): State, Path(id): Path) -> impl IntoResponse { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn put_itinerary(State(db): State, Path(id): Path) -> impl IntoResponse { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn delete_itinerary(State(db): State, Path(id): Path) -> impl IntoResponse { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> youtinerary-api/src/features/get_itineraries.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | State(db): State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(value: Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> youtinerary-api/src/models.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(sqlx::Type, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | lifetime `'r` defined here [INFO] [stdout] | requires that `'r` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] note: due to current limitations in the borrow checker, this implies a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.7.3/src/types/record.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | T: for<'a> Decode<'a, Postgres> + Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `sqlx::Decode` is not general enough [INFO] [stdout] --> youtinerary-api/src/models.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(sqlx::Type, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `i32` must implement `sqlx::Decode<'0, Postgres>`, for any lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `sqlx::Decode<'1, Postgres>`, for some specific lifetime `'1` [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> youtinerary-api/src/features/get_itinerary.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(value: Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> youtinerary-api/src/models.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(sqlx::Type, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | lifetime `'r` defined here [INFO] [stdout] | requires that `'r` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] note: due to current limitations in the borrow checker, this implies a `'static` lifetime [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.7.3/src/types/record.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | T: for<'a> Decode<'a, Postgres> + Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `sqlx::Decode` is not general enough [INFO] [stdout] --> youtinerary-api/src/models.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(sqlx::Type, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ implementation of `sqlx::Decode` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `i32` must implement `sqlx::Decode<'0, Postgres>`, for any lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `sqlx::Decode<'1, Postgres>`, for some specific lifetime `'1` [INFO] [stdout] = note: this error originates in the derive macro `sqlx::Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `youtinerary-api` (bin "youtinerary-api") due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `youtinerary-api` (bin "youtinerary-api" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8216fcb7b578129be1fdcdb5d33f6086e72b5b279347eafbb24d7f5024581d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8216fcb7b578129be1fdcdb5d33f6086e72b5b279347eafbb24d7f5024581d6", kill_on_drop: false }` [INFO] [stdout] e8216fcb7b578129be1fdcdb5d33f6086e72b5b279347eafbb24d7f5024581d6