[INFO] cloning repository https://github.com/lalilisa/w2-webapp-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lalilisa/w2-webapp-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalilisa%2Fw2-webapp-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalilisa%2Fw2-webapp-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3392c15f955f27b080a816c470e048dfe1feed28 [INFO] building lalilisa/w2-webapp-api against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalilisa%2Fw2-webapp-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lalilisa/w2-webapp-api on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lalilisa/w2-webapp-api [INFO] finished tweaking git repo https://github.com/lalilisa/w2-webapp-api [INFO] tweaked toml for git repo https://github.com/lalilisa/w2-webapp-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lalilisa/w2-webapp-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/hn63wospuvy/sqlx-template` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building lalilisa/w2-webapp-api against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalilisa%2Fw2-webapp-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lalilisa/w2-webapp-api on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lalilisa/w2-webapp-api [INFO] finished tweaking git repo https://github.com/lalilisa/w2-webapp-api [INFO] tweaked toml for git repo https://github.com/lalilisa/w2-webapp-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lalilisa/w2-webapp-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref_slice v1.2.1 [INFO] [stderr] Downloaded uuid v1.13.2 [INFO] [stderr] Downloaded backon v1.4.0 [INFO] [stderr] Downloaded kafka v0.9.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.9.4 [INFO] [stderr] Downloaded redis v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a85fb0b04f207722cee7a4bea275c25e88a986b40c82e0571bf0e440d299e21 [INFO] running `Command { std: "docker" "start" "-a" "1a85fb0b04f207722cee7a4bea275c25e88a986b40c82e0571bf0e440d299e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a85fb0b04f207722cee7a4bea275c25e88a986b40c82e0571bf0e440d299e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a85fb0b04f207722cee7a4bea275c25e88a986b40c82e0571bf0e440d299e21", kill_on_drop: false }` [INFO] [stdout] 1a85fb0b04f207722cee7a4bea275c25e88a986b40c82e0571bf0e440d299e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47689133857fdbebd13b771adcab5f22e8ad694c7f3178ef55cd6b31112816f3 [INFO] running `Command { std: "docker" "start" "-a" "47689133857fdbebd13b771adcab5f22e8ad694c7f3178ef55cd6b31112816f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling uuid v1.13.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling kafka v0.9.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling tokio-cron-scheduler v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling backon v1.4.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling sqlparser v0.47.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling ref_slice v1.2.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling redis v0.29.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sqlx-template v0.1.1 (https://github.com/hn63wospuvy/sqlx-template#85bbc381) [INFO] [stderr] Compiling w4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | DDLTemplate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | DeleteTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | DDLTemplate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/model/entity/tests.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[delete("delete from t_tests WHERE id = ANY(:ids)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/question.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/question.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/question.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/question.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | DeleteTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/model/entity/question.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[delete("delete from t_test_parts WHERE id = ANY(:ids)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/otp.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/otp.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DDLTemplate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/otp.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/otp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/template_notification.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/template_notification.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/template_notification.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/template_notification.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | DeleteTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/template_notification.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | DDLTemplate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/notification.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromRow, Serialize, Deserialize, Clone, InsertTemplate, SelectTemplate, UpdateTemplate,DeleteTemplate, DDLTemplate)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/notification.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromRow, Serialize, Deserialize, Clone, InsertTemplate, SelectTemplate, UpdateTemplate,DeleteTemplate, DDLTemplate)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/notification.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromRow, Serialize, Deserialize, Clone, InsertTemplate, SelectTemplate, UpdateTemplate,DeleteTemplate, DDLTemplate)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/notification.rs:7:104 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromRow, Serialize, Deserialize, Clone, InsertTemplate, SelectTemplate, UpdateTemplate,DeleteTemplate, DDLTemplate)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/notification.rs:7:120 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, FromRow, Serialize, Deserialize, Clone, InsertTemplate, SelectTemplate, UpdateTemplate,DeleteTemplate, DDLTemplate)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/model/entity/notification.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[delete("delete from notification WHERE id = ANY(:ids)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/model/entity/notification.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[update("update notification set is_read = true WHERE id = ANY(:ids)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user_test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | InsertTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SelectTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | UpdateTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | DeleteTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/model/entity/user_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | DDLTemplate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/model/entity/user_test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | #[select("select tp.* from user_test ut inner join t_tests t on ut.test_id = t.id inner join t_test_parts tp on t.id = tp.test_id where ut.id = :id and ut.user_id= :user_id")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[multi_query(file = "sql/init.sql", 0)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain '8b8eff55bd72abbb57167bc42222a7f91d41cb0d'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_id_in` in module `tests` [INFO] [stdout] --> src/repo/exam.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | tests::delete_id_in(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_id_in` in module `question` [INFO] [stdout] --> src/repo/exam.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | question::delete_id_in(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_question_by_user_test` in module `user_test` [INFO] [stdout] --> src/repo/exam.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let questions = user_test::find_question_by_user_test(user_test_id, user_id,get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `user_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_id_in` in module `notification` [INFO] [stdout] --> src/repo/notification.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | notification::read_id_in(&id, conn).await?; [INFO] [stdout] | ^^^^^^^^^^ not found in `notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_id_in` in module `notification` [INFO] [stdout] --> src/repo/notification.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | notification::delete_id_in(&id, conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TestDataRequest` [INFO] [stdout] --> src/api/exam/question/create_question.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::req::exam::{QuestionDataRequest, TestDataRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::error::AppError` [INFO] [stdout] --> src/api/exam/test_result/submit_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/api/exam/test_result/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod submit_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserTestRequest` [INFO] [stdout] --> src/api/exam/test_result/submit_test.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::model::req::exam::{UserTestRequest, UserTestSubmitRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/api/exam/test_result/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod submit_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> src/api/template/get_all_templates.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::common::response::res::{ApiError, ApiResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::res::exam::TestExamResponse` [INFO] [stdout] --> src/api/template/get_all_templates.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::res::exam::TestExamResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/function/exam.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppErrorCode` [INFO] [stdout] --> src/function/user.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::error::{AppError, AppErrorCode}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::entity::user::Users` [INFO] [stdout] --> src/function/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::entity::user::Users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/common/kafka/consumer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/common/kafka/producer.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnceLock` [INFO] [stdout] --> src/common/kafka/producer.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex, OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/model/entity/tests.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/model/entity/otp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/model/entity/notification.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::FromRow` [INFO] [stdout] --> src/model/entity/user_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/model/entity/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod user_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/model/entity/user_test.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx_template::{delete, select, DDLTemplate, DeleteTemplate, InsertTemplate, SelectTemplate, TableName, UpdateTemplate}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/model/entity/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod user_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::model::entity::question::Questions` [INFO] [stdout] --> src/model/entity/user_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::entity::question::Questions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/model/entity/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod user_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Extension` [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::{Extension, Router}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `Users` in the current scope [INFO] [stdout] --> src/repo/user.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | Users::insert(user_entity, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #3: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_username` found for struct `Users` in the current scope [INFO] [stdout] --> src/repo/user.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let user = Users::find_one_by_username(username, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `find_one_by_username` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_all` found for struct `Users` in the current scope [INFO] [stdout] --> src/repo/user.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let user = Users::find_all(get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Users` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Users { [INFO] [stdout] | ---------------- function or associated item `find_all` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_is_active_and_test_type` found for struct `Tests` in the current scope [INFO] [stdout] --> src/repo/exam.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let data = Tests::find_by_is_active_and_test_type(&true, test_type, pagination, get_db_conn()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Tests` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Tests { [INFO] [stdout] | ---------------- function or associated item `find_by_is_active_and_test_type` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id_and_is_active` found for struct `Tests` in the current scope [INFO] [stdout] --> src/repo/exam.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let data = Tests::find_one_by_id_and_is_active(id, &true, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Tests` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Tests { [INFO] [stdout] | ---------------- function or associated item `find_one_by_id_and_is_active` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert_return` found for struct `Tests` in the current scope [INFO] [stdout] --> src/repo/exam.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let test = Tests::insert_return(entity, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Tests` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Tests { [INFO] [stdout] | ---------------- function or associated item `insert_return` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_id` found for struct `Tests` in the current scope [INFO] [stdout] --> src/repo/exam.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Tests::update_by_id(id, entity, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Tests` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Tests { [INFO] [stdout] | ---------------- function or associated item `update_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_id` found for struct `Tests` in the current scope [INFO] [stdout] --> src/repo/exam.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | Tests::delete_by_id(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Tests` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/tests.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Tests { [INFO] [stdout] | ---------------- function or associated item `delete_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_test_id_and_part` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let data = Questions::find_by_test_id_and_part(part, test_id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `find_by_test_id_and_part` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_part_and_test_id` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | Questions::delete_by_part_and_test_id(part, test_id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `delete_by_part_and_test_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_id` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | Questions::delete_by_id(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `delete_by_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_id_and_return` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | Questions::update_by_id_and_return(question_id, question, get_db_conn()?).await? as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `update_by_id_and_return` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let question = Questions::find_one_by_id(question_id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `find_one_by_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert_return` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | let question = Questions::insert_return(question, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `insert_return` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_question_number_and_test_id_and_test_section` found for struct `Questions` in the current scope [INFO] [stdout] --> src/repo/exam.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let data = Questions::find_one_by_question_number_and_test_id_and_test_section( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Questions` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/question.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Questions { [INFO] [stdout] | -------------------- function or associated item `find_one_by_question_number_and_test_id_and_test_section` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Questions`, consider using `Questions::from` which returns `Questions` [INFO] [stdout] --> src/model/entity/question.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn from(req : QuestionDataRequest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert_return` found for struct `UserTest` in the current scope [INFO] [stdout] --> src/repo/exam.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | let data = UserTest::insert_return(user_test, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `UserTest` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user_test.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct UserTest { [INFO] [stdout] | ------------------- function or associated item `insert_return` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id` found for struct `UserTest` in the current scope [INFO] [stdout] --> src/repo/exam.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | let data = UserTest::find_one_by_id(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserTest` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user_test.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct UserTest { [INFO] [stdout] | ------------------- function or associated item `find_one_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_id` found for struct `UserTest` in the current scope [INFO] [stdout] --> src/repo/exam.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | UserTest::update_by_id(id, user_test, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `UserTest` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user_test.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct UserTest { [INFO] [stdout] | ------------------- function or associated item `update_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id` found for struct `UserTest` in the current scope [INFO] [stdout] --> src/repo/exam.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let data = UserTest::find_one_by_id(id, get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserTest` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/user_test.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct UserTest { [INFO] [stdout] | ------------------- function or associated item `find_one_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/repo/redis/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn set_value(key: &str, value: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/repo/redis/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | conn.set(key, value).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 40 | conn.set::<_, _, ()>(key, value).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/repo/redis/mod.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub async fn set_hash(key: &str, field: &str, value: T) -> anyhow::Result<()> [INFO] [stdout] 53 | | where [INFO] [stdout] 54 | | T: Serialize, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/repo/redis/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | conn.hset(key, field, json).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 58 | conn.hset::<_, _, _, ()>(key, field, json).await?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/repo/redis/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn set_hash_object(key: &str, field: &str, value: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/repo/redis/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | conn.hset(key, field, value).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 64 | conn.hset::<_, _, _, ()>(key, field, value).await?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/repo/redis/mod.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn delete_hash(key: &str, field: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/repo/redis/mod.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | conn.hdel(key, field).await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 90 | conn.hdel::<_, _, ()>(key, field).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_is_active` found for struct `TemplateNotification` in the current scope [INFO] [stdout] --> src/repo/template.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | let data = TemplateNotification::find_by_is_active(&true, pagination, get_db_conn()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `TemplateNotification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/template_notification.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TemplateNotification { [INFO] [stdout] | ------------------------------- function or associated item `find_by_is_active` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id_and_is_active` found for struct `TemplateNotification` in the current scope [INFO] [stdout] --> src/repo/template.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | let data = TemplateNotification::find_one_by_id_and_is_active(id, &true, conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `TemplateNotification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/template_notification.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TemplateNotification { [INFO] [stdout] | ------------------------------- function or associated item `find_one_by_id_and_is_active` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert_return` found for struct `TemplateNotification` in the current scope [INFO] [stdout] --> src/repo/template.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let test = TemplateNotification::insert_return(entity, conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `TemplateNotification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/template_notification.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TemplateNotification { [INFO] [stdout] | ------------------------------- function or associated item `insert_return` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_id` found for struct `TemplateNotification` in the current scope [INFO] [stdout] --> src/repo/template.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | TemplateNotification::update_by_id(id, entity, conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `TemplateNotification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/template_notification.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TemplateNotification { [INFO] [stdout] | ------------------------------- function or associated item `update_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete_by_id` found for struct `TemplateNotification` in the current scope [INFO] [stdout] --> src/repo/template.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | TemplateNotification::delete_by_id(id, conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `TemplateNotification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/template_notification.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TemplateNotification { [INFO] [stdout] | ------------------------------- function or associated item `delete_by_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_user_id` found for struct `Notification` in the current scope [INFO] [stdout] --> src/repo/notification.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let data = Notification::find_by_user_id(user_id, pagination, get_db_conn()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `Notification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/notification.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notification { [INFO] [stdout] | ----------------------- function or associated item `find_by_user_id` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `Notification` in the current scope [INFO] [stdout] --> src/repo/notification.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | Notification::insert(&entity, conn).await?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `Notification` [INFO] [stdout] | [INFO] [stdout] ::: src/model/entity/notification.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notification { [INFO] [stdout] | ----------------------- function or associated item `insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #3: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `migrate` in this scope [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | migrate(get_db_conn()?).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::handler::Handler` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use axum::handler::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `w4` (lib) due to 70 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "47689133857fdbebd13b771adcab5f22e8ad694c7f3178ef55cd6b31112816f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47689133857fdbebd13b771adcab5f22e8ad694c7f3178ef55cd6b31112816f3", kill_on_drop: false }` [INFO] [stdout] 47689133857fdbebd13b771adcab5f22e8ad694c7f3178ef55cd6b31112816f3