[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] building XY-cpp/oj-back against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXY-cpp%2Foj-back" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XY-cpp/oj-back on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.6.0 [INFO] [stderr] Downloaded tempfile v3.11.0 [INFO] [stderr] Downloaded multimap v0.9.1 [INFO] [stderr] Downloaded generic-array v1.1.0 [INFO] [stderr] Downloaded pest_derive v2.7.11 [INFO] [stderr] Downloaded pest_meta v2.7.11 [INFO] [stderr] Downloaded pest_generator v2.7.11 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded pest v2.7.11 [INFO] [stderr] Downloaded bigdecimal v0.4.5 [INFO] [stderr] Downloaded webpki-roots v0.26.3 [INFO] [stderr] Downloaded html_parser v0.6.3 [INFO] [stderr] Downloaded salvo v0.64.2 [INFO] [stderr] Downloaded rbatis-macro-driver v4.5.5 [INFO] [stderr] Downloaded dark-std v0.2.16 [INFO] [stderr] Downloaded rbatis-codegen v4.5.20 [INFO] [stderr] Downloaded rbdc-mysql v4.5.8 [INFO] [stderr] Downloaded rbdc-pool-fast v4.5.9 [INFO] [stderr] Downloaded rbs v4.5.18 [INFO] [stderr] Downloaded salvo-serde-util v0.64.2 [INFO] [stderr] Downloaded fast_pool v0.2.0 [INFO] [stderr] Downloaded fastdate v0.3.32 [INFO] [stderr] Downloaded rbdc v4.5.34 [INFO] [stderr] Downloaded mime-infer v3.0.0 [INFO] [stderr] Downloaded salvo_macros v0.64.2 [INFO] [stderr] Downloaded rbatis v4.5.29 [INFO] [stderr] Downloaded salvo_core v0.64.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58cb38a9269c8575b23ebf206042bada5e90826bafe038bf60e61926d62b4759 [INFO] running `Command { std: "docker" "start" "-a" "58cb38a9269c8575b23ebf206042bada5e90826bafe038bf60e61926d62b4759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58cb38a9269c8575b23ebf206042bada5e90826bafe038bf60e61926d62b4759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58cb38a9269c8575b23ebf206042bada5e90826bafe038bf60e61926d62b4759", kill_on_drop: false }` [INFO] [stdout] 58cb38a9269c8575b23ebf206042bada5e90826bafe038bf60e61926d62b4759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1e090aa387a2782b9cf2ecdcc2373b2deb6361671644ae2fac1eff4ce8cbf6c [INFO] running `Command { std: "docker" "start" "-a" "a1e090aa387a2782b9cf2ecdcc2373b2deb6361671644ae2fac1eff4ce8cbf6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling salvo-serde-util v0.64.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling fast_pool v0.2.0 [INFO] [stderr] Compiling salvo_macros v0.64.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling rbs v4.5.18 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling dark-std v0.2.16 [INFO] [stderr] Compiling rbatis-codegen v4.5.20 [INFO] [stderr] Compiling multimap v0.9.1 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling fastdate v0.3.32 [INFO] [stderr] Compiling rbdc v4.5.34 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling rbdc-pool-fast v4.5.9 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling rbatis-macro-driver v4.5.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling generic-array v1.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling rbdc-mysql v4.5.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling salvo_core v0.64.2 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling rbatis v4.5.29 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling salvo v0.64.2 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 23s [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 1` [INFO] running `Command { std: "docker" "inspect" "a1e090aa387a2782b9cf2ecdcc2373b2deb6361671644ae2fac1eff4ce8cbf6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e090aa387a2782b9cf2ecdcc2373b2deb6361671644ae2fac1eff4ce8cbf6c", kill_on_drop: false }` [INFO] [stdout] a1e090aa387a2782b9cf2ecdcc2373b2deb6361671644ae2fac1eff4ce8cbf6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07df742e5cdc344e40b44782016e2275a676b7e7180a3193ecc1ccad73e51b90 [INFO] running `Command { std: "docker" "start" "-a" "07df742e5cdc344e40b44782016e2275a676b7e7180a3193ecc1ccad73e51b90", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.32s [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 1` [INFO] running `Command { std: "docker" "inspect" "07df742e5cdc344e40b44782016e2275a676b7e7180a3193ecc1ccad73e51b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07df742e5cdc344e40b44782016e2275a676b7e7180a3193ecc1ccad73e51b90", kill_on_drop: false }` [INFO] [stdout] 07df742e5cdc344e40b44782016e2275a676b7e7180a3193ecc1ccad73e51b90