[INFO] cloning repository https://github.com/wangjun861205/juju-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangjun861205/juju-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fjuju-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fjuju-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d356b0c5505d688056b2f9badabb6ce76c2e0a5 [INFO] checking wangjun861205/juju-backend against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fjuju-backend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangjun861205/juju-backend on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangjun861205/juju-backend [INFO] finished tweaking git repo https://github.com/wangjun861205/juju-backend [INFO] tweaked toml for git repo https://github.com/wangjun861205/juju-backend written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wangjun861205/juju-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/wangjun861205/juju-macros.git` [INFO] [stderr] Updating git repository `https://github.com/wangjun861205/sqlx-insert` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded local-channel v0.1.3 [INFO] [stderr] Downloaded actix-router v0.5.1 [INFO] [stderr] Downloaded tokio-macros v1.8.2 [INFO] [stderr] Downloaded actix-server v2.2.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.92 [INFO] [stderr] Downloaded flate2 v1.0.25 [INFO] [stderr] Downloaded async-trait v0.1.66 [INFO] [stderr] Downloaded thiserror-impl v1.0.39 [INFO] [stderr] Downloaded unicode-bidi v0.3.11 [INFO] [stderr] Downloaded sqlx-rt v0.6.2 [INFO] [stderr] Downloaded const-random v0.1.15 [INFO] [stderr] Downloaded default v0.1.2 [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded sqlformat v0.2.1 [INFO] [stderr] Downloaded brotli-decompressor v2.3.4 [INFO] [stderr] Downloaded libc v0.2.140 [INFO] [stderr] Downloaded tokio v1.26.0 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded ritelinked v0.3.2 [INFO] [stderr] Downloaded h2 v0.3.16 [INFO] [stderr] Downloaded zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Downloaded actix-http v3.3.1 [INFO] [stderr] Downloaded rustix v0.36.9 [INFO] [stderr] Downloaded serde_json v1.0.94 [INFO] [stderr] Downloaded sqlx-core v0.6.2 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.156 [INFO] [stderr] Downloaded crossbeam-channel v0.5.7 [INFO] [stderr] Downloaded cxx v1.0.92 [INFO] [stderr] Downloaded cxx-build v1.0.92 [INFO] [stderr] Downloaded actix-web v4.3.1 [INFO] [stderr] Downloaded futures v0.3.27 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded openssl v0.10.45 [INFO] [stderr] Downloaded rhai v1.12.0 [INFO] [stderr] Downloaded serde v1.0.156 [INFO] [stderr] Downloaded regex v1.7.1 [INFO] [stderr] Downloaded syn v2.0.23 [INFO] [stderr] Downloaded futures-util v0.3.27 [INFO] [stderr] Downloaded casbin v2.0.9 [INFO] [stderr] Downloaded sqlx v0.6.2 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.92 [INFO] [stderr] Downloaded indexmap v1.9.2 [INFO] [stderr] Downloaded actix-multipart v0.6.0 [INFO] [stderr] Downloaded alloc-stdlib v0.2.2 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded tempfile v3.4.0 [INFO] [stderr] Downloaded jsonwebtoken v8.2.0 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded tokio-util v0.7.7 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded dotenvy v0.15.6 [INFO] [stderr] Downloaded zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Downloaded io-lifetimes v1.0.6 [INFO] [stderr] Downloaded slog-term v2.9.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.2 [INFO] [stderr] Downloaded hashlink v0.8.1 [INFO] [stderr] Downloaded futures-executor v0.3.27 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded cookie v0.16.2 [INFO] [stderr] Downloaded is-terminal v0.4.4 [INFO] [stderr] Downloaded iana-time-zone v0.1.53 [INFO] [stderr] Downloaded actix-macros v0.2.3 [INFO] [stderr] Downloaded futures-sink v0.3.27 [INFO] [stderr] Downloaded futures-task v0.3.27 [INFO] [stderr] Downloaded crossbeam-queue v0.3.8 [INFO] [stderr] Downloaded futures-macro v0.3.27 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded openssl-sys v0.9.80 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded parse-size v1.0.0 [INFO] [stderr] Downloaded actix-multipart-derive v0.6.0 [INFO] [stderr] Downloaded actix-utils v3.0.1 [INFO] [stderr] Downloaded actix-web-codegen v4.2.0 [INFO] [stderr] Downloaded bytestring v1.3.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.2 [INFO] [stderr] Downloaded futures-io v0.3.27 [INFO] [stderr] Downloaded actix-service v2.0.2 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded actix-rt v2.8.0 [INFO] [stderr] Downloaded local-waker v0.1.3 [INFO] [stderr] Downloaded atoi v1.0.0 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded futures-channel v0.3.27 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded thiserror v1.0.39 [INFO] [stderr] Downloaded const-random-macro v0.1.15 [INFO] [stderr] Downloaded proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Downloaded bumpalo v3.12.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded actix-files v0.6.2 [INFO] [stderr] Downloaded serde_plain v1.0.1 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.4 [INFO] [stderr] Downloaded whoami v1.4.0 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded rhai_codegen v1.5.0 [INFO] [stderr] Downloaded futures-core v0.3.27 [INFO] [stderr] Downloaded tokio-stream v0.1.12 [INFO] [stderr] Downloaded http-range v0.1.5 [INFO] [stderr] Downloaded actix-codec v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1766cafe3a35fd862c74b1ea65f98b60d0f6ec2abf1956f813fdb95660b271f [INFO] running `Command { std: "docker" "start" "-a" "c1766cafe3a35fd862c74b1ea65f98b60d0f6ec2abf1956f813fdb95660b271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1766cafe3a35fd862c74b1ea65f98b60d0f6ec2abf1956f813fdb95660b271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1766cafe3a35fd862c74b1ea65f98b60d0f6ec2abf1956f813fdb95660b271f", kill_on_drop: false }` [INFO] [stdout] c1766cafe3a35fd862c74b1ea65f98b60d0f6ec2abf1956f813fdb95660b271f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cd2c3b897a5e725f641ff9ff906efb3308d8f5b27f030491b6f154d903f9a2d [INFO] running `Command { std: "docker" "start" "-a" "2cd2c3b897a5e725f641ff9ff906efb3308d8f5b27f030491b6f154d903f9a2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.156 [INFO] [stderr] Compiling serde v1.0.156 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.27 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Checking futures-io v0.3.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking unicode-bidi v0.3.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking const-random v0.1.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling whoami v1.4.0 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling rhai_codegen v1.5.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling parse-size v1.0.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling actix-multipart-derive v0.6.0 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking slog-term v2.9.0 [INFO] [stderr] Checking is-terminal v0.4.4 [INFO] [stderr] Checking ritelinked v0.3.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling sqlx-insert v0.1.0 (https://github.com/wangjun861205/sqlx-insert#d289a8f1) [INFO] [stderr] Checking uuid v1.3.2 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking default v0.1.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.27 [INFO] [stderr] Checking futures v0.3.27 [INFO] [stderr] Compiling juju-macros v0.1.0 (https://github.com/wangjun861205/juju-macros.git#d40eb6f4) [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking actix-router v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_plain v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking rhai v1.12.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking jsonwebtoken v8.2.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking actix-rt v2.8.0 [INFO] [stderr] Checking actix-server v2.2.0 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking h2 v0.3.16 [INFO] [stderr] Checking casbin v2.0.9 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Checking actix-http v3.3.1 [INFO] [stderr] Checking actix-web v4.3.1 [INFO] [stderr] Checking sqlx v0.6.2 [INFO] [stderr] Checking actix-multipart v0.6.0 [INFO] [stderr] Checking actix-files v0.6.2 [INFO] [stderr] Checking juju v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/handlers/vote.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{query, query_as, FromRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/handlers/vote.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{query, query_as, FromRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Answer` [INFO] [stdout] --> src/core/services/vote.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | answer::{Answer, Insert as AnswerInsert, Submit}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/database/sqlx.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::UserInfo` [INFO] [stdout] --> src/impls/tokener/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::UserInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest`, `Service`, `Transform` [INFO] [stdout] --> src/impls/tokener/jwt.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::dev::{Service, ServiceRequest, Transform}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::HttpMessage` [INFO] [stdout] --> src/impls/tokener/jwt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/impls/tokener/jwt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/impls/tokener/jwt.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/impls/tokener/jwt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Answer` [INFO] [stdout] --> src/core/services/vote.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | answer::{Answer, Insert as AnswerInsert, Submit}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/database/sqlx.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::context::UserInfo` [INFO] [stdout] --> src/impls/tokener/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::context::UserInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceRequest`, `Service`, `Transform` [INFO] [stdout] --> src/impls/tokener/jwt.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::dev::{Service, ServiceRequest, Transform}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::HttpMessage` [INFO] [stdout] --> src/impls/tokener/jwt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::HttpMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/impls/tokener/jwt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/impls/tokener/jwt.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/impls/tokener/jwt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/handlers/user.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | me: UserInfo, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/handlers/user.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | me: UserInfo, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/services/vote.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn submit_answers(db: &mut D, uid: i32, id: i32, answers: Vec) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/core/services/vote.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn submit_answers(db: &mut D, uid: i32, id: i32, answers: Vec) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/authorizer.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | fn poll_ready(&self, ctx: &mut core::task::Context<'_>) -> std::task::Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/authorizer.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | fn poll_ready(&self, ctx: &mut core::task::Context<'_>) -> std::task::Poll> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `authorizer` is never read [INFO] [stdout] --> src/authorizer.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct PgAuthMiddleware { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 121 | authorizer: PgAuthorizer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `submit_answers` is never used [INFO] [stdout] --> src/handlers/answer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn submit_answers(db: Data, user_info: UserInfo, Json(answers): Json) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_join_application` is never used [INFO] [stdout] --> src/handlers/application.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create_join_application(user_info: UserInfo, Json(data): Json, db: Data) -> Result src/handlers/user.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ListParams { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | phone: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | org_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | exclude_org_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | page: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | size: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/handlers/user.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn list( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn insert(&mut self, data: VoteInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn insert(&mut self, data: VoteInsert) -> Result; [INFO] [stdout] 17 + fn insert(&mut self, data: VoteInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn query(&mut self, query: &VoteQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn query(&mut self, query: &VoteQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] 18 + fn query(&mut self, query: &VoteQuery, pagination: Option) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn count(&mut self, query: &VoteQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn count(&mut self, query: &VoteQuery) -> Result; [INFO] [stdout] 19 + fn count(&mut self, query: &VoteQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 20 + fn get(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 - async fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> Result<(), Error>; [INFO] [stdout] 21 + fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert_favorite(&mut self, favorite: FavoriteVote) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn insert_favorite(&mut self, favorite: FavoriteVote) -> Result<(), Error>; [INFO] [stdout] 22 + fn insert_favorite(&mut self, favorite: FavoriteVote) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 - async fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> Result; [INFO] [stdout] 23 + fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn insert(&mut self, mark: VoteReadMarkInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn insert(&mut self, mark: VoteReadMarkInsert) -> Result; [INFO] [stdout] 27 + fn insert(&mut self, mark: VoteReadMarkInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn insert(&mut self, data: OrganizationInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn insert(&mut self, data: OrganizationInsert) -> Result; [INFO] [stdout] 31 + fn insert(&mut self, data: OrganizationInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn update(&mut self, id: i32, data: OrganizationUpdate) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 - async fn update(&mut self, id: i32, data: OrganizationUpdate) -> Result<(), Error>; [INFO] [stdout] 32 + fn update(&mut self, id: i32, data: OrganizationUpdate) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 33 - async fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> Result, Error>; [INFO] [stdout] 33 + fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn count(&mut self, param: OrganizationQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 - async fn count(&mut self, param: OrganizationQuery) -> Result; [INFO] [stdout] 34 + fn count(&mut self, param: OrganizationQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] 35 + fn delete(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn exists(&mut self, name: &str) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn exists(&mut self, name: &str) -> Result; [INFO] [stdout] 36 + fn exists(&mut self, name: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn add_member(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 37 - async fn add_member(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 37 + fn add_member(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | async fn add_user_version(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 38 - async fn add_user_version(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 38 + fn add_user_version(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | async fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 39 - async fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> Result<(), Error>; [INFO] [stdout] 39 + fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | async fn add_manager(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 40 - async fn add_manager(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 40 + fn add_manager(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 41 - async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] 41 + fn get(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | async fn get_for_update(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 - async fn get_for_update(&mut self, id: i32) -> Result; [INFO] [stdout] 42 + fn get_for_update(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | async fn is_member(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 43 - async fn is_member(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] 43 + fn is_member(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn is_manager(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 44 - async fn is_manager(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] 44 + fn is_manager(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | async fn insert(&mut self, uid: i32, question: QuestionInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn insert(&mut self, uid: i32, question: QuestionInsert) -> Result; [INFO] [stdout] 48 + fn insert(&mut self, uid: i32, question: QuestionInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 49 - async fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] 49 + fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | async fn count(&mut self, query: QuestionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 50 - async fn count(&mut self, query: QuestionQuery) -> Result; [INFO] [stdout] 50 + fn count(&mut self, query: QuestionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 51 + fn get(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 52 - async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] 52 + fn delete(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn get_organization_id(&mut self, question_id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 - async fn get_organization_id(&mut self, question_id: i32) -> Result; [INFO] [stdout] 53 + fn get_organization_id(&mut self, question_id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | async fn is_owner(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 54 - async fn is_owner(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 54 + fn is_owner(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 55 - async fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> Result; [INFO] [stdout] 55 + fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | async fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 56 - async fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> Result<(), Error>; [INFO] [stdout] 56 + fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> Result; [INFO] [stdout] 57 + fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | async fn insert(&mut self, mark: QuestionReadMarkInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 61 - async fn insert(&mut self, mark: QuestionReadMarkInsert) -> Result; [INFO] [stdout] 61 + fn insert(&mut self, mark: QuestionReadMarkInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn update(&mut self, update: QuestionReadMarkUpdate) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 62 - async fn update(&mut self, update: QuestionReadMarkUpdate) -> Result<(), Error>; [INFO] [stdout] 62 + fn update(&mut self, update: QuestionReadMarkUpdate) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn get_by_phone(&mut self, phone: String) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn get_by_phone(&mut self, phone: String) -> Result, Error>; [INFO] [stdout] 66 + fn get_by_phone(&mut self, phone: String) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 67 - async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] 67 + fn get(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn patch(&mut self, id: i32, user: UserPatch) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 68 - async fn patch(&mut self, id: i32, user: UserPatch) -> Result<(), Error>; [INFO] [stdout] 68 + fn patch(&mut self, id: i32, user: UserPatch) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn insert(&mut self, option: OptionInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 72 - async fn insert(&mut self, option: OptionInsert) -> Result; [INFO] [stdout] 72 + fn insert(&mut self, option: OptionInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn query(&mut self, query: OptionQuery) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 73 - async fn query(&mut self, query: OptionQuery) -> Result, Error>; [INFO] [stdout] 73 + fn query(&mut self, query: OptionQuery) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | async fn count(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 74 - async fn count(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] 74 + fn count(&mut self, query: OptionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn count_question(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn count_question(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] 75 + fn count_question(&mut self, query: OptionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 76 - async fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> Result; [INFO] [stdout] 76 + fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | async fn insert(&mut self, answer: AnswerInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 80 - async fn insert(&mut self, answer: AnswerInsert) -> Result; [INFO] [stdout] 80 + fn insert(&mut self, answer: AnswerInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn bulk_insert(&mut self, answers: Vec) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 81 - async fn bulk_insert(&mut self, answers: Vec) -> Result<(), Error>; [INFO] [stdout] 81 + fn bulk_insert(&mut self, answers: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | async fn delete(&mut self, query: AnswerQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 82 - async fn delete(&mut self, query: AnswerQuery) -> Result; [INFO] [stdout] 82 + fn delete(&mut self, query: AnswerQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn execute_in_transaction(&'static self, f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 89 - async fn execute_in_transaction(&'static self, f: F) -> Result [INFO] [stdout] 89 + fn execute_in_transaction(&'static self, f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | async fn commit(self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 97 - async fn commit(self) -> Result<(), Error>; [INFO] [stdout] 97 + fn commit(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | async fn rollback(self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 98 - async fn rollback(self) -> Result<(), Error>; [INFO] [stdout] 98 + fn rollback(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | async fn db(&'m self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 106 - async fn db(&'m self) -> Result; [INFO] [stdout] 106 + fn db(&'m self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | async fn tx(&'m self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 107 - async fn tx(&'m self) -> Result; [INFO] [stdout] 107 + fn tx(&'m self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `authorizer` is never read [INFO] [stdout] --> src/authorizer.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct PgAuthMiddleware { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 121 | authorizer: PgAuthorizer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `submit_answers` is never used [INFO] [stdout] --> src/handlers/answer.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn submit_answers(db: Data, user_info: UserInfo, Json(answers): Json) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_join_application` is never used [INFO] [stdout] --> src/handlers/application.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn create_join_application(user_info: UserInfo, Json(data): Json, db: Data) -> Result src/handlers/user.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ListParams { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | phone: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | org_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | exclude_org_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | page: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | size: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/handlers/user.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn list( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn insert(&mut self, data: VoteInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn insert(&mut self, data: VoteInsert) -> Result; [INFO] [stdout] 17 + fn insert(&mut self, data: VoteInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn query(&mut self, query: &VoteQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn query(&mut self, query: &VoteQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] 18 + fn query(&mut self, query: &VoteQuery, pagination: Option) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | async fn count(&mut self, query: &VoteQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 19 - async fn count(&mut self, query: &VoteQuery) -> Result; [INFO] [stdout] 19 + fn count(&mut self, query: &VoteQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 20 - async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 20 + fn get(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 - async fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> Result<(), Error>; [INFO] [stdout] 21 + fn update_read_mark_version(&mut self, uid: i32, id: i32, version: i64) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn insert_favorite(&mut self, favorite: FavoriteVote) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn insert_favorite(&mut self, favorite: FavoriteVote) -> Result<(), Error>; [INFO] [stdout] 22 + fn insert_favorite(&mut self, favorite: FavoriteVote) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 23 - async fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> Result; [INFO] [stdout] 23 + fn exists_favorite(&mut self, query: FavoriteVoteQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn insert(&mut self, mark: VoteReadMarkInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn insert(&mut self, mark: VoteReadMarkInsert) -> Result; [INFO] [stdout] 27 + fn insert(&mut self, mark: VoteReadMarkInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn insert(&mut self, data: OrganizationInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn insert(&mut self, data: OrganizationInsert) -> Result; [INFO] [stdout] 31 + fn insert(&mut self, data: OrganizationInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn update(&mut self, id: i32, data: OrganizationUpdate) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 - async fn update(&mut self, id: i32, data: OrganizationUpdate) -> Result<(), Error>; [INFO] [stdout] 32 + fn update(&mut self, id: i32, data: OrganizationUpdate) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 33 - async fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> Result, Error>; [INFO] [stdout] 33 + fn query(&mut self, param: OrganizationQuery, page: i64, size: i64) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | async fn count(&mut self, param: OrganizationQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 34 - async fn count(&mut self, param: OrganizationQuery) -> Result; [INFO] [stdout] 34 + fn count(&mut self, param: OrganizationQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 35 - async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] 35 + fn delete(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn exists(&mut self, name: &str) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn exists(&mut self, name: &str) -> Result; [INFO] [stdout] 36 + fn exists(&mut self, name: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn add_member(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 37 - async fn add_member(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 37 + fn add_member(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | async fn add_user_version(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 38 - async fn add_user_version(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 38 + fn add_user_version(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | async fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 39 - async fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> Result<(), Error>; [INFO] [stdout] 39 + fn update_user_version(&mut self, id: i32, uid: i32, version: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | async fn add_manager(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 40 - async fn add_manager(&mut self, id: i32, uid: i32) -> Result<(), Error>; [INFO] [stdout] 40 + fn add_manager(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 41 - async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] 41 + fn get(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | async fn get_for_update(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 - async fn get_for_update(&mut self, id: i32) -> Result; [INFO] [stdout] 42 + fn get_for_update(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | async fn is_member(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 43 - async fn is_member(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] 43 + fn is_member(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | async fn is_manager(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 44 - async fn is_manager(&mut self, id: i32, uid: i32) -> Result; [INFO] [stdout] 44 + fn is_manager(&mut self, id: i32, uid: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | async fn insert(&mut self, uid: i32, question: QuestionInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn insert(&mut self, uid: i32, question: QuestionInsert) -> Result; [INFO] [stdout] 48 + fn insert(&mut self, uid: i32, question: QuestionInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 49 - async fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> Result, Error>; [INFO] [stdout] 49 + fn query(&mut self, uid: i32, query: QuestionQuery, pagination: Option) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | async fn count(&mut self, query: QuestionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 50 - async fn count(&mut self, query: QuestionQuery) -> Result; [INFO] [stdout] 50 + fn count(&mut self, query: QuestionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn get(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 51 + fn get(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 52 - async fn delete(&mut self, id: i32) -> Result<(), Error>; [INFO] [stdout] 52 + fn delete(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | async fn get_organization_id(&mut self, question_id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 53 - async fn get_organization_id(&mut self, question_id: i32) -> Result; [INFO] [stdout] 53 + fn get_organization_id(&mut self, question_id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | async fn is_owner(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 54 - async fn is_owner(&mut self, uid: i32, id: i32) -> Result; [INFO] [stdout] 54 + fn is_owner(&mut self, uid: i32, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 55 - async fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> Result; [INFO] [stdout] 55 + fn is_belongs_to_vote(&mut self, vote_id: i32, ids: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | async fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 56 - async fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> Result<(), Error>; [INFO] [stdout] 56 + fn insert_favorite(&mut self, favorite: FavoriteQuestion) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> Result; [INFO] [stdout] 57 + fn exists_favorite(&mut self, query: FavoriteQuestionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | async fn insert(&mut self, mark: QuestionReadMarkInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 61 - async fn insert(&mut self, mark: QuestionReadMarkInsert) -> Result; [INFO] [stdout] 61 + fn insert(&mut self, mark: QuestionReadMarkInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn update(&mut self, update: QuestionReadMarkUpdate) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 62 - async fn update(&mut self, update: QuestionReadMarkUpdate) -> Result<(), Error>; [INFO] [stdout] 62 + fn update(&mut self, update: QuestionReadMarkUpdate) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn get_by_phone(&mut self, phone: String) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn get_by_phone(&mut self, phone: String) -> Result, Error>; [INFO] [stdout] 66 + fn get_by_phone(&mut self, phone: String) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 67 - async fn get(&mut self, id: i32) -> Result; [INFO] [stdout] 67 + fn get(&mut self, id: i32) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | async fn patch(&mut self, id: i32, user: UserPatch) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 68 - async fn patch(&mut self, id: i32, user: UserPatch) -> Result<(), Error>; [INFO] [stdout] 68 + fn patch(&mut self, id: i32, user: UserPatch) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | async fn insert(&mut self, option: OptionInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 72 - async fn insert(&mut self, option: OptionInsert) -> Result; [INFO] [stdout] 72 + fn insert(&mut self, option: OptionInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | async fn query(&mut self, query: OptionQuery) -> Result, Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 73 - async fn query(&mut self, query: OptionQuery) -> Result, Error>; [INFO] [stdout] 73 + fn query(&mut self, query: OptionQuery) -> impl std::future::Future, Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | async fn count(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 74 - async fn count(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] 74 + fn count(&mut self, query: OptionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | async fn count_question(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 75 - async fn count_question(&mut self, query: OptionQuery) -> Result; [INFO] [stdout] 75 + fn count_question(&mut self, query: OptionQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | async fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 76 - async fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> Result; [INFO] [stdout] 76 + fn is_belongs_to_question(&mut self, question_id: i32, ids: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | async fn insert(&mut self, answer: AnswerInsert) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 80 - async fn insert(&mut self, answer: AnswerInsert) -> Result; [INFO] [stdout] 80 + fn insert(&mut self, answer: AnswerInsert) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | async fn bulk_insert(&mut self, answers: Vec) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 81 - async fn bulk_insert(&mut self, answers: Vec) -> Result<(), Error>; [INFO] [stdout] 81 + fn bulk_insert(&mut self, answers: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | async fn delete(&mut self, query: AnswerQuery) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 82 - async fn delete(&mut self, query: AnswerQuery) -> Result; [INFO] [stdout] 82 + fn delete(&mut self, query: AnswerQuery) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn execute_in_transaction(&'static self, f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 89 - async fn execute_in_transaction(&'static self, f: F) -> Result [INFO] [stdout] 89 + fn execute_in_transaction(&'static self, f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | async fn commit(self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 97 - async fn commit(self) -> Result<(), Error>; [INFO] [stdout] 97 + fn commit(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | async fn rollback(self) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 98 - async fn rollback(self) -> Result<(), Error>; [INFO] [stdout] 98 + fn rollback(self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | async fn db(&'m self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 106 - async fn db(&'m self) -> Result; [INFO] [stdout] 106 + fn db(&'m self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/core/ports/repository.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | async fn tx(&'m self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 107 - async fn tx(&'m self) -> Result; [INFO] [stdout] 107 + fn tx(&'m self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.29s [INFO] running `Command { std: "docker" "inspect" "2cd2c3b897a5e725f641ff9ff906efb3308d8f5b27f030491b6f154d903f9a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd2c3b897a5e725f641ff9ff906efb3308d8f5b27f030491b6f154d903f9a2d", kill_on_drop: false }` [INFO] [stdout] 2cd2c3b897a5e725f641ff9ff906efb3308d8f5b27f030491b6f154d903f9a2d