[INFO] fetching crate wx-sdk 0.0.9... [INFO] testing wx-sdk-0.0.9 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wx-sdk 0.0.9 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate wx-sdk 0.0.9 [INFO] finished tweaking crates.io crate wx-sdk 0.0.9 [INFO] tweaked toml for crates.io crate wx-sdk 0.0.9 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wx-sdk 0.0.9 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 236 packages to latest compatible versions [INFO] [stderr] Adding aes v0.7.5 (available: v0.8.4) [INFO] [stderr] Adding block-modes v0.8.1 (available: v0.9.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding roxmltree v0.14.1 (available: v0.20.0) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04527be7272420d042b6f2b166f71c5031b8aa1154ed11c4ad4ae9dcb9f21d17 [INFO] running `Command { std: "docker" "start" "-a" "04527be7272420d042b6f2b166f71c5031b8aa1154ed11c4ad4ae9dcb9f21d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04527be7272420d042b6f2b166f71c5031b8aa1154ed11c4ad4ae9dcb9f21d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04527be7272420d042b6f2b166f71c5031b8aa1154ed11c4ad4ae9dcb9f21d17", kill_on_drop: false }` [INFO] [stdout] 04527be7272420d042b6f2b166f71c5031b8aa1154ed11c4ad4ae9dcb9f21d17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4815236fff5898bb2fc8f910fe904cdcc63615d1ca0d6291e352c74b81b30a2 [INFO] running `Command { std: "docker" "start" "-a" "a4815236fff5898bb2fc8f910fe904cdcc63615d1ca0d6291e352c74b81b30a2", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cargo-readme v3.3.1 [INFO] [stderr] Compiling exile v0.0.9 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling wx-sdk v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SdkResult` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SdkResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_expired`, `remove`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Cache { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn remove_expired(&self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn remove(&self, key: &T) -> Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `URL_SAFE_TABLE` is never used [INFO] [stdout] --> src/utils/base64.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | static URL_SAFE_TABLE: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `URL_SAFE_DECODE_TABLE` is never used [INFO] [stdout] --> src/utils/base64.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | static URL_SAFE_DECODE_TABLE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TrailingUnPaddedBits` is never constructed [INFO] [stdout] --> src/utils/base64.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 135 | TrailingUnPaddedBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode` is never used [INFO] [stdout] --> src/utils/base64.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn urlsafe_encode>(input: D) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn urlsafe_encode_with_config>(input: D, config: Config) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn urlsafe_encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_to_slice_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn urlsafe_encode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode` is never used [INFO] [stdout] --> src/utils/base64.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn urlsafe_decode>(input: D) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn urlsafe_decode_with_config>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn urlsafe_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_to_slice_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn urlsafe_decode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SKIP` is never used [INFO] [stdout] --> src/utils/base64.rs:610:7 [INFO] [stdout] | [INFO] [stdout] 610 | const SKIP: u8 = 0xfd; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PADB` is never used [INFO] [stdout] --> src/utils/base64.rs:611:7 [INFO] [stdout] | [INFO] [stdout] 611 | const PADB: u8 = 0x3d; // b'=' [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FORGIVING_TABLE_INV` is never used [INFO] [stdout] --> src/utils/base64.rs:612:8 [INFO] [stdout] | [INFO] [stdout] 612 | static FORGIVING_TABLE_INV: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forgiving_decode` is never used [INFO] [stdout] --> src/utils/base64.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn forgiving_decode>(input: R) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forgiving_decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:659:8 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn forgiving_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaUrl` is never constructed [INFO] [stdout] --> src/mp/material.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct MediaUrl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/tags.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.10s [INFO] running `Command { std: "docker" "inspect" "a4815236fff5898bb2fc8f910fe904cdcc63615d1ca0d6291e352c74b81b30a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4815236fff5898bb2fc8f910fe904cdcc63615d1ca0d6291e352c74b81b30a2", kill_on_drop: false }` [INFO] [stdout] a4815236fff5898bb2fc8f910fe904cdcc63615d1ca0d6291e352c74b81b30a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af4f83af59d6d489a2bc4bd50b3a661bbcb99ed76328f3e5247708b0e7c824be [INFO] running `Command { std: "docker" "start" "-a" "af4f83af59d6d489a2bc4bd50b3a661bbcb99ed76328f3e5247708b0e7c824be", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `SdkResult` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SdkResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_expired`, `remove`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Cache { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn remove_expired(&self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn remove(&self, key: &T) -> Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `URL_SAFE_TABLE` is never used [INFO] [stdout] --> src/utils/base64.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | static URL_SAFE_TABLE: [u8; 64] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `URL_SAFE_DECODE_TABLE` is never used [INFO] [stdout] --> src/utils/base64.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | static URL_SAFE_DECODE_TABLE: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TrailingUnPaddedBits` is never constructed [INFO] [stdout] --> src/utils/base64.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum ErrorKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 135 | TrailingUnPaddedBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode` is never used [INFO] [stdout] --> src/utils/base64.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn urlsafe_encode>(input: D) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn urlsafe_encode_with_config>(input: D, config: Config) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn urlsafe_encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_to_slice_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn urlsafe_encode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode` is never used [INFO] [stdout] --> src/utils/base64.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn urlsafe_decode>(input: D) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn urlsafe_decode_with_config>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn urlsafe_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_to_slice_with_config` is never used [INFO] [stdout] --> src/utils/base64.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn urlsafe_decode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SKIP` is never used [INFO] [stdout] --> src/utils/base64.rs:610:7 [INFO] [stdout] | [INFO] [stdout] 610 | const SKIP: u8 = 0xfd; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PADB` is never used [INFO] [stdout] --> src/utils/base64.rs:611:7 [INFO] [stdout] | [INFO] [stdout] 611 | const PADB: u8 = 0x3d; // b'=' [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FORGIVING_TABLE_INV` is never used [INFO] [stdout] --> src/utils/base64.rs:612:8 [INFO] [stdout] | [INFO] [stdout] 612 | static FORGIVING_TABLE_INV: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forgiving_decode` is never used [INFO] [stdout] --> src/utils/base64.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn forgiving_decode>(input: R) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forgiving_decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:659:8 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn forgiving_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaUrl` is never constructed [INFO] [stdout] --> src/mp/material.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct MediaUrl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wx-sdk v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/tags.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::blocking::get` [INFO] [stdout] --> tests/event.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::blocking::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `access_token::AccessTokenProvider` [INFO] [stdout] --> tests/event.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | access_token::AccessTokenProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> tests/reply.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let test = " [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> tests/reply.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let reply = reply_to_xml(reply, "fromUser", "toUser")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> tests/event.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let elem = doc.root().child("MsgSignature").unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/access_token.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SdkResult` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SdkResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mp::event::EventMessage` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | use crate::mp::event::EventMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/mp/event/msg_event/event_publishjob.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let msg = Document::parse(s)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_expired`, `remove`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl Cache { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn remove_expired(&self) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn remove(&self, key: &T) -> Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_encode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn urlsafe_encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlsafe_decode_to_slice` is never used [INFO] [stdout] --> src/utils/base64.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn urlsafe_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaUrl` is never constructed [INFO] [stdout] --> src/mp/material.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct MediaUrl { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn qrcode(&self) -> QrcodeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn shorten(&self) -> ShortenModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn tags(&self) -> TagsModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn user(&self) -> UserModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn message(&self) -> MessageModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn menu(&self) -> MenuModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn template(&self) -> TemplateModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn media(&self) -> MediaModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn material(&self) -> MaterialModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn datacube(&self) -> DataCubeModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn customservice(&self) -> CustomServiceModule<'_, WxSdk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn ticket(&self) -> TicketModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 154 | pub fn sns(&self) -> SnsModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn draft(&self) -> DraftModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub fn freepublish(&self) -> FreePublishModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 362 | pub fn template(&self) -> TemplateModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/message.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 366 | pub fn mass(&self) -> MassModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mp/tags.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn members(&self) -> MembersModule<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "af4f83af59d6d489a2bc4bd50b3a661bbcb99ed76328f3e5247708b0e7c824be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af4f83af59d6d489a2bc4bd50b3a661bbcb99ed76328f3e5247708b0e7c824be", kill_on_drop: false }` [INFO] [stdout] af4f83af59d6d489a2bc4bd50b3a661bbcb99ed76328f3e5247708b0e7c824be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7258bda119723732e68878b57becff8f9221055e24a3096a188ebda16089645d [INFO] running `Command { std: "docker" "start" "-a" "7258bda119723732e68878b57becff8f9221055e24a3096a188ebda16089645d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SdkResult` [INFO] [stderr] --> src/mp/event/msg_event/event_publishjob.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | SdkResult, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/mp/event/msg_event/event_publishjob.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `remove_expired`, `remove`, and `clear` are never used [INFO] [stderr] --> src/cache.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 32 | impl Cache { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub async fn remove_expired(&self) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub async fn remove(&self, key: &T) -> Option [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub async fn clear(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: static `URL_SAFE_TABLE` is never used [INFO] [stderr] --> src/utils/base64.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | static URL_SAFE_TABLE: [u8; 64] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `URL_SAFE_DECODE_TABLE` is never used [INFO] [stderr] --> src/utils/base64.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | static URL_SAFE_DECODE_TABLE: [u8; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `TrailingUnPaddedBits` is never constructed [INFO] [stderr] --> src/utils/base64.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 130 | pub enum ErrorKind { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 135 | TrailingUnPaddedBits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_encode` is never used [INFO] [stderr] --> src/utils/base64.rs:238:8 [INFO] [stderr] | [INFO] [stderr] 238 | pub fn urlsafe_encode>(input: D) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_encode_with_config` is never used [INFO] [stderr] --> src/utils/base64.rs:241:8 [INFO] [stderr] | [INFO] [stderr] 241 | pub fn urlsafe_encode_with_config>(input: D, config: Config) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_to_slice` is never used [INFO] [stderr] --> src/utils/base64.rs:259:8 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_encode_to_slice` is never used [INFO] [stderr] --> src/utils/base64.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn urlsafe_encode_to_slice, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_encode_to_slice_with_config` is never used [INFO] [stderr] --> src/utils/base64.rs:276:8 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn urlsafe_encode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_decode` is never used [INFO] [stderr] --> src/utils/base64.rs:376:8 [INFO] [stderr] | [INFO] [stderr] 376 | pub fn urlsafe_decode>(input: D) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_decode_with_config` is never used [INFO] [stderr] --> src/utils/base64.rs:379:8 [INFO] [stderr] | [INFO] [stderr] 379 | pub fn urlsafe_decode_with_config>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_to_slice` is never used [INFO] [stderr] --> src/utils/base64.rs:402:8 [INFO] [stderr] | [INFO] [stderr] 402 | pub fn decode_to_slice, W: AsMut<[u8]>>( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_decode_to_slice` is never used [INFO] [stderr] --> src/utils/base64.rs:418:8 [INFO] [stderr] | [INFO] [stderr] 418 | pub fn urlsafe_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `urlsafe_decode_to_slice_with_config` is never used [INFO] [stderr] --> src/utils/base64.rs:425:8 [INFO] [stderr] | [INFO] [stderr] 425 | pub fn urlsafe_decode_to_slice_with_config, W: AsMut<[u8]>>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SKIP` is never used [INFO] [stderr] --> src/utils/base64.rs:610:7 [INFO] [stderr] | [INFO] [stderr] 610 | const SKIP: u8 = 0xfd; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PADB` is never used [INFO] [stderr] --> src/utils/base64.rs:611:7 [INFO] [stderr] | [INFO] [stderr] 611 | const PADB: u8 = 0x3d; // b'=' [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `FORGIVING_TABLE_INV` is never used [INFO] [stderr] --> src/utils/base64.rs:612:8 [INFO] [stderr] | [INFO] [stderr] 612 | static FORGIVING_TABLE_INV: [u8; 256] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `forgiving_decode` is never used [INFO] [stderr] --> src/utils/base64.rs:639:8 [INFO] [stderr] | [INFO] [stderr] 639 | pub fn forgiving_decode>(input: R) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `forgiving_decode_to_slice` is never used [INFO] [stderr] --> src/utils/base64.rs:659:8 [INFO] [stderr] | [INFO] [stderr] 659 | pub fn forgiving_decode_to_slice, W: AsMut<[u8]>>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MediaUrl` is never constructed [INFO] [stderr] --> src/mp/material.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | struct MediaUrl { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn qrcode(&self) -> QrcodeModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 100 | pub fn qrcode(&self) -> QrcodeModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:104:20 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn shorten(&self) -> ShortenModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn shorten(&self) -> ShortenModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn tags(&self) -> TagsModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | pub fn tags(&self) -> TagsModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn user(&self) -> UserModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn user(&self) -> UserModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn message(&self) -> MessageModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn message(&self) -> MessageModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn menu(&self) -> MenuModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 120 | pub fn menu(&self) -> MenuModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:124:21 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn template(&self) -> TemplateModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 124 | pub fn template(&self) -> TemplateModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:129:18 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn media(&self) -> MediaModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 129 | pub fn media(&self) -> MediaModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:134:21 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn material(&self) -> MaterialModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn material(&self) -> MaterialModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:139:21 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn datacube(&self) -> DataCubeModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn datacube(&self) -> DataCubeModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:144:26 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn customservice(&self) -> CustomServiceModule> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn customservice(&self) -> CustomServiceModule<'_, WxSdk> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn ticket(&self) -> TicketModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 149 | pub fn ticket(&self) -> TicketModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:154:16 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn sns(&self) -> SnsModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 154 | pub fn sns(&self) -> SnsModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:159:18 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn draft(&self) -> DraftModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn draft(&self) -> DraftModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp.rs:164:24 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn freepublish(&self) -> FreePublishModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 164 | pub fn freepublish(&self) -> FreePublishModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp/message.rs:362:21 [INFO] [stderr] | [INFO] [stderr] 362 | pub fn template(&self) -> TemplateModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 362 | pub fn template(&self) -> TemplateModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp/message.rs:366:17 [INFO] [stderr] | [INFO] [stderr] 366 | pub fn mass(&self) -> MassModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 366 | pub fn mass(&self) -> MassModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mp/tags.rs:42:20 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn members(&self) -> MembersModule { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn members(&self) -> MembersModule<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/access_token.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `SdkResult` [INFO] [stderr] --> src/mp/event/msg_event/event_publishjob.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | SdkResult, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mp::event::EventMessage` [INFO] [stderr] --> src/mp/event/msg_event/event_publishjob.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | use crate::mp::event::EventMessage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/mp/event/msg_event/event_publishjob.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | let msg = Document::parse(s)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `wx-sdk` (lib) generated 40 warnings (run `cargo fix --lib -p wx-sdk` to apply 20 suggestions) [INFO] [stderr] warning: `wx-sdk` (lib test) generated 29 warnings (25 duplicates) (run `cargo fix --lib -p wx-sdk --tests` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `reqwest::blocking::get` [INFO] [stderr] --> tests/event.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | use reqwest::blocking::get; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `access_token::AccessTokenProvider` [INFO] [stderr] --> tests/event.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | access_token::AccessTokenProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `elem` [INFO] [stderr] --> tests/event.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let elem = doc.root().child("MsgSignature").unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test` [INFO] [stderr] --> tests/reply.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | let test = " [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reply` [INFO] [stderr] --> tests/reply.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let reply = reply_to_xml(reply, "fromUser", "toUser")?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: `wx-sdk` (test "event") generated 3 warnings (run `cargo fix --test "event"` to apply 2 suggestions) [INFO] [stderr] warning: `wx-sdk` (test "reply") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wx_sdk-2c181e90cf448cef) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test access_token::tests::test ... ok [INFO] [stdout] test error::test_data_and_error ... ok [INFO] [stdout] test error::test_error_from ... ok [INFO] [stdout] test mp::event::msg_event::event_click::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_location::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_guide::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_scan::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_scan::tests::parse_menuscan ... ok [INFO] [stdout] test mp::event::msg_event::event_publishjob::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_send::tests::parse_send_locaiton ... ok [INFO] [stdout] test mp::event::msg_event::event_subscribe::tests::parse ... ok [INFO] [stdout] test mp::event::msg_event::event_send::tests::parse_send_pics ... ok [INFO] [stdout] test mp::event::msg_event::event_view::tests::parse ... ok [INFO] [stdout] test mp::event::msg_image::tests::parse ... ok [INFO] [stdout] test mp::event::msg_text::parse ... ok [INFO] [stdout] test mp::event::msg_video::parse ... ok [INFO] [stdout] test mp::event::msg_link::tests::parse ... ok [INFO] [stdout] test mp::menu::tests::deserialize_menu ... ok [INFO] [stdout] test mp::event::msg_voice::parse ... ok [INFO] [stdout] test mp::menu::tests::deserialize_allmenu2 ... ok [INFO] [stdout] test mp::event::msg_location::tests::parse ... ok [INFO] [stdout] test utils::base64::test_forgiving_decode ... ok [INFO] [stdout] test mp::user::tests::test_user_info_item ... ok [INFO] [stdout] test mp::menu::tests::deserialize_allmenu1 ... ok [INFO] [stdout] test utils::base64::test_base64_trailing_bits ... ok [INFO] [stdout] test utils::base64::test_base64 ... ok [INFO] [stdout] test access_token::tests::test_get_from_cache ... ok [INFO] [stdout] test mp::ticket::tests::test_get_from_cache ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s [INFO] [stdout] [INFO] [stderr] Running tests/event.rs (/opt/rustwide/target/debug/deps/event-6384364d6aee3898) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_encrypt_msg ... ok [INFO] [stdout] test tests::test_parse_event ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/reply.rs (/opt/rustwide/target/debug/deps/reply-4cf54262fceeee16) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::reply_text ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wx_sdk [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/wechat.rs - wechat (line 11) ... ignored [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] test src/wechat.rs - wechat (line 6) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7258bda119723732e68878b57becff8f9221055e24a3096a188ebda16089645d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7258bda119723732e68878b57becff8f9221055e24a3096a188ebda16089645d", kill_on_drop: false }` [INFO] [stdout] 7258bda119723732e68878b57becff8f9221055e24a3096a188ebda16089645d