[INFO] cloning repository https://github.com/ProspectExam/prospect-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProspectExam/prospect-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProspectExam%2Fprospect-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProspectExam%2Fprospect-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2ccacbfd19b1f4a3d0948d0528b11c6f5be8dfd [INFO] testing ProspectExam/prospect-backend against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProspectExam%2Fprospect-backend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProspectExam/prospect-backend on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProspectExam/prospect-backend [INFO] finished tweaking git repo https://github.com/ProspectExam/prospect-backend [INFO] tweaked toml for git repo https://github.com/ProspectExam/prospect-backend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ProspectExam/prospect-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" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16574e9f374d2b5b473c519c2ae310353059f8e4af100414f9d147455edc787e [INFO] running `Command { std: "docker" "start" "-a" "16574e9f374d2b5b473c519c2ae310353059f8e4af100414f9d147455edc787e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16574e9f374d2b5b473c519c2ae310353059f8e4af100414f9d147455edc787e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16574e9f374d2b5b473c519c2ae310353059f8e4af100414f9d147455edc787e", kill_on_drop: false }` [INFO] [stdout] 16574e9f374d2b5b473c519c2ae310353059f8e4af100414f9d147455edc787e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f740a9bedac7c6fe3dae682f8e14866dfed5911d819ba78eefd8d2871b2915f [INFO] running `Command { std: "docker" "start" "-a" "3f740a9bedac7c6fe3dae682f8e14866dfed5911d819ba78eefd8d2871b2915f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling base64ct v1.5.3 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling webpki-roots v0.22.5 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling sqlformat v0.2.0 [INFO] [stderr] Compiling argh_shared v0.1.9 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling argh_derive v0.1.9 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling argh v0.1.9 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling prospect-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:162:61 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn wechat_subscribe(&self, info: SubscribeInfo, ctx: Context) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:168:68 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn wechat_get_subscribe(&self, info: GetSubscribeInfo, ctx: Context) -> Result>, sqlx::Error> { [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/wechat/handlers.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn waterfall_handler(ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/wechat/common.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_data` [INFO] [stdout] --> src/wechat/common.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify_subscription` is never used [INFO] [stdout] --> src/wechat/handlers.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | async fn notify_subscription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | async fn KDF(&self, passwd: &str) -> ([u8; 8], String) { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kdf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF_with_salt` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | fn KDF_with_salt(salt: &[u8], passwd: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kdf_with_salt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `echo_mode` is never read [INFO] [stdout] --> src/bin/serve_tls.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 18 | struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | echo_mode: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "3f740a9bedac7c6fe3dae682f8e14866dfed5911d819ba78eefd8d2871b2915f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f740a9bedac7c6fe3dae682f8e14866dfed5911d819ba78eefd8d2871b2915f", kill_on_drop: false }` [INFO] [stdout] 3f740a9bedac7c6fe3dae682f8e14866dfed5911d819ba78eefd8d2871b2915f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a8e070cac59a69e15bff2ab61e0ce97be8ba4bf40ed1b032591c0968431816c [INFO] running `Command { std: "docker" "start" "-a" "4a8e070cac59a69e15bff2ab61e0ce97be8ba4bf40ed1b032591c0968431816c", 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: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:162:61 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn wechat_subscribe(&self, info: SubscribeInfo, ctx: Context) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:168:68 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn wechat_get_subscribe(&self, info: GetSubscribeInfo, ctx: Context) -> Result>, sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prospect-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/wechat/handlers.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn waterfall_handler(ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/wechat/common.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_data` [INFO] [stdout] --> src/wechat/common.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify_subscription` is never used [INFO] [stdout] --> src/wechat/handlers.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | async fn notify_subscription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | async fn KDF(&self, passwd: &str) -> ([u8; 8], String) { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kdf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF_with_salt` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | fn KDF_with_salt(salt: &[u8], passwd: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kdf_with_salt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:162:61 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn wechat_subscribe(&self, info: SubscribeInfo, ctx: Context) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/database/wechat_op/mod.rs:168:68 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn wechat_get_subscribe(&self, info: GetSubscribeInfo, ctx: Context) -> Result>, sqlx::Error> { [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/wechat/handlers.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn waterfall_handler(ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `echo_mode` is never read [INFO] [stdout] --> src/bin/serve_tls.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 18 | struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | echo_mode: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/wechat/common.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post_data` [INFO] [stdout] --> src/wechat/common.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify_subscription` is never used [INFO] [stdout] --> src/wechat/handlers.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | async fn notify_subscription() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | async fn KDF(&self, passwd: &str) -> ([u8; 8], String) { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kdf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `KDF_with_salt` should have a snake case name [INFO] [stdout] --> src/database/mod.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | fn KDF_with_salt(salt: &[u8], passwd: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kdf_with_salt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4a8e070cac59a69e15bff2ab61e0ce97be8ba4bf40ed1b032591c0968431816c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8e070cac59a69e15bff2ab61e0ce97be8ba4bf40ed1b032591c0968431816c", kill_on_drop: false }` [INFO] [stdout] 4a8e070cac59a69e15bff2ab61e0ce97be8ba4bf40ed1b032591c0968431816c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 887d408c34a2ed0a76b9e904078f5857cde3f86f27c449b8108c54e854d01012 [INFO] running `Command { std: "docker" "start" "-a" "887d408c34a2ed0a76b9e904078f5857cde3f86f27c449b8108c54e854d01012", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/database/wechat_op/mod.rs:162:61 [INFO] [stderr] | [INFO] [stderr] 162 | pub async fn wechat_subscribe(&self, info: SubscribeInfo, ctx: Context) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/database/wechat_op/mod.rs:168:68 [INFO] [stderr] | [INFO] [stderr] 168 | pub async fn wechat_get_subscribe(&self, info: GetSubscribeInfo, ctx: Context) -> Result>, sqlx::Error> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/wechat/handlers.rs:65:32 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn waterfall_handler(ctx: Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/wechat/common.rs:28:37 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `post_data` [INFO] [stderr] --> src/wechat/common.rs:28:48 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn post_json_to_url(url: &str, post_data: U) -> Result [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_post_data` [INFO] [stderr] [INFO] [stderr] warning: function `notify_subscription` is never used [INFO] [stderr] --> src/wechat/handlers.rs:121:10 [INFO] [stderr] | [INFO] [stderr] 121 | async fn notify_subscription() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `KDF` should have a snake case name [INFO] [stderr] --> src/database/mod.rs:393:12 [INFO] [stderr] | [INFO] [stderr] 393 | async fn KDF(&self, passwd: &str) -> ([u8; 8], String) { [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `kdf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `KDF_with_salt` should have a snake case name [INFO] [stderr] --> src/database/mod.rs:398:6 [INFO] [stderr] | [INFO] [stderr] 398 | fn KDF_with_salt(salt: &[u8], passwd: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kdf_with_salt` [INFO] [stderr] [INFO] [stderr] warning: `prospect-backend` (lib) generated 8 warnings (run `cargo fix --lib -p prospect-backend` to apply 5 suggestions) [INFO] [stderr] warning: `prospect-backend` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: field `echo_mode` is never read [INFO] [stderr] --> src/bin/serve_tls.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 18 | struct Options { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | echo_mode: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `prospect-backend` (bin "serve_tls" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prospect_backend-615711ff99bf794f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prospect_backend-2c3086e80d38fb68) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/serve_tls.rs (/opt/rustwide/target/debug/deps/serve_tls-fec220c8f96e30fc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/serve_wx.rs (/opt/rustwide/target/debug/deps/serve_wx-382ffcf6ade32c67) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests prospect-backend [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "887d408c34a2ed0a76b9e904078f5857cde3f86f27c449b8108c54e854d01012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887d408c34a2ed0a76b9e904078f5857cde3f86f27c449b8108c54e854d01012", kill_on_drop: false }` [INFO] [stdout] 887d408c34a2ed0a76b9e904078f5857cde3f86f27c449b8108c54e854d01012