[INFO] fetching crate wechat-mp 0.1.4... [INFO] testing wechat-mp-0.1.4 against 1.45.2 for beta-1.46-1 [INFO] extracting crate wechat-mp 0.1.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate wechat-mp 0.1.4 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73f8231dd9b515659100cd6af89164c9e6a4ae253af5f8b10353bd4828a73244 [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" "73f8231dd9b515659100cd6af89164c9e6a4ae253af5f8b10353bd4828a73244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73f8231dd9b515659100cd6af89164c9e6a4ae253af5f8b10353bd4828a73244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f8231dd9b515659100cd6af89164c9e6a4ae253af5f8b10353bd4828a73244", kill_on_drop: false }` [INFO] [stdout] 73f8231dd9b515659100cd6af89164c9e6a4ae253af5f8b10353bd4828a73244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a36cbc6fefe3a77187f401945cfebc0e3f8b0378ff4c04c686d82e21515e62 [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" "56a36cbc6fefe3a77187f401945cfebc0e3f8b0378ff4c04c686d82e21515e62", kill_on_drop: false }` [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling string-builder v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling async-mutex v1.1.5 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling shaku_derive v0.5.0 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling shaku v0.5.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling bb8 v0.4.2 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling bb8-redis v0.5.0 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling actix-web v2.0.0 [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 1m 24s [INFO] running `Command { std: "docker" "inspect" "56a36cbc6fefe3a77187f401945cfebc0e3f8b0378ff4c04c686d82e21515e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a36cbc6fefe3a77187f401945cfebc0e3f8b0378ff4c04c686d82e21515e62", kill_on_drop: false }` [INFO] [stdout] 56a36cbc6fefe3a77187f401945cfebc0e3f8b0378ff4c04c686d82e21515e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 9552c81beec08d482e15b66d91e993eee990214ef1bc4317e97eb598d03d1714 [INFO] running `Command { std: "docker" "start" "-a" "9552c81beec08d482e15b66d91e993eee990214ef1bc4317e97eb598d03d1714", 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] [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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] ::: src/core/config.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub fn new( [INFO] [stdout] 59 | | key: Option>, [INFO] [stdout] 60 | | app_id: String, [INFO] [stdout] 61 | | app_secret: String, [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- defined here [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9552c81beec08d482e15b66d91e993eee990214ef1bc4317e97eb598d03d1714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9552c81beec08d482e15b66d91e993eee990214ef1bc4317e97eb598d03d1714", kill_on_drop: false }` [INFO] [stdout] 9552c81beec08d482e15b66d91e993eee990214ef1bc4317e97eb598d03d1714