[INFO] cloning repository https://github.com/felixcaldeira/pudu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felixcaldeira/pudu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixcaldeira%2Fpudu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixcaldeira%2Fpudu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bd934c76b7e943659295dc753ce9be2c4de093c [INFO] checking felixcaldeira/pudu/7bd934c76b7e943659295dc753ce9be2c4de093c against master#fe7294f8793d001bc3f9d197e7cdef6cdb46c15a for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixcaldeira%2Fpudu" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/felixcaldeira/pudu [INFO] finished tweaking git repo https://github.com/felixcaldeira/pudu [INFO] tweaked toml for git repo https://github.com/felixcaldeira/pudu written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/felixcaldeira/pudu on toolchain fe7294f8793d001bc3f9d197e7cdef6cdb46c15a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/felixcaldeira/pudu 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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded hostname v0.4.2 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded ammonia v3.3.1 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded flate2 v1.1.4 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded moxcms v0.7.7 [INFO] [stderr] Downloaded time v0.3.43 [INFO] [stderr] Downloaded lettre v0.11.19 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded isolang v2.4.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded timeago v0.4.2 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded pxfm v0.1.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 748459d52dcec03b13ffe91d39b0edcb89a013f2f644f997817b5ace522c62d5 [INFO] running `Command { std: "docker" "start" "-a" "748459d52dcec03b13ffe91d39b0edcb89a013f2f644f997817b5ace522c62d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "748459d52dcec03b13ffe91d39b0edcb89a013f2f644f997817b5ace522c62d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748459d52dcec03b13ffe91d39b0edcb89a013f2f644f997817b5ace522c62d5", kill_on_drop: false }` [INFO] [stdout] 748459d52dcec03b13ffe91d39b0edcb89a013f2f644f997817b5ace522c62d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eee65fdd13a88f7904604618e4dce61c33c722e10b02ed0d2aa84cc94e4d5eb [INFO] running `Command { std: "docker" "start" "-a" "1eee65fdd13a88f7904604618e4dce61c33c722e10b02ed0d2aa84cc94e4d5eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking pxfm v0.1.25 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking moxcms v0.7.7 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking isolang v2.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking ammonia v3.3.1 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking timeago v0.4.2 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking lettre v0.11.19 [INFO] [stderr] Checking pudu v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query_as!( [INFO] [stdout] 45 | | Image, [INFO] [stdout] 46 | | "SELECT * FROM images WHERE id = ?", [INFO] [stdout] 47 | | id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Image, [INFO] [stdout] 85 | | "SELECT * FROM images WHERE nanoid = ?", [INFO] [stdout] 86 | | nanoid [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | INSERT INTO images (nanoid, mime_type, ext) [INFO] [stdout] 112 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 116 | | ext [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | "DELETE FROM images WHERE id = ?", [INFO] [stdout] 146 | | id [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query_as!( [INFO] [stdout] 25 | | File, [INFO] [stdout] 26 | | "SELECT * FROM files WHERE id = ?", [INFO] [stdout] 27 | | id [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_as!( [INFO] [stdout] 40 | | File, [INFO] [stdout] 41 | | "SELECT * FROM files WHERE file_name = ?", [INFO] [stdout] 42 | | file_name [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | INSERT INTO files (file_name, mime_type) [INFO] [stdout] 71 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 74 | | mime_type [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "DELETE FROM files WHERE id = ?", [INFO] [stdout] 102 | | id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query_as!( [INFO] [stdout] 60 | | User, [INFO] [stdout] 61 | | "SELECT * FROM users", [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!( [INFO] [stdout] 71 | | User, [INFO] [stdout] 72 | | "SELECT * FROM users WHERE username = ?", [INFO] [stdout] 73 | | username [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query_as!( [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 85 | | email [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query_as!( [INFO] [stdout] 95 | | User, [INFO] [stdout] 96 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 97 | | id [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | ... let result = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 112 | | ... "INSERT INTO users (username, email, password_hash, academic_title, first_name, last_name, flags) VALUES (?, ?, ?, ?, ?... [INFO] [stdout] 113 | | ... data.username, [INFO] [stdout] 114 | | ... data.email, [INFO] [stdout] ... | [INFO] [stdout] 119 | | ... data.flags.bits(), [INFO] [stdout] 120 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / sqlx::query!( [INFO] [stdout] 142 | | "UPDATE users SET password_hash = ? WHERE id = ?", [INFO] [stdout] 143 | | password_hash, [INFO] [stdout] 144 | | id [INFO] [stdout] 145 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / sqlx::query!( [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | UPDATE users [INFO] [stdout] 160 | | SET image_id = ? [INFO] [stdout] ... | [INFO] [stdout] 163 | | image_id, id [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / sqlx::query!( [INFO] [stdout] 222 | | "DELETE FROM users WHERE id = ?", [INFO] [stdout] 223 | | id [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query_as!( [INFO] [stdout] 62 | | PendingUser, [INFO] [stdout] 63 | | "SELECT * FROM pending_users WHERE expires_at > NOW()", [INFO] [stdout] 64 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | PendingUser, [INFO] [stdout] 74 | | "SELECT * FROM pending_users WHERE email = ? AND expires_at > NOW()", [INFO] [stdout] 75 | | email [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / sqlx::query_as!( [INFO] [stdout] 85 | | PendingUser, [INFO] [stdout] 86 | | "SELECT * FROM pending_users WHERE nanoid = ? AND expires_at > NOW()", [INFO] [stdout] 87 | | nanoid [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 102 | | "INSERT INTO pending_users (email, nanoid, expires_at) [INFO] [stdout] 103 | | VALUES (?, ?, NOW() + INTERVAL 28 DAY)", [INFO] [stdout] 104 | | email, [INFO] [stdout] 105 | | nanoid [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / sqlx::query!( [INFO] [stdout] 120 | | "DELETE FROM pending_users WHERE email = ?", [INFO] [stdout] 121 | | email [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query_as!( [INFO] [stdout] 49 | | Article, [INFO] [stdout] 50 | | "SELECT * FROM articles WHERE id = ?", [INFO] [stdout] 51 | | id [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | Article, [INFO] [stdout] 65 | | "SELECT * FROM articles WHERE slug = ?", [INFO] [stdout] 66 | | slug [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | / sqlx::query_as!( [INFO] [stdout] 78 | | Article, [INFO] [stdout] 79 | | "SELECT * FROM articles ORDER BY created_at DESC" [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | INSERT INTO articles (image_id, title, slug, description, content, published) [INFO] [stdout] 93 | | VALUES (?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 100 | | data.published, [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | / sqlx::query!( [INFO] [stdout] 167 | | "DELETE FROM articles WHERE id = ?", [INFO] [stdout] 168 | | id [INFO] [stdout] 169 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query_as!( [INFO] [stdout] 45 | | ModuleCategory, [INFO] [stdout] 46 | | "SELECT * FROM module_categories WHERE id = ?", [INFO] [stdout] 47 | | id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query_as!( [INFO] [stdout] 59 | | ModuleCategory, [INFO] [stdout] 60 | | "SELECT * FROM module_categories WHERE slug = ?", [INFO] [stdout] 61 | | slug [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | ModuleCategory, [INFO] [stdout] 73 | | "SELECT * FROM module_categories ORDER BY title ASC" [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | INSERT INTO module_categories [INFO] [stdout] 87 | | (image_id, slug, title, description, published) [INFO] [stdout] ... | [INFO] [stdout] 94 | | data.published, [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | "DELETE FROM module_categories WHERE id = ?", [INFO] [stdout] 146 | | id [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query_as!( [INFO] [stdout] 58 | | Module, [INFO] [stdout] 59 | | "SELECT * FROM modules WHERE id = ?", [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Module, [INFO] [stdout] 74 | | "SELECT * FROM modules WHERE slug = ?", [INFO] [stdout] 75 | | slug [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | / sqlx::query_as!( [INFO] [stdout] 88 | | Module, [INFO] [stdout] 89 | | "SELECT * FROM modules WHERE category_id = ? ORDER BY created_at DESC", [INFO] [stdout] 90 | | category_id [INFO] [stdout] 91 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query_as!( [INFO] [stdout] 101 | | Module, [INFO] [stdout] 102 | | "SELECT * FROM modules ORDER BY created_at DESC" [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO modules [INFO] [stdout] 116 | | (image_id, user_id, category_id, slug, title, description, content, grade_flags, published) [INFO] [stdout] ... | [INFO] [stdout] 127 | | data.published, [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | "DELETE FROM modules WHERE id = ?", [INFO] [stdout] 193 | | id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | ModuleMaterial, [INFO] [stdout] 42 | | "SELECT * FROM module_materials WHERE module_id = ? ORDER BY position", [INFO] [stdout] 43 | | module_id [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | ModuleMaterial, [INFO] [stdout] 57 | | "SELECT * FROM module_materials WHERE id = ?", [INFO] [stdout] 58 | | id [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / sqlx::query!( [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | INSERT INTO module_materials [INFO] [stdout] 72 | | (module_id, file_id, title, material_type, position) [INFO] [stdout] ... | [INFO] [stdout] 79 | | data.position [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | ModuleLesson, [INFO] [stdout] 35 | | "SELECT * FROM module_lessons WHERE id = ?", [INFO] [stdout] 36 | | id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query_as!( [INFO] [stdout] 48 | | ModuleLesson, [INFO] [stdout] 49 | | "SELECT * FROM module_lessons WHERE module_id = ? ORDER BY position", [INFO] [stdout] 50 | | module_id [INFO] [stdout] 51 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "INSERT INTO module_lessons (module_id, title, position) VALUES (?, ?, ?)", [INFO] [stdout] 63 | | data.module_id, [INFO] [stdout] 64 | | data.title, [INFO] [stdout] 65 | | data.position [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!( [INFO] [stdout] 136 | | "DELETE FROM module_lessons WHERE id = ?", [INFO] [stdout] 137 | | id [INFO] [stdout] 138 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_as!( [INFO] [stdout] 40 | | ModuleLessonSection, [INFO] [stdout] 41 | | "SELECT * FROM module_lesson_sections WHERE id = ?", [INFO] [stdout] 42 | | id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query_as!( [INFO] [stdout] 55 | | ModuleLessonSection, [INFO] [stdout] 56 | | "SELECT * FROM module_lesson_sections WHERE module_lesson_id = ? ORDER BY position", [INFO] [stdout] 57 | | lesson_id [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO module_lesson_sections [INFO] [stdout] 98 | | (module_lesson_id, title, content, duration, position) [INFO] [stdout] ... | [INFO] [stdout] 105 | | data.position [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / sqlx::query!( [INFO] [stdout] 181 | | "DELETE FROM module_lesson_sections WHERE id = ?", [INFO] [stdout] 182 | | id [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query_as!( [INFO] [stdout] 45 | | Image, [INFO] [stdout] 46 | | "SELECT * FROM images WHERE id = ?", [INFO] [stdout] 47 | | id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Image, [INFO] [stdout] 85 | | "SELECT * FROM images WHERE nanoid = ?", [INFO] [stdout] 86 | | nanoid [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | INSERT INTO images (nanoid, mime_type, ext) [INFO] [stdout] 112 | | VALUES (?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 116 | | ext [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/image.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | "DELETE FROM images WHERE id = ?", [INFO] [stdout] 146 | | id [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query_as!( [INFO] [stdout] 25 | | File, [INFO] [stdout] 26 | | "SELECT * FROM files WHERE id = ?", [INFO] [stdout] 27 | | id [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_as!( [INFO] [stdout] 40 | | File, [INFO] [stdout] 41 | | "SELECT * FROM files WHERE file_name = ?", [INFO] [stdout] 42 | | file_name [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | INSERT INTO files (file_name, mime_type) [INFO] [stdout] 71 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 74 | | mime_type [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/file.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "DELETE FROM files WHERE id = ?", [INFO] [stdout] 102 | | id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query_as!( [INFO] [stdout] 60 | | User, [INFO] [stdout] 61 | | "SELECT * FROM users", [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query_as!( [INFO] [stdout] 71 | | User, [INFO] [stdout] 72 | | "SELECT * FROM users WHERE username = ?", [INFO] [stdout] 73 | | username [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query_as!( [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | "SELECT * FROM users WHERE email = ?", [INFO] [stdout] 85 | | email [INFO] [stdout] 86 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query_as!( [INFO] [stdout] 95 | | User, [INFO] [stdout] 96 | | "SELECT * FROM users WHERE id = ?", [INFO] [stdout] 97 | | id [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | ... let result = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 112 | | ... "INSERT INTO users (username, email, password_hash, academic_title, first_name, last_name, flags) VALUES (?, ?, ?, ?, ?... [INFO] [stdout] 113 | | ... data.username, [INFO] [stdout] 114 | | ... data.email, [INFO] [stdout] ... | [INFO] [stdout] 119 | | ... data.flags.bits(), [INFO] [stdout] 120 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / sqlx::query!( [INFO] [stdout] 142 | | "UPDATE users SET password_hash = ? WHERE id = ?", [INFO] [stdout] 143 | | password_hash, [INFO] [stdout] 144 | | id [INFO] [stdout] 145 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / sqlx::query!( [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | UPDATE users [INFO] [stdout] 160 | | SET image_id = ? [INFO] [stdout] ... | [INFO] [stdout] 163 | | image_id, id [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/user.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / sqlx::query!( [INFO] [stdout] 222 | | "DELETE FROM users WHERE id = ?", [INFO] [stdout] 223 | | id [INFO] [stdout] 224 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query_as!( [INFO] [stdout] 62 | | PendingUser, [INFO] [stdout] 63 | | "SELECT * FROM pending_users WHERE expires_at > NOW()", [INFO] [stdout] 64 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | PendingUser, [INFO] [stdout] 74 | | "SELECT * FROM pending_users WHERE email = ? AND expires_at > NOW()", [INFO] [stdout] 75 | | email [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / sqlx::query_as!( [INFO] [stdout] 85 | | PendingUser, [INFO] [stdout] 86 | | "SELECT * FROM pending_users WHERE nanoid = ? AND expires_at > NOW()", [INFO] [stdout] 87 | | nanoid [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 102 | | "INSERT INTO pending_users (email, nanoid, expires_at) [INFO] [stdout] 103 | | VALUES (?, ?, NOW() + INTERVAL 28 DAY)", [INFO] [stdout] 104 | | email, [INFO] [stdout] 105 | | nanoid [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/pending_user.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / sqlx::query!( [INFO] [stdout] 120 | | "DELETE FROM pending_users WHERE email = ?", [INFO] [stdout] 121 | | email [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query_as!( [INFO] [stdout] 49 | | Article, [INFO] [stdout] 50 | | "SELECT * FROM articles WHERE id = ?", [INFO] [stdout] 51 | | id [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / sqlx::query_as!( [INFO] [stdout] 64 | | Article, [INFO] [stdout] 65 | | "SELECT * FROM articles WHERE slug = ?", [INFO] [stdout] 66 | | slug [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | / sqlx::query_as!( [INFO] [stdout] 78 | | Article, [INFO] [stdout] 79 | | "SELECT * FROM articles ORDER BY created_at DESC" [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 91 | | r#" [INFO] [stdout] 92 | | INSERT INTO articles (image_id, title, slug, description, content, published) [INFO] [stdout] 93 | | VALUES (?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 100 | | data.published, [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/article.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | / sqlx::query!( [INFO] [stdout] 167 | | "DELETE FROM articles WHERE id = ?", [INFO] [stdout] 168 | | id [INFO] [stdout] 169 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query_as!( [INFO] [stdout] 45 | | ModuleCategory, [INFO] [stdout] 46 | | "SELECT * FROM module_categories WHERE id = ?", [INFO] [stdout] 47 | | id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / sqlx::query_as!( [INFO] [stdout] 59 | | ModuleCategory, [INFO] [stdout] 60 | | "SELECT * FROM module_categories WHERE slug = ?", [INFO] [stdout] 61 | | slug [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query_as!( [INFO] [stdout] 72 | | ModuleCategory, [INFO] [stdout] 73 | | "SELECT * FROM module_categories ORDER BY title ASC" [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | INSERT INTO module_categories [INFO] [stdout] 87 | | (image_id, slug, title, description, published) [INFO] [stdout] ... | [INFO] [stdout] 94 | | data.published, [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_category.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | "DELETE FROM module_categories WHERE id = ?", [INFO] [stdout] 146 | | id [INFO] [stdout] 147 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | / sqlx::query_as!( [INFO] [stdout] 58 | | Module, [INFO] [stdout] 59 | | "SELECT * FROM modules WHERE id = ?", [INFO] [stdout] 60 | | id [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / sqlx::query_as!( [INFO] [stdout] 73 | | Module, [INFO] [stdout] 74 | | "SELECT * FROM modules WHERE slug = ?", [INFO] [stdout] 75 | | slug [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | / sqlx::query_as!( [INFO] [stdout] 88 | | Module, [INFO] [stdout] 89 | | "SELECT * FROM modules WHERE category_id = ? ORDER BY created_at DESC", [INFO] [stdout] 90 | | category_id [INFO] [stdout] 91 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query_as!( [INFO] [stdout] 101 | | Module, [INFO] [stdout] 102 | | "SELECT * FROM modules ORDER BY created_at DESC" [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | INSERT INTO modules [INFO] [stdout] 116 | | (image_id, user_id, category_id, slug, title, description, content, grade_flags, published) [INFO] [stdout] ... | [INFO] [stdout] 127 | | data.published, [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | "DELETE FROM modules WHERE id = ?", [INFO] [stdout] 193 | | id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / sqlx::query_as!( [INFO] [stdout] 41 | | ModuleMaterial, [INFO] [stdout] 42 | | "SELECT * FROM module_materials WHERE module_id = ? ORDER BY position", [INFO] [stdout] 43 | | module_id [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query_as!( [INFO] [stdout] 56 | | ModuleMaterial, [INFO] [stdout] 57 | | "SELECT * FROM module_materials WHERE id = ?", [INFO] [stdout] 58 | | id [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_material.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / sqlx::query!( [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | INSERT INTO module_materials [INFO] [stdout] 72 | | (module_id, file_id, title, material_type, position) [INFO] [stdout] ... | [INFO] [stdout] 79 | | data.position [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | ModuleLesson, [INFO] [stdout] 35 | | "SELECT * FROM module_lessons WHERE id = ?", [INFO] [stdout] 36 | | id [INFO] [stdout] 37 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / sqlx::query_as!( [INFO] [stdout] 48 | | ModuleLesson, [INFO] [stdout] 49 | | "SELECT * FROM module_lessons WHERE module_id = ? ORDER BY position", [INFO] [stdout] 50 | | module_id [INFO] [stdout] 51 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "INSERT INTO module_lessons (module_id, title, position) VALUES (?, ?, ?)", [INFO] [stdout] 63 | | data.module_id, [INFO] [stdout] 64 | | data.title, [INFO] [stdout] 65 | | data.position [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!( [INFO] [stdout] 136 | | "DELETE FROM module_lessons WHERE id = ?", [INFO] [stdout] 137 | | id [INFO] [stdout] 138 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_as!( [INFO] [stdout] 40 | | ModuleLessonSection, [INFO] [stdout] 41 | | "SELECT * FROM module_lesson_sections WHERE id = ?", [INFO] [stdout] 42 | | id [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query_as!( [INFO] [stdout] 55 | | ModuleLessonSection, [INFO] [stdout] 56 | | "SELECT * FROM module_lesson_sections WHERE module_lesson_id = ? ORDER BY position", [INFO] [stdout] 57 | | lesson_id [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO module_lesson_sections [INFO] [stdout] 98 | | (module_lesson_id, title, content, duration, position) [INFO] [stdout] ... | [INFO] [stdout] 105 | | data.position [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/models/module_lesson_section.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / sqlx::query!( [INFO] [stdout] 181 | | "DELETE FROM module_lesson_sections WHERE id = ?", [INFO] [stdout] 182 | | id [INFO] [stdout] 183 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nanoid::nanoid` [INFO] [stdout] --> src/models/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nanoid::nanoid; [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 imports: `DEFAULT_COST`, `hash`, and `verify` [INFO] [stdout] --> src/models/pending_user.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppError` [INFO] [stdout] --> src/models/user_flags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `article::Article` [INFO] [stdout] --> src/models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use article::Article; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_material.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_lesson.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_lesson_section.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_category::ModuleCategory` [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use module_category::ModuleCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::Module` [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_lesson::ModuleLesson` [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use module_lesson::ModuleLesson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_lesson_section::ModuleLessonSection` [INFO] [stdout] --> src/models.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use module_lesson_section::ModuleLessonSection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppError` [INFO] [stdout] --> src/models/newsletter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::error::AppError` [INFO] [stdout] --> src/models/workshop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::handlers::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `newsletter::Newsletter` [INFO] [stdout] --> src/models.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use newsletter::Newsletter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `workshop::Workshop` [INFO] [stdout] --> src/models.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use workshop::Workshop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Tera` [INFO] [stdout] --> src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tera::Tera; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Context` [INFO] [stdout] --> src/handlers/home.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tera::Context; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Redirect`, `extract::Request`, and `middleware::Next` [INFO] [stdout] --> src/handlers/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | extract::Request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | extract::multipart::{MultipartRejection, MultipartError}, [INFO] [stdout] 5 | response::{Html, IntoResponse, Response, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TERA` and `helpers::base_context` [INFO] [stdout] --> src/handlers/error.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{TERA, helpers::base_context}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handlers/login.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Multipart`, `http::StatusCode`, and `multipart::MultipartRejection` [INFO] [stdout] --> src/handlers/register.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Image` [INFO] [stdout] --> src/handlers/register.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handlers/register.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Context` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tera::Context; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::{User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Path`, and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/users.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Html`, `Multipart`, `Request`, `http::StatusCode`, and `multipart::MultipartRejection` [INFO] [stdout] --> src/handlers/manage/single_user.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::TERA` [INFO] [stdout] --> src/handlers/manage/single_user.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::TERA; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helpers::base_context` [INFO] [stdout] --> src/handlers/manage/single_user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::helpers::base_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handlers/manage/single_user.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/module_categories.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/modules.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest` and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest` and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Image` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleLessonUpdate` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::module_lesson::{ModuleLesson, ModuleLessonCreate, ModuleLessonUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::models::{User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/handlers/manage/single_lesson.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleLessonSectionUpdate` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:9:92 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::module_lesson_section::{ModuleLessonSection, ModuleLessonSectionCreate, ModuleLessonSectionUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/handlers/manage/single_section.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{State, Path, Json, Multipart, multipart::MultipartRejection}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/midware/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppError` [INFO] [stdout] --> src/midware/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{TERA, AppError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nanoid::nanoid` [INFO] [stdout] --> src/models/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nanoid::nanoid; [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 imports: `DEFAULT_COST`, `hash`, and `verify` [INFO] [stdout] --> src/models/pending_user.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use bcrypt::{hash, verify, DEFAULT_COST}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppError` [INFO] [stdout] --> src/models/user_flags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `article::Article` [INFO] [stdout] --> src/models.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use article::Article; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_material.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_lesson.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/module_lesson_section.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_category::ModuleCategory` [INFO] [stdout] --> src/models.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use module_category::ModuleCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::Module` [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use module::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_lesson::ModuleLesson` [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use module_lesson::ModuleLesson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module_lesson_section::ModuleLessonSection` [INFO] [stdout] --> src/models.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use module_lesson_section::ModuleLessonSection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AppError` [INFO] [stdout] --> src/models/newsletter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::error::AppError` [INFO] [stdout] --> src/models/workshop.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::handlers::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `newsletter::Newsletter` [INFO] [stdout] --> src/models.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use newsletter::Newsletter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `workshop::Workshop` [INFO] [stdout] --> src/models.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use workshop::Workshop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Tera` [INFO] [stdout] --> src/handlers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tera::Tera; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Context` [INFO] [stdout] --> src/handlers/home.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tera::Context; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Redirect`, `extract::Request`, and `middleware::Next` [INFO] [stdout] --> src/handlers/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | middleware::Next, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | extract::Request, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | extract::multipart::{MultipartRejection, MultipartError}, [INFO] [stdout] 5 | response::{Html, IntoResponse, Response, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TERA` and `helpers::base_context` [INFO] [stdout] --> src/handlers/error.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{TERA, helpers::base_context}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handlers/login.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Multipart`, `http::StatusCode`, and `multipart::MultipartRejection` [INFO] [stdout] --> src/handlers/register.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Image` [INFO] [stdout] --> src/handlers/register.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handlers/register.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tera::Context` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tera::Context; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::{User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Path`, and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/users.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `Html`, `Multipart`, `Request`, `http::StatusCode`, and `multipart::MultipartRejection` [INFO] [stdout] --> src/handlers/manage/single_user.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::TERA` [INFO] [stdout] --> src/handlers/manage/single_user.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::TERA; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helpers::base_context` [INFO] [stdout] --> src/handlers/manage/single_user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::helpers::base_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handlers/manage/single_user.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/module_categories.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/modules.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest` and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | response::{Html, Redirect, Response, IntoResponse}, [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest` and `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:2:79 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Request, State, Path, Multipart, multipart::MultipartRejection, FromRequest}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Image` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleLessonUpdate` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::module_lesson::{ModuleLesson, ModuleLessonCreate, ModuleLessonUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::models::{User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/handlers/manage/single_lesson.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleLessonSectionUpdate` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:9:92 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::module_lesson_section::{ModuleLessonSection, ModuleLessonSectionCreate, ModuleLessonSectionUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/handlers/manage/single_section.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{State, Path, Json, Multipart, multipart::MultipartRejection}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/midware/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppError` [INFO] [stdout] --> src/midware/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{TERA, AppError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/manage/modules.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut content = String::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/manage/modules.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut content = String::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/home.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/login.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/home.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/login.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/manage/dashboard.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_category` [INFO] [stdout] --> src/handlers/manage/single_module.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let module_category = ModuleCategory::find_by_slug(&state.db, &category_slug) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let category = ModuleCategory::find_by_slug(&state.db, &category_slug) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_category` [INFO] [stdout] --> src/handlers/manage/single_module.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let module_category = ModuleCategory::find_by_slug(&state.db, &category_slug) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let lesson = ModuleLesson::find_by_id(&state.db, lesson_id) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_section.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | Path((category_slug, module_slug, lesson_id, section_id)): Path<(String, String, u32, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_section.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | Path((category_slug, module_slug, lesson_id, section_id)): Path<(String, String, u32, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let category = ModuleCategory::find_by_slug(&state.db, &category_slug) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_module_lessons.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/contact.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let lesson = ModuleLesson::find_by_id(&state.db, lesson_id) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_lesson_sections.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | Path((category_slug, module_slug, lesson_id)): Path<(String, String, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_section.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | Path((category_slug, module_slug, lesson_id, section_id)): Path<(String, String, u32, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lesson_id` [INFO] [stdout] --> src/handlers/manage/single_section.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | Path((category_slug, module_slug, lesson_id, section_id)): Path<(String, String, u32, u32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_slug` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_slug` [INFO] [stdout] --> src/handlers/manage/single_module_materials.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | Path((category_slug, module_slug)): Path<(String, String)>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/contact.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pudu` (bin "pudu" test) due to 48 previous errors; 63 warnings emitted [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/midware/auth.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pudu` (bin "pudu") due to 48 previous errors; 63 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1eee65fdd13a88f7904604618e4dce61c33c722e10b02ed0d2aa84cc94e4d5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eee65fdd13a88f7904604618e4dce61c33c722e10b02ed0d2aa84cc94e4d5eb", kill_on_drop: false }` [INFO] [stdout] 1eee65fdd13a88f7904604618e4dce61c33c722e10b02ed0d2aa84cc94e4d5eb