[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] testing heymind/note-app-one-hour-a-day against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [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-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heymind/note-app-one-hour-a-day on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/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-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded tracing v0.1.24 [INFO] [stderr] Downloaded serde_qs v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a35138167f6f82ae0e2397be0163f8948283dd931d01bae40eb449f1b673592 [INFO] running `Command { std: "docker" "start" "-a" "7a35138167f6f82ae0e2397be0163f8948283dd931d01bae40eb449f1b673592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a35138167f6f82ae0e2397be0163f8948283dd931d01bae40eb449f1b673592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a35138167f6f82ae0e2397be0163f8948283dd931d01bae40eb449f1b673592", kill_on_drop: false }` [INFO] [stdout] 7a35138167f6f82ae0e2397be0163f8948283dd931d01bae40eb449f1b673592 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdf245114429f2eb90b617e9b39b0658213b2dacb41c7040daf5223621aeb5fe [INFO] running `Command { std: "docker" "start" "-a" "bdf245114429f2eb90b617e9b39b0658213b2dacb41c7040daf5223621aeb5fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling once_cell v1.5.2 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling 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 tinyvec v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling want v0.3.0 [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 aho-corasick v0.7.15 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tracing v0.1.24 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling 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] Compiling sqlformat v0.1.5 [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] Compiling routes-macro v0.1.0 (/opt/rustwide/workdir/crates/routes-macro) [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.3 [INFO] [stderr] Compiling sqlx-rt v0.3.0 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling serde_qs v0.8.2 [INFO] [stderr] Compiling sqlx-core v0.5.1 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling 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] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Compiling sqlx v0.5.1 [INFO] [stderr] Compiling sqlxorm v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm) [INFO] [stderr] Compiling 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] 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: 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] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "bdf245114429f2eb90b617e9b39b0658213b2dacb41c7040daf5223621aeb5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf245114429f2eb90b617e9b39b0658213b2dacb41c7040daf5223621aeb5fe", kill_on_drop: false }` [INFO] [stdout] bdf245114429f2eb90b617e9b39b0658213b2dacb41c7040daf5223621aeb5fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39cdc89d3ee7cc610b5ca02afedc3860a958e60f31764032876fd416b9539c03 [INFO] running `Command { std: "docker" "start" "-a" "39cdc89d3ee7cc610b5ca02afedc3860a958e60f31764032876fd416b9539c03", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `simple` in package `sqlxorm v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm)` has the same output filename as the example target `simple` in package `routes v0.1.0 (/opt/rustwide/workdir/crates/routes)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/simple [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling sqlxorm-macro v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm-macro) [INFO] [stderr] Compiling routes-macro v0.1.0 (/opt/rustwide/workdir/crates/routes-macro) [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] [stderr] Compiling routes v0.1.0 (/opt/rustwide/workdir/crates/routes) [INFO] [stderr] Compiling sqlxorm v0.1.0 (/opt/rustwide/workdir/crates/sqlxorm) [INFO] [stderr] Compiling 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] 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] 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] 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] 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] 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] 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] 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: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] 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] [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: 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: 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "39cdc89d3ee7cc610b5ca02afedc3860a958e60f31764032876fd416b9539c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cdc89d3ee7cc610b5ca02afedc3860a958e60f31764032876fd416b9539c03", kill_on_drop: false }` [INFO] [stdout] 39cdc89d3ee7cc610b5ca02afedc3860a958e60f31764032876fd416b9539c03