[INFO] cloning repository https://github.com/XY-cpp/oj-back [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XY-cpp/oj-back" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXY-cpp%2Foj-back", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXY-cpp%2Foj-back'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e343c488fcf0871dadd2b2ea1a42bfff7b9ea095 [INFO] checking XY-cpp/oj-back against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXY-cpp%2Foj-back" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XY-cpp/oj-back [INFO] finished tweaking git repo https://github.com/XY-cpp/oj-back [INFO] tweaked toml for git repo https://github.com/XY-cpp/oj-back written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XY-cpp/oj-back on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XY-cpp/oj-back 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salvo_macros v0.64.2 [INFO] [stderr] Downloaded salvo-serde-util v0.64.2 [INFO] [stderr] Downloaded multimap v0.9.1 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded mime-infer v3.0.0 [INFO] [stderr] Downloaded rbatis-macro-driver v4.5.5 [INFO] [stderr] Downloaded salvo v0.64.2 [INFO] [stderr] Downloaded tempfile v3.11.0 [INFO] [stderr] Downloaded rbdc-pool-fast v4.5.9 [INFO] [stderr] Downloaded xml-rs v0.8.21 [INFO] [stderr] Downloaded rbatis-codegen v4.5.20 [INFO] [stderr] Downloaded pest_meta v2.7.11 [INFO] [stderr] Downloaded pest_derive v2.7.11 [INFO] [stderr] Downloaded rbdc-mysql v4.5.8 [INFO] [stderr] Downloaded html_parser v0.6.3 [INFO] [stderr] Downloaded salvo_core v0.64.2 [INFO] [stderr] Downloaded dark-std v0.2.16 [INFO] [stderr] Downloaded pest_generator v2.7.11 [INFO] [stderr] Downloaded fast_pool v0.2.0 [INFO] [stderr] Downloaded generic-array v1.1.0 [INFO] [stderr] Downloaded rbatis v4.5.29 [INFO] [stderr] Downloaded fastdate v0.3.32 [INFO] [stderr] Downloaded rbdc v4.5.34 [INFO] [stderr] Downloaded bigdecimal v0.4.5 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded pest v2.7.11 [INFO] [stderr] Downloaded rbs v4.5.18 [INFO] [stderr] Downloaded rustls-pki-types v1.8.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e06b4444efd4f38ae8caa82eac2672e86e2cebed8695a4ba1e067dbfb8037094 [INFO] running `Command { std: "docker" "start" "-a" "e06b4444efd4f38ae8caa82eac2672e86e2cebed8695a4ba1e067dbfb8037094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e06b4444efd4f38ae8caa82eac2672e86e2cebed8695a4ba1e067dbfb8037094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06b4444efd4f38ae8caa82eac2672e86e2cebed8695a4ba1e067dbfb8037094", kill_on_drop: false }` [INFO] [stdout] e06b4444efd4f38ae8caa82eac2672e86e2cebed8695a4ba1e067dbfb8037094 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d723b47ca2c599d1aa60a66e0155dbf87d2c6d30b45b14a9c27ad41326b1e80b [INFO] running `Command { std: "docker" "start" "-a" "d723b47ca2c599d1aa60a66e0155dbf87d2c6d30b45b14a9c27ad41326b1e80b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking xml-rs v0.8.21 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking generic-array v1.1.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tempfile v3.11.0 [INFO] [stderr] Compiling salvo-serde-util v0.64.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling salvo_macros v0.64.2 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.102.6 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking fast_pool v0.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking multimap v0.9.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rbs v4.5.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking dark-std v0.2.16 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking html_parser v0.6.3 [INFO] [stderr] Checking rbatis-codegen v4.5.20 [INFO] [stderr] Checking fastdate v0.3.32 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rbdc v4.5.34 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling rbatis-macro-driver v4.5.5 [INFO] [stderr] Checking rbdc-pool-fast v4.5.9 [INFO] [stderr] Checking rbdc-mysql v4.5.8 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking rbatis v4.5.29 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking salvo_core v0.64.2 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking salvo v0.64.2 [INFO] [stderr] Checking oj-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `error` is never used [INFO] [stdout] --> src/api/front.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Res { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn error(message: T) -> Json { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/problem.rs:383:3 [INFO] [stdout] | [INFO] [stdout] 381 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 382 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 383 | impl_select_page!(Problem{select_page() =>"`order by pid asc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Problem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/record.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 289 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 290 | async fn query(request: &mut Request, response: &mut Response) { [INFO] [stdout] 291 | impl_select!(Record{ [INFO] [stdout] | ^ ------ `Record` is not local [INFO] [stdout] | ___| [INFO] [stdout] | | [INFO] [stdout] 292 | | select_by_ids( [INFO] [stdout] 293 | | rid:Option, [INFO] [stdout] 294 | | uid:Option, [INFO] [stdout] ... | [INFO] [stdout] 305 | | " [INFO] [stdout] 306 | | }); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select` which comes from the expansion of the macro `impl_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/record.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 368 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 369 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 370 | impl_select_page!(Record{select_page() =>"`order by rid desc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/user.rs:412:3 [INFO] [stdout] | [INFO] [stdout] 410 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 411 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 412 | impl_select_page!(User{select_page() =>"`order by uid asc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `error` is never used [INFO] [stdout] --> src/api/front.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Res { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn error(message: T) -> Json { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/problem.rs:383:3 [INFO] [stdout] | [INFO] [stdout] 381 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 382 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 383 | impl_select_page!(Problem{select_page() =>"`order by pid asc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Problem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/record.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 289 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 290 | async fn query(request: &mut Request, response: &mut Response) { [INFO] [stdout] 291 | impl_select!(Record{ [INFO] [stdout] | ^ ------ `Record` is not local [INFO] [stdout] | ___| [INFO] [stdout] | | [INFO] [stdout] 292 | | select_by_ids( [INFO] [stdout] 293 | | rid:Option, [INFO] [stdout] 294 | | uid:Option, [INFO] [stdout] ... | [INFO] [stdout] 305 | | " [INFO] [stdout] 306 | | }); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select` which comes from the expansion of the macro `impl_select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/record.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 368 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 369 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 370 | impl_select_page!(Record{select_page() =>"`order by rid desc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/module/user.rs:412:3 [INFO] [stdout] | [INFO] [stdout] 410 | #[handler] [INFO] [stdout] | ---------- move the `impl` block outside of this async fn `` and up 2 bodies [INFO] [stdout] 411 | async fn query_list(request: &mut Request, response: &mut Response) { [INFO] [stdout] 412 | impl_select_page!(User{select_page() =>"`order by uid asc`"}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `User` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::impl_select_page` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `$crate::impl_select_page` may come from an old version of the `rbatis` crate, try updating your dependency with `cargo update -p rbatis` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `$crate::impl_select_page` which comes from the expansion of the macro `impl_select_page` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "d723b47ca2c599d1aa60a66e0155dbf87d2c6d30b45b14a9c27ad41326b1e80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d723b47ca2c599d1aa60a66e0155dbf87d2c6d30b45b14a9c27ad41326b1e80b", kill_on_drop: false }` [INFO] [stdout] d723b47ca2c599d1aa60a66e0155dbf87d2c6d30b45b14a9c27ad41326b1e80b