[INFO] cloning repository https://github.com/lmmqxyx404/Backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmmqxyx404/Backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2FBackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2FBackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c095a099c1cbc620d9d2a3f0e252bd0aad20fb4 [INFO] building lmmqxyx404/Backend against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2FBackend" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lmmqxyx404/Backend on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lmmqxyx404/Backend [INFO] finished tweaking git repo https://github.com/lmmqxyx404/Backend [INFO] tweaked toml for git repo https://github.com/lmmqxyx404/Backend written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lmmqxyx404/Backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4494aa14c6f2a6111fb8deb41697296520611b0e5ab919ceedaebd572650b32 [INFO] running `Command { std: "docker" "start" "-a" "f4494aa14c6f2a6111fb8deb41697296520611b0e5ab919ceedaebd572650b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4494aa14c6f2a6111fb8deb41697296520611b0e5ab919ceedaebd572650b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4494aa14c6f2a6111fb8deb41697296520611b0e5ab919ceedaebd572650b32", kill_on_drop: false }` [INFO] [stdout] f4494aa14c6f2a6111fb8deb41697296520611b0e5ab919ceedaebd572650b32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a085d5f5f64209da52d3c7a9e49580e44613e51fd5fe1d962cbba287acf681 [INFO] running `Command { std: "docker" "start" "-a" "e6a085d5f5f64209da52d3c7a9e49580e44613e51fd5fe1d962cbba287acf681", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling zeroize v1.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rust_decimal v1.22.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lz4-sys v1.9.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling rgb v0.8.33 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.4 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling fallible_collections v0.4.5 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling lodepng v3.6.2 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling lz4 v1.23.3 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rbson v2.0.4 [INFO] [stderr] Compiling fast_log v1.5.23 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling rbatis_sql_macro v3.0.16 [INFO] [stderr] Compiling rbatis-macro-driver v3.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling rbatis_sql v3.0.25 [INFO] [stderr] Compiling rbatis-core v3.1.11 [INFO] [stderr] Compiling rbatis v3.1.15 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling captcha v0.0.8 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `isEmptyString` should have an upper camel case name [INFO] [stdout] --> src/util/string.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait isEmptyString { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IsEmptyString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/controller/img_verify_controller.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// 账户为空时,不输出验证码,并且报错 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | / if arg.account.is_empty() { [INFO] [stdout] 14 | | return RespVO::<()>::from_error(&Error::from("account is empty"), "-1").resp_json(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /// 提供一个上下文引用,给其余service 使用 [INFO] [stdout] 21 | | /// 1. login [INFO] [stdout] 22 | | /// 2. cpatcha [INFO] [stdout] | |_-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | /// 防止爆破登录 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | --------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | /// 增加重试次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | return Err(error.unwrap()); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// 去除密码 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | let mut user = user.clone(); [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | /// 拿到ID [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | / let user_id = user [INFO] [stdout] 29 | | .id [INFO] [stdout] 30 | | .clone() [INFO] [stdout] 31 | | .ok_or_else(|| Error::from("用户数据错误,id为空"))?; [INFO] [stdout] | |_________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Visitor` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `Serializer` [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer` [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/domain/vo/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/domain/vo/jwt.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JWT_Token` should have an upper camel case name [INFO] [stdout] --> src/domain/vo/jwt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JWT_Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JwtToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/sys_user_service.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "e6a085d5f5f64209da52d3c7a9e49580e44613e51fd5fe1d962cbba287acf681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a085d5f5f64209da52d3c7a9e49580e44613e51fd5fe1d962cbba287acf681", kill_on_drop: false }` [INFO] [stdout] e6a085d5f5f64209da52d3c7a9e49580e44613e51fd5fe1d962cbba287acf681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12bc6e7e67d8673c9c15b7bc93468d239912185fffbf9305085c6e0b07b4e92c [INFO] running `Command { std: "docker" "start" "-a" "12bc6e7e67d8673c9c15b7bc93468d239912185fffbf9305085c6e0b07b4e92c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait `isEmptyString` should have an upper camel case name [INFO] [stdout] --> src/util/string.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait isEmptyString { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IsEmptyString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/controller/img_verify_controller.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// 账户为空时,不输出验证码,并且报错 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | / if arg.account.is_empty() { [INFO] [stdout] 14 | | return RespVO::<()>::from_error(&Error::from("account is empty"), "-1").resp_json(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /// 提供一个上下文引用,给其余service 使用 [INFO] [stdout] 21 | | /// 1. login [INFO] [stdout] 22 | | /// 2. cpatcha [INFO] [stdout] | |_-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | /// 防止爆破登录 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | --------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | /// 增加重试次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | return Err(error.unwrap()); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// 去除密码 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | let mut user = user.clone(); [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | /// 拿到ID [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | / let user_id = user [INFO] [stdout] 29 | | .id [INFO] [stdout] 30 | | .clone() [INFO] [stdout] 31 | | .ok_or_else(|| Error::from("用户数据错误,id为空"))?; [INFO] [stdout] | |_________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Visitor` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `Serializer` [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer` [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/domain/vo/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/domain/vo/jwt.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JWT_Token` should have an upper camel case name [INFO] [stdout] --> src/domain/vo/jwt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JWT_Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JwtToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/sys_user_service.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `isEmptyString` should have an upper camel case name [INFO] [stdout] --> src/util/string.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait isEmptyString { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IsEmptyString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/controller/img_verify_controller.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// 账户为空时,不输出验证码,并且报错 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | / if arg.account.is_empty() { [INFO] [stdout] 14 | | return RespVO::<()>::from_error(&Error::from("account is empty"), "-1").resp_json(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /// 提供一个上下文引用,给其余service 使用 [INFO] [stdout] 21 | | /// 1. login [INFO] [stdout] 22 | | /// 2. cpatcha [INFO] [stdout] | |_-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | /// 防止爆破登录 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | --------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | /// 增加重试次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | return Err(error.unwrap()); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// 去除密码 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | let mut user = user.clone(); [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/service/sys_user_service.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | /// 拿到ID [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | / let user_id = user [INFO] [stdout] 29 | | .id [INFO] [stdout] 30 | | .clone() [INFO] [stdout] 31 | | .ok_or_else(|| Error::from("用户数据错误,id为空"))?; [INFO] [stdout] | |_________________________________________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Visitor` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `Serializer` [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer` [INFO] [stdout] --> src/error.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Error` [INFO] [stdout] --> src/domain/vo/jwt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/domain/vo/jwt.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JWT_Token` should have an upper camel case name [INFO] [stdout] --> src/domain/vo/jwt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct JWT_Token { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JwtToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/sys_user_service.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut error = None; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `interimVO` should have a snake case name [INFO] [stdout] --> src/service/sys_user_service.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let interimVO = SignVO { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `interim_vo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 55.50s [INFO] running `Command { std: "docker" "inspect" "12bc6e7e67d8673c9c15b7bc93468d239912185fffbf9305085c6e0b07b4e92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12bc6e7e67d8673c9c15b7bc93468d239912185fffbf9305085c6e0b07b4e92c", kill_on_drop: false }` [INFO] [stdout] 12bc6e7e67d8673c9c15b7bc93468d239912185fffbf9305085c6e0b07b4e92c