[INFO] cloning repository https://github.com/dimitrymd/UniversalPath.org [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dimitrymd/UniversalPath.org" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimitrymd%2FUniversalPath.org", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimitrymd%2FUniversalPath.org'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e2a17067c3ac49d6a15a5ec5865a20387edb541 [INFO] checking dimitrymd/UniversalPath.org against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimitrymd%2FUniversalPath.org" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (2598/4062) Updating files: 64% (2600/4062) Updating files: 65% (2641/4062) Updating files: 66% (2681/4062) Updating files: 67% (2722/4062) Updating files: 67% (2761/4062) Updating files: 68% (2763/4062) Updating files: 69% (2803/4062) Updating files: 70% (2844/4062) Updating files: 71% (2885/4062) Updating files: 72% (2925/4062) Updating files: 72% (2938/4062) Updating files: 73% (2966/4062) Updating files: 74% (3006/4062) Updating files: 74% (3020/4062) Updating files: 75% (3047/4062) Updating files: 76% (3088/4062) Updating files: 76% (3121/4062) Updating files: 77% (3128/4062) Updating files: 78% (3169/4062) Updating files: 79% (3209/4062) Updating files: 80% (3250/4062) Updating files: 80% (3259/4062) Updating files: 81% (3291/4062) Updating files: 82% (3331/4062) Updating files: 83% (3372/4062) Updating files: 84% (3413/4062) Updating files: 85% (3453/4062) Updating files: 86% (3494/4062) Updating files: 87% (3534/4062) Updating files: 88% (3575/4062) Updating files: 89% (3616/4062) Updating files: 90% (3656/4062) Updating files: 91% (3697/4062) Updating files: 92% (3738/4062) Updating files: 93% (3778/4062) Updating files: 94% (3819/4062) Updating files: 95% (3859/4062) Updating files: 95% (3887/4062) Updating files: 96% (3900/4062) Updating files: 97% (3941/4062) Updating files: 98% (3981/4062) Updating files: 99% (4022/4062) Updating files: 100% (4062/4062) Updating files: 100% (4062/4062), done. [INFO] started tweaking git repo https://github.com/dimitrymd/UniversalPath.org [INFO] finished tweaking git repo https://github.com/dimitrymd/UniversalPath.org [INFO] tweaked toml for git repo https://github.com/dimitrymd/UniversalPath.org written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dimitrymd/UniversalPath.org on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dimitrymd/UniversalPath.org 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded fsevent-sys v4.1.0 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded bcrypt v0.14.0 [INFO] [stderr] Downloaded deranged v0.4.1 [INFO] [stderr] Downloaded rocket_db_pools v0.1.0 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded tokio-util v0.7.14 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded crossbeam-channel v0.5.14 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.23 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded html-escape v0.2.13 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.62 [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded ref-cast v1.0.24 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded rocket_dyn_templates v0.1.0 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded ref-cast-impl v1.0.24 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3293b6a9eb67d5ac97c87e66e21e8e519d470b120a00c26fce01547a277a7cd6 [INFO] running `Command { std: "docker" "start" "-a" "3293b6a9eb67d5ac97c87e66e21e8e519d470b120a00c26fce01547a277a7cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3293b6a9eb67d5ac97c87e66e21e8e519d470b120a00c26fce01547a277a7cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3293b6a9eb67d5ac97c87e66e21e8e519d470b120a00c26fce01547a277a7cd6", kill_on_drop: false }` [INFO] [stdout] 3293b6a9eb67d5ac97c87e66e21e8e519d470b120a00c26fce01547a277a7cd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9feb6a7439d68a34b86b35b11d97e0cb3528c01f2f31c02ef3e5e09eb879e6e9 [INFO] running `Command { std: "docker" "start" "-a" "9feb6a7439d68a34b86b35b11d97e0cb3528c01f2f31c02ef3e5e09eb879e6e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Checking deranged v0.4.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.62 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking winnow v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking deunicode v1.6.1 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking normpath v1.3.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-id v0.3.5 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking markdown v1.0.0-alpha.23 [INFO] [stderr] Checking bcrypt v0.14.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0 [INFO] [stderr] Checking rocket_db_pools v0.1.0 [INFO] [stderr] Checking universal_path v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let article = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | Article, [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 117 | | id [INFO] [stdout] 118 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT [INFO] [stdout] 131 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 141 | | id [INFO] [stdout] 142 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | r#" [INFO] [stdout] 188 | | SELECT [INFO] [stdout] 189 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 201 | | limit [INFO] [stdout] 202 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 251 | | r#" [INFO] [stdout] 252 | | SELECT [INFO] [stdout] 253 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 265 | | category_id, limit, offset [INFO] [stdout] 266 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:315:23 [INFO] [stdout] | [INFO] [stdout] 315 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 316 | | r#" [INFO] [stdout] 317 | | SELECT [INFO] [stdout] 318 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 331 | | search_query, search_query, search_query, search_query, limit [INFO] [stdout] 332 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 383 | | r#" [INFO] [stdout] 384 | | INSERT INTO articles [INFO] [stdout] 385 | | (title, release_date, publish_date, author_id, note, category_id, [INFO] [stdout] ... | [INFO] [stdout] 411 | | new_article.new_ [INFO] [stdout] 412 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:561:22 [INFO] [stdout] | [INFO] [stdout] 561 | let result = sqlx::query!("DELETE FROM articles WHERE id = ?", id) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let article = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | Article, [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 117 | | id [INFO] [stdout] 118 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT [INFO] [stdout] 131 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 141 | | id [INFO] [stdout] 142 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/category.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 351 | | r#" [INFO] [stdout] 352 | | INSERT INTO categories [INFO] [stdout] 353 | | (title, note, intro, sub, priority, keywords, description, [INFO] [stdout] ... | [INFO] [stdout] 369 | | new_category.available_on_api [INFO] [stdout] 370 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 187 | | r#" [INFO] [stdout] 188 | | SELECT [INFO] [stdout] 189 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 201 | | limit [INFO] [stdout] 202 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 251 | | r#" [INFO] [stdout] 252 | | SELECT [INFO] [stdout] 253 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 265 | | category_id, limit, offset [INFO] [stdout] 266 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:315:23 [INFO] [stdout] | [INFO] [stdout] 315 | let results = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 316 | | r#" [INFO] [stdout] 317 | | SELECT [INFO] [stdout] 318 | | a.id, a.title, a.release_date, a.publish_date, a.author_id, a.note, a.category_id, [INFO] [stdout] ... | [INFO] [stdout] 331 | | search_query, search_query, search_query, search_query, limit [INFO] [stdout] 332 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 383 | | r#" [INFO] [stdout] 384 | | INSERT INTO articles [INFO] [stdout] 385 | | (title, release_date, publish_date, author_id, note, category_id, [INFO] [stdout] ... | [INFO] [stdout] 411 | | new_article.new_ [INFO] [stdout] 412 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/article.rs:561:22 [INFO] [stdout] | [INFO] [stdout] 561 | let result = sqlx::query!("DELETE FROM articles WHERE id = ?", id) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let term = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | Term, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 46 | | id [INFO] [stdout] 47 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 58 | | Term, [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 63 | | "# [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 75 | | Term, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 82 | | letter [INFO] [stdout] 83 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT DISTINCT first_letter [INFO] [stdout] 96 | | FROM Term [INFO] [stdout] 97 | | ORDER BY first_letter [INFO] [stdout] 98 | | "# [INFO] [stdout] 99 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | INSERT INTO Term [INFO] [stdout] 117 | | (title, description, first_letter, created) [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_term.first_letter [INFO] [stdout] 124 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 202 | | Term, [INFO] [stdout] 203 | | r#" [INFO] [stdout] 204 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 210 | | search_query [INFO] [stdout] 211 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/category.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 351 | | r#" [INFO] [stdout] 352 | | INSERT INTO categories [INFO] [stdout] 353 | | (title, note, intro, sub, priority, keywords, description, [INFO] [stdout] ... | [INFO] [stdout] 369 | | new_category.available_on_api [INFO] [stdout] 370 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let term = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | Term, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 46 | | id [INFO] [stdout] 47 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 58 | | Term, [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 63 | | "# [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 75 | | Term, [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 82 | | letter [INFO] [stdout] 83 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT DISTINCT first_letter [INFO] [stdout] 96 | | FROM Term [INFO] [stdout] 97 | | ORDER BY first_letter [INFO] [stdout] 98 | | "# [INFO] [stdout] 99 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/user.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 232 | | r#" [INFO] [stdout] 233 | | INSERT INTO users [INFO] [stdout] 234 | | (login, name, pass, email, rights) [INFO] [stdout] ... | [INFO] [stdout] 242 | | rights [INFO] [stdout] 243 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | INSERT INTO Term [INFO] [stdout] 117 | | (title, description, first_letter, created) [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_term.first_letter [INFO] [stdout] 124 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/term.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let terms = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 202 | | Term, [INFO] [stdout] 203 | | r#" [INFO] [stdout] 204 | | SELECT id, title, description, first_letter, created [INFO] [stdout] ... | [INFO] [stdout] 210 | | search_query [INFO] [stdout] 211 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/user.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/user.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 232 | | r#" [INFO] [stdout] 233 | | INSERT INTO users [INFO] [stdout] 234 | | (login, name, pass, email, rights) [INFO] [stdout] ... | [INFO] [stdout] 242 | | rights [INFO] [stdout] 243 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/models/user.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let result = sqlx::query!("DELETE FROM users WHERE id = ?", id) [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[E0422]: cannot find struct, variant or union type `delete_photo` in this scope [INFO] [stdout] --> src/api/photos.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | delete_photo, [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `create_photo` [INFO] [stdout] ... [INFO] [stdout] 259 | #[post("/photos", format = "json", data = "")] [INFO] [stdout] | ----------------------------------------------------- similarly named struct `create_photo` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | routes.extend(banners::routes()); [INFO] [stdout] | ^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/routes/index.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::index::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/articles.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::articles::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/categories.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::categories::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/admin.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::admin::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/terms.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::terms::routes`: not accessible [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::auth::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::routes; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - routes.extend(banners::routes()); [INFO] [stdout] 40 + routes.extend(routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | routes.extend(banners::get_routes()); [INFO] [stdout] | ^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::get_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `get_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - routes.extend(banners::get_routes()); [INFO] [stdout] 59 + routes.extend(get_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `post_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | routes.extend(banners::post_routes()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::post_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `post_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - routes.extend(banners::post_routes()); [INFO] [stdout] 77 + routes.extend(post_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `put_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | routes.extend(banners::put_routes()); [INFO] [stdout] | ^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::put_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `put_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - routes.extend(banners::put_routes()); [INFO] [stdout] 95 + routes.extend(put_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | routes.extend(banners::delete_routes()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::delete_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `delete_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - routes.extend(banners::delete_routes()); [INFO] [stdout] 113 + routes.extend(delete_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `delete_photo` in this scope [INFO] [stdout] --> src/api/photos.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | delete_photo, [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `create_photo` [INFO] [stdout] ... [INFO] [stdout] 259 | #[post("/photos", format = "json", data = "")] [INFO] [stdout] | ----------------------------------------------------- similarly named struct `create_photo` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limits` and `ToByteUnit` [INFO] [stdout] --> src/api/photos.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::data::{Limits, ToByteUnit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/api/photos.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/photos.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | routes.extend(banners::routes()); [INFO] [stdout] | ^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/routes/index.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::index::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/articles.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::articles::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/categories.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::categories::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/admin.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::admin::routes`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/routes/terms.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn routes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `crate::routes::terms::routes`: not accessible [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::auth::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::routes; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - routes.extend(banners::routes()); [INFO] [stdout] 40 + routes.extend(routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | routes.extend(banners::get_routes()); [INFO] [stdout] | ^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::get_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::get_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `get_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - routes.extend(banners::get_routes()); [INFO] [stdout] 59 + routes.extend(get_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Route`, `delete`, and `put` [INFO] [stdout] --> src/api/banners.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{Route, get, post, put, delete}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `post_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | routes.extend(banners::post_routes()); [INFO] [stdout] | ^^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::post_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::post_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `post_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - routes.extend(banners::post_routes()); [INFO] [stdout] 77 + routes.extend(post_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateBanner` [INFO] [stdout] --> src/api/banners.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::db::{UniversalPathDb, models::{Banner, NewBanner, UpdateBanner}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::connection::ConnectionExt` [INFO] [stdout] --> src/api/banners.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::connection::ConnectionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/banners.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::connection::ConnectionExt` [INFO] [stdout] --> src/api/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db::connection::ConnectionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `put_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | routes.extend(banners::put_routes()); [INFO] [stdout] | ^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::put_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::put_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `put_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - routes.extend(banners::put_routes()); [INFO] [stdout] 95 + routes.extend(put_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/db/models/term.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_routes` in module `banners` [INFO] [stdout] --> src/api/mod.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | routes.extend(banners::delete_routes()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `banners` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::articles::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::authors::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::categories::delete_routes; [INFO] [stdout] | [INFO] [stdout] 11 + use crate::api::photos::delete_routes; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] help: if you import `delete_routes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - routes.extend(banners::delete_routes()); [INFO] [stdout] 113 + routes.extend(delete_routes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Redirect` [INFO] [stdout] --> src/routes/terms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::response::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flash` [INFO] [stdout] --> src/routes/admin.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::response::{Redirect, Flash}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/routes/admin.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Limits` and `ToByteUnit` [INFO] [stdout] --> src/api/photos.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::data::{Limits, ToByteUnit}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/api/photos.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/photos.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Route`, `delete`, and `put` [INFO] [stdout] --> src/api/banners.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{Route, get, post, put, delete}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateBanner` [INFO] [stdout] --> src/api/banners.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::db::{UniversalPathDb, models::{Banner, NewBanner, UpdateBanner}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::connection::ConnectionExt` [INFO] [stdout] --> src/api/banners.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::connection::ConnectionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/api/banners.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::connection::ConnectionExt` [INFO] [stdout] --> src/api/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db::connection::ConnectionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Row` [INFO] [stdout] --> src/db/models/term.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::Row; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::Redirect` [INFO] [stdout] --> src/routes/terms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::response::Redirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flash` [INFO] [stdout] --> src/routes/admin.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::response::{Redirect, Flash}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/routes/admin.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_conn` found for struct `rocket_db_pools::Connection` in the current scope [INFO] [stdout] --> src/api/photos.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | .fetch_one(db.get_conn()) [INFO] [stdout] | ^^^^^^^^ method not found in `rocket_db_pools::Connection` [INFO] [stdout] | [INFO] [stdout] ::: src/db/connection.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_conn(&mut self) -> &mut sqlx::MySqlConnection; [INFO] [stdout] | -------- the method is available for `rocket_db_pools::Connection` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConnectionExt` which provides `get_conn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::db::connection::ConnectionExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_conn` found for struct `rocket_db_pools::Connection` in the current scope [INFO] [stdout] --> src/api/photos.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | .fetch_one(db.get_conn()) [INFO] [stdout] | ^^^^^^^^ method not found in `rocket_db_pools::Connection` [INFO] [stdout] | [INFO] [stdout] ::: src/db/connection.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_conn(&mut self) -> &mut sqlx::MySqlConnection; [INFO] [stdout] | -------- the method is available for `rocket_db_pools::Connection` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ConnectionExt` which provides `get_conn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::db::connection::ConnectionExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:216:65 [INFO] [stdout] | [INFO] [stdout] 216 | let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/api/photos.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/option.rs:1025:12 [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 216 - let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] 216 + let file_extension = Path::new(&form.photo.name().unwrap_or("unknown")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| filename.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| &filename.clone()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:216:65 [INFO] [stdout] | [INFO] [stdout] 216 | let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/api/photos.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/option.rs:1025:12 [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 216 - let file_extension = Path::new(&form.photo.name().unwrap_or("unknown".to_string())) [INFO] [stdout] 216 + let file_extension = Path::new(&form.photo.name().unwrap_or("unknown")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| filename.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:237:56 [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| filename.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| &filename.clone()), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/photos.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | file_name: form.photo.name().unwrap_or_else(|| filename.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/banners.rs:89:66 [INFO] [stdout] | [INFO] [stdout] 89 | let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/api/banners.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/option.rs:1025:12 [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 89 - let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] 89 + let file_extension = Path::new(&form.banner.name().unwrap_or("unknown")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api/banners.rs:89:66 [INFO] [stdout] | [INFO] [stdout] 89 | let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/api/banners.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/option.rs:1025:12 [INFO] [stdout] help: try removing the method call [INFO] [stdout] | [INFO] [stdout] 89 - let file_extension = Path::new(&form.banner.name().unwrap_or("unknown".to_string())) [INFO] [stdout] 89 + let file_extension = Path::new(&form.banner.name().unwrap_or("unknown")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/models/author.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut conn = db.get_conn(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 82 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 91 | .fetch_all(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 106 | .fetch_all(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 91 | .fetch_all(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 82 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 106 | .fetch_all(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 121 | .fetch_all(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 106 | .fetch_all(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db/models/author.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut conn = db.get_conn(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 82 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 91 | .fetch_all(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 106 | .fetch_all(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 91 | .fetch_all(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 82 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 106 | .fetch_all(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 121 | .fetch_all(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 106 | .fetch_all(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for mutable reference `&mut MySqlConnection` in the current scope [INFO] [stdout] --> src/db/models/photo.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | let tx = conn.begin().await?; [INFO] [stdout] | ^^^^^ method not found in `&mut MySqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `begin` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Acquire; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx_core::any::connection::backend::AnyConnectionBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 415 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 423 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 441 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 423 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:491:18 [INFO] [stdout] | [INFO] [stdout] 465 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 473 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 491 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 473 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:541:18 [INFO] [stdout] | [INFO] [stdout] 515 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 523 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 541 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 523 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for mutable reference `&mut MySqlConnection` in the current scope [INFO] [stdout] --> src/db/models/photo.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | let tx = conn.begin().await?; [INFO] [stdout] | ^^^^^ method not found in `&mut MySqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `begin` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Acquire; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx_core::any::connection::backend::AnyConnectionBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 415 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 423 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 441 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 423 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:491:18 [INFO] [stdout] | [INFO] [stdout] 465 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 473 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 491 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 473 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/photo.rs:541:18 [INFO] [stdout] | [INFO] [stdout] 515 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 523 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 541 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 523 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 204 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 213 | .fetch_optional(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 231 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 213 | .fetch_optional(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 257 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 265 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 283 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 265 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for mutable reference `&mut MySqlConnection` in the current scope [INFO] [stdout] --> src/db/models/tag.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | let tx = conn.begin().await?; [INFO] [stdout] | ^^^^^ method not found in `&mut MySqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `begin` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Acquire; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx_core::any::connection::backend::AnyConnectionBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 204 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 213 | .fetch_optional(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 231 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 213 | .fetch_optional(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 343 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 351 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 369 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 351 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 257 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 265 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 283 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 265 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/db/models/tag.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | Ok(result.rows_affected()) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u64` due to the type of the argument passed [INFO] [stdout] --> src/db/models/tag.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | Ok(result.rows_affected()) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `begin` found for mutable reference `&mut MySqlConnection` in the current scope [INFO] [stdout] --> src/db/models/tag.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | let tx = conn.begin().await?; [INFO] [stdout] | ^^^^^ method not found in `&mut MySqlConnection` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `begin` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Acquire; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx::Connection; [INFO] [stdout] | [INFO] [stdout] 1 + use sqlx_core::any::connection::backend::AnyConnectionBackend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `conn` [INFO] [stdout] --> src/db/models/tag.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 343 | let conn = db.get_conn(); [INFO] [stdout] | ---- move occurs because `conn` has type `&mut MySqlConnection`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 351 | .fetch_one(conn) [INFO] [stdout] | ---- value moved here [INFO] [stdout] ... [INFO] [stdout] 369 | .execute(conn) [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] help: consider creating a fresh reborrow of `conn` here [INFO] [stdout] | [INFO] [stdout] 351 | .fetch_one(&mut *conn) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/db/models/tag.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | Ok(result.rows_affected()) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `u64` due to the type of the argument passed [INFO] [stdout] --> src/db/models/tag.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | Ok(result.rows_affected()) [INFO] [stdout] | ^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*db` as mutable more than once at a time [INFO] [stdout] --> src/db/models/settings.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 121 | let conn = db.get_conn(); [INFO] [stdout] | -- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 124 | let existing = Self::find_by_name(db, &new_setting.setting_name).await?; [INFO] [stdout] | ^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 140 | .execute(conn) [INFO] [stdout] | ---- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*db` as mutable more than once at a time [INFO] [stdout] --> src/db/models/settings.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 121 | let conn = db.get_conn(); [INFO] [stdout] | -- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 124 | let existing = Self::find_by_name(db, &new_setting.setting_name).await?; [INFO] [stdout] | ^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 140 | .execute(conn) [INFO] [stdout] | ---- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rocket::http::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)` [INFO] [stdout] --> src/routes/admin.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | cookies.remove_private(Cookie::named("admin_token")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rocket::http::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)` [INFO] [stdout] --> src/routes/admin.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | cookies.remove_private(Cookie::named("admin_user")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rocket::http::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)` [INFO] [stdout] --> src/routes/admin.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | cookies.remove_private(Cookie::named("admin_token")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rocket::http::Cookie::<'c>::named`: use `Cookie::build(name)` or `Cookie::from(name)` [INFO] [stdout] --> src/routes/admin.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | cookies.remove_private(Cookie::named("admin_user")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0422, E0425, E0499, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `universal_path` (bin "universal_path") due to 39 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0422, E0425, E0499, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `universal_path` (bin "universal_path" test) due to 39 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9feb6a7439d68a34b86b35b11d97e0cb3528c01f2f31c02ef3e5e09eb879e6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9feb6a7439d68a34b86b35b11d97e0cb3528c01f2f31c02ef3e5e09eb879e6e9", kill_on_drop: false }` [INFO] [stdout] 9feb6a7439d68a34b86b35b11d97e0cb3528c01f2f31c02ef3e5e09eb879e6e9