[INFO] fetching crate wechat-mp 0.1.4... [INFO] testing wechat-mp-0.1.4 against 1.59.0 for beta-1.60-1 [INFO] extracting crate wechat-mp 0.1.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate wechat-mp 0.1.4 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe92fa86a5f0eafb3800feb56d43850d21e08903dbe4ecc154b0a281cc6694c7 [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" "fe92fa86a5f0eafb3800feb56d43850d21e08903dbe4ecc154b0a281cc6694c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe92fa86a5f0eafb3800feb56d43850d21e08903dbe4ecc154b0a281cc6694c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe92fa86a5f0eafb3800feb56d43850d21e08903dbe4ecc154b0a281cc6694c7", kill_on_drop: false }` [INFO] [stdout] fe92fa86a5f0eafb3800feb56d43850d21e08903dbe4ecc154b0a281cc6694c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f613da7cf594c8eee681e3533032c5d493e818bd8656d3dc02f612be286b78 [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" "40f613da7cf594c8eee681e3533032c5d493e818bd8656d3dc02f612be286b78", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling string-builder v0.2.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [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.31 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling shaku_derive v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sxd-xpath v0.4.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling shaku v0.5.0 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures v0.3.21 [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-tls v1.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10` [INFO] running `Command { std: "docker" "inspect" "40f613da7cf594c8eee681e3533032c5d493e818bd8656d3dc02f612be286b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f613da7cf594c8eee681e3533032c5d493e818bd8656d3dc02f612be286b78", kill_on_drop: false }` [INFO] [stdout] 40f613da7cf594c8eee681e3533032c5d493e818bd8656d3dc02f612be286b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 682a3588ec6ac4586a095fd35c14869a47faed485f9c049e5d50877948a215c9 [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" "682a3588ec6ac4586a095fd35c14869a47faed485f9c049e5d50877948a215c9", 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" "682a3588ec6ac4586a095fd35c14869a47faed485f9c049e5d50877948a215c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682a3588ec6ac4586a095fd35c14869a47faed485f9c049e5d50877948a215c9", kill_on_drop: false }` [INFO] [stdout] 682a3588ec6ac4586a095fd35c14869a47faed485f9c049e5d50877948a215c9