[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [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-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heymind/note-app-one-hour-a-day on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8fd37dc91a23e297bd235923a2388eb3bb0671476812d53cc425d54dbf14732 [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" "f8fd37dc91a23e297bd235923a2388eb3bb0671476812d53cc425d54dbf14732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8fd37dc91a23e297bd235923a2388eb3bb0671476812d53cc425d54dbf14732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fd37dc91a23e297bd235923a2388eb3bb0671476812d53cc425d54dbf14732", kill_on_drop: false }` [INFO] [stdout] f8fd37dc91a23e297bd235923a2388eb3bb0671476812d53cc425d54dbf14732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f912423ee67b8c1af3436fb17527a419318bbe88a6bce18fd3d48a69855d3878 [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" "f912423ee67b8c1af3436fb17527a419318bbe88a6bce18fd3d48a69855d3878", 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] 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] Checking once_cell v1.5.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [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] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [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] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking spin v0.7.1 [INFO] [stderr] Checking sqlxorm-macro v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm-macro) [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 instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.3 [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] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [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 atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [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 atoi v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking stringprep v0.1.2 [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] Compiling rand_chacha v0.2.2 [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] Compiling rand v0.7.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking 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 sqlx-rt v0.3.0 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking serde_qs v0.8.2 [INFO] [stderr] Checking hyper v0.14.4 [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: 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: 2 warnings emitted [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] 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] = note: consider importing this macro: [INFO] [stdout] sqlx::query [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] = note: consider importing this macro: [INFO] [stdout] sqlx::query [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] 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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] = note: consider importing one of these items: [INFO] [stdout] core::column [INFO] [stdout] std::column [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] 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] 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[E0107]: this enum takes 2 type arguments but only 1 type 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 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type 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 type arguments but only 1 type 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 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E` [INFO] [stdout] help: add missing type 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] 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: 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] 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] [stderr] error: could not compile `sqlxorm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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: 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: 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: 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f912423ee67b8c1af3436fb17527a419318bbe88a6bce18fd3d48a69855d3878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f912423ee67b8c1af3436fb17527a419318bbe88a6bce18fd3d48a69855d3878", kill_on_drop: false }` [INFO] [stdout] f912423ee67b8c1af3436fb17527a419318bbe88a6bce18fd3d48a69855d3878