[INFO] fetching crate wechat-mp 0.1.4... [INFO] testing wechat-mp-0.1.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate wechat-mp 0.1.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate wechat-mp 0.1.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wechat-mp 0.1.4 [INFO] finished tweaking crates.io crate wechat-mp 0.1.4 [INFO] tweaked toml for crates.io crate wechat-mp 0.1.4 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e773e3188ff2b38cb6d029ca961b9c99f66768494933fd41ab74d7f8b722ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68e773e3188ff2b38cb6d029ca961b9c99f66768494933fd41ab74d7f8b722ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e773e3188ff2b38cb6d029ca961b9c99f66768494933fd41ab74d7f8b722ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e773e3188ff2b38cb6d029ca961b9c99f66768494933fd41ab74d7f8b722ac", kill_on_drop: false }` [INFO] [stdout] 68e773e3188ff2b38cb6d029ca961b9c99f66768494933fd41ab74d7f8b722ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 81ba5e017f9b9a21d4ff16b08286483f18821e3855f016efd68c8a6eb2f7c0a8 [INFO] running `Command { std: "docker" "start" "-a" "81ba5e017f9b9a21d4ff16b08286483f18821e3855f016efd68c8a6eb2f7c0a8", kill_on_drop: false }` [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling string-builder v0.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling shaku_derive v0.5.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling shaku v0.5.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling bb8 v0.4.2 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling bb8-redis v0.5.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling wechat-mp v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `maplit::hashmap` [INFO] [stdout] --> src/menu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use maplit::hashmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_repr::*` [INFO] [stdout] --> src/menu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_repr::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyApiResult` [INFO] [stdout] --> src/oauth.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::req_utils::{EmptyApiResult, ToApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/wechat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncCommands` [INFO] [stdout] --> src/core/token_provider.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | redis::{cmd, AsyncCommands}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/oauth.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | context: &SaasContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/oauth.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | context: &SaasContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_custom_menu_json` [INFO] [stdout] --> src/menu.rs:720:8 [INFO] [stdout] | [INFO] [stdout] 720 | fn get_custom_menu_json() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_custom_menu` [INFO] [stdout] --> src/menu.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 737 | fn get_custom_menu() -> CustomMenu { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "81ba5e017f9b9a21d4ff16b08286483f18821e3855f016efd68c8a6eb2f7c0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ba5e017f9b9a21d4ff16b08286483f18821e3855f016efd68c8a6eb2f7c0a8", kill_on_drop: false }` [INFO] [stdout] 81ba5e017f9b9a21d4ff16b08286483f18821e3855f016efd68c8a6eb2f7c0a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 623c86369754c7dea5b5eee9cda7234c5f5097342e92594066d5fe2fec096538 [INFO] running `Command { std: "docker" "start" "-a" "623c86369754c7dea5b5eee9cda7234c5f5097342e92594066d5fe2fec096538", kill_on_drop: false }` [INFO] [stderr] Compiling wechat-mp v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `maplit::hashmap` [INFO] [stdout] --> src/menu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use maplit::hashmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_repr::*` [INFO] [stdout] --> src/menu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_repr::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyApiResult` [INFO] [stdout] --> src/oauth.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::req_utils::{EmptyApiResult, ToApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/wechat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncCommands` [INFO] [stdout] --> src/core/token_provider.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | redis::{cmd, AsyncCommands}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/oauth.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | context: &SaasContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/oauth.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | context: &SaasContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_custom_menu_json` [INFO] [stdout] --> src/menu.rs:720:8 [INFO] [stdout] | [INFO] [stdout] 720 | fn get_custom_menu_json() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_custom_menu` [INFO] [stdout] --> src/menu.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 737 | fn get_custom_menu() -> CustomMenu { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maplit::hashmap` [INFO] [stdout] --> src/menu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use maplit::hashmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_repr::*` [INFO] [stdout] --> src/menu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_repr::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/message.rs:1886:9 [INFO] [stdout] | [INFO] [stdout] 1886 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/message.rs:1884:1 [INFO] [stdout] | [INFO] [stdout] 1884 | mod crypt_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptyApiResult` [INFO] [stdout] --> src/oauth.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::req_utils::{EmptyApiResult, ToApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/wechat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:1913:22 [INFO] [stdout] | [INFO] [stdout] 1913 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 1914 | / WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into()) [INFO] [stdout] 1915 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 1916 | "test".into(), [INFO] [stdout] | ------------- [INFO] [stdout] 1917 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 1918 | "".into(), [INFO] [stdout] | --------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:1931:22 [INFO] [stdout] | [INFO] [stdout] 1931 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 1932 | / WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into()) [INFO] [stdout] 1933 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 1934 | "wx49f0ab532d5d035a".into(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 1935 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 1936 | "123456".into(), [INFO] [stdout] | --------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:1964:22 [INFO] [stdout] | [INFO] [stdout] 1964 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 1965 | / WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into()) [INFO] [stdout] 1966 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 1967 | "wx49f0ab532d5d035a".into(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 1968 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 1969 | "123456".into(), [INFO] [stdout] | --------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:1995:22 [INFO] [stdout] | [INFO] [stdout] 1995 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 1996 | / WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into()) [INFO] [stdout] 1997 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 1998 | "wx49f0ab532d5d035a".into(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 1999 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 2000 | "".into(), [INFO] [stdout] | --------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:2024:22 [INFO] [stdout] | [INFO] [stdout] 2024 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 2025 | / WechatConfig::decode_aes_key(&"kWxPEV2UEDyxWpmPdKC3F4dgPDmOvfKX1HGnEUDS1aQ=".into()) [INFO] [stdout] 2026 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 2027 | "wx49f0ab532d5d035a".into(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 2028 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 2029 | "123456".into(), [INFO] [stdout] | --------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/message.rs:2066:22 [INFO] [stdout] | [INFO] [stdout] 2066 | let config = WechatConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 2067 | / WechatConfig::decode_aes_key(&"znpfGFxELvUSxh0Gx4rJenvVQRrAhdTsioG08XR4z3S=".into()) [INFO] [stdout] 2068 | | .unwrap(), [INFO] [stdout] | |_________________________- [INFO] [stdout] 2069 | "wx11853b05910e1b6b".into(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 2070 | "".into(), [INFO] [stdout] | --------- [INFO] [stdout] 2071 | "testtoken123456".into(), [INFO] [stdout] | ------------------------ supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | key: Option>, [INFO] [stdout] | -------------------- [INFO] [stdout] 60 | app_id: String, [INFO] [stdout] | -------------- [INFO] [stdout] 61 | app_secret: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 62 | echo_token: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 63 | oauth_redirect_url: String, [INFO] [stdout] | -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncCommands` [INFO] [stdout] --> src/core/token_provider.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | redis::{cmd, AsyncCommands}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wechat-mp` due to 7 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "623c86369754c7dea5b5eee9cda7234c5f5097342e92594066d5fe2fec096538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623c86369754c7dea5b5eee9cda7234c5f5097342e92594066d5fe2fec096538", kill_on_drop: false }` [INFO] [stdout] 623c86369754c7dea5b5eee9cda7234c5f5097342e92594066d5fe2fec096538