[INFO] cloning repository https://github.com/heymind/note-app-one-hour-a-day [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heymind/note-app-one-hour-a-day" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheymind%2Fnote-app-one-hour-a-day", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheymind%2Fnote-app-one-hour-a-day'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0176fcda71d0064a80934bb1096b85f6e04ef736 [INFO] checking heymind/note-app-one-hour-a-day against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheymind%2Fnote-app-one-hour-a-day" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heymind/note-app-one-hour-a-day on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/rust-toolchain [INFO] started tweaking git repo https://github.com/heymind/note-app-one-hour-a-day [INFO] finished tweaking git repo https://github.com/heymind/note-app-one-hour-a-day [INFO] tweaked toml for git repo https://github.com/heymind/note-app-one-hour-a-day written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/heymind/note-app-one-hour-a-day already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02a308b5b5ed56f108a5d1580d5bda186d16a56248ed31384a78ab46a1222eb3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "02a308b5b5ed56f108a5d1580d5bda186d16a56248ed31384a78ab46a1222eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02a308b5b5ed56f108a5d1580d5bda186d16a56248ed31384a78ab46a1222eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a308b5b5ed56f108a5d1580d5bda186d16a56248ed31384a78ab46a1222eb3", kill_on_drop: false }` [INFO] [stdout] 02a308b5b5ed56f108a5d1580d5bda186d16a56248ed31384a78ab46a1222eb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d23cb421665502a1bd2d64f154fa4efcd7ae3c6eb2102e3b79aaeda5e4a536fa [INFO] running `Command { std: "docker" "start" "-a" "d23cb421665502a1bd2d64f154fa4efcd7ae3c6eb2102e3b79aaeda5e4a536fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking sqlxorm-macro v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm-macro) [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Checking sqlformat v0.1.5 [INFO] [stderr] Checking routes-macro v0.1.0 (/opt/rustwide/workdir/crates/routes-macro) [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.3 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking sqlx-rt v0.3.0 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde_qs v0.8.2 [INFO] [stderr] Checking sqlx-core v0.5.1 [INFO] [stderr] Checking routes v0.1.0 (/opt/rustwide/workdir/crates/routes) [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> crates/routes/src/serve.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | inner: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> crates/routes/src/serve.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> crates/routes/src/serve.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | inner: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> crates/routes/src/serve.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> crates/routes/examples/simple.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Body, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Checking sqlx v0.5.1 [INFO] [stderr] Checking sqlxorm v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm) [INFO] [stderr] Checking note-app v0.1.0 (/opt/rustwide/workdir/crates/note-app) [INFO] [stdout] warning: unused import: `accessor::transform` [INFO] [stdout] --> crates/sqlxorm/src/generator/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use accessor::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LitStr` [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | Ident, Lit, LitStr, Result, Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldDataType` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ArgMeta, Field, FieldDataType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::parse_quote` [INFO] [stdout] --> crates/sqlxorm/src/generator/field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse_quote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::{parse::Parse, parse_quote, ImplItemMethod, ItemImpl}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse::Parse, parse_quote, ImplItemMethod, ItemImpl}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | parse::Parse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | async fn find_by_id(conn: &mut PgConnection, id: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_name(conn: &mut PgConnection, name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[entity] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[query] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `query` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[query("select * from marble_auth_perms where name = :1")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 145 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accessor::transform` [INFO] [stdout] --> crates/sqlxorm/src/generator/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use accessor::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LitStr` [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | Ident, Lit, LitStr, Result, Token, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldDataType` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{ArgMeta, Field, FieldDataType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::parse_quote` [INFO] [stdout] --> crates/sqlxorm/src/generator/field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::parse_quote; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::{parse::Parse, parse_quote, ImplItemMethod, ItemImpl}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use syn::{parse::Parse, parse_quote, ImplItemMethod, ItemImpl}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::Parse` [INFO] [stdout] --> crates/sqlxorm/src/generator/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | parse::Parse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:231:7 [INFO] [stdout] | [INFO] [stdout] 231 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:235:7 [INFO] [stdout] | [INFO] [stdout] 235 | #[entity(generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | # [entity (save = ["id" , "name"] , generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | # [entity (save = ["is_deprecated" , "name" , "object_kind_id" , "id" , "description" , "eee" , "yyyy" , "zzz" , "xxx"] , generated =... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `entity` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | #[entity(table_name = "marble_auth_perms")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[column("is_deprecated", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[column("name", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[column("object_kind_id", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[column("id", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[column("description", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[column("eee", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[column("yyyy", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[column("zzz", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `column` in this scope [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[column("xxx", generated = true)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `simple` [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use sqlx::PgConnection; [INFO] [stdout] 2 | | #[entity(table_name = "marble_auth_perms")] [INFO] [stdout] 3 | | pub struct User { [INFO] [stdout] 4 | | #[column("is_deprecated", generated = true)] [INFO] [stdout] ... | [INFO] [stdout] 283 | | } [INFO] [stdout] 284 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `crates/sqlxorm/examples/simple.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:26:64 [INFO] [stdout] | [INFO] [stdout] 26 | async fn find_by_id(conn: &mut PgConnection, id: usize) -> Result; [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 26 | async fn find_by_id(conn: &mut PgConnection, id: usize) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> crates/sqlxorm/examples/simple.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_name(conn: &mut PgConnection, name: &str) -> Result; [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `T`, `E` [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_name(conn: &mut PgConnection, name: &str) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn transform(&mut self, arg: &ArgMeta, item: &mut ItemStruct) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlxorm` due to 47 previous errors [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 32 | self.is_empty() [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut field_args = field.attrs.iter().find(|attr| attr.path.is_ident("column")); [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] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut origin_items = std::mem::take(&mut item_impl.items); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut origin_items = std::mem::take(&mut item_impl.items); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> crates/sqlxorm/src/generator/field.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `QueryName` [INFO] [stdout] --> crates/sqlxorm/src/generator/query_builder.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct QueryName { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn transform(&mut self, arg: &ArgMeta, item: &mut ItemStruct) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 32 | self.is_empty() [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/entity.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut field_args = field.attrs.iter().find(|attr| attr.path.is_ident("column")); [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] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/accessor.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut origin_items = std::mem::take(&mut item_impl.items); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sqlxorm/src/generator/save.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut origin_items = std::mem::take(&mut item_impl.items); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> crates/sqlxorm/src/generator/arg_meta.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bytes` [INFO] [stdout] --> crates/sqlxorm/src/generator/field.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bytes, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `QueryName` [INFO] [stdout] --> crates/sqlxorm/src/generator/query_builder.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct QueryName { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d23cb421665502a1bd2d64f154fa4efcd7ae3c6eb2102e3b79aaeda5e4a536fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23cb421665502a1bd2d64f154fa4efcd7ae3c6eb2102e3b79aaeda5e4a536fa", kill_on_drop: false }` [INFO] [stdout] d23cb421665502a1bd2d64f154fa4efcd7ae3c6eb2102e3b79aaeda5e4a536fa