[INFO] cloning repository https://github.com/MaaAssistantArknights/maa-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaaAssistantArknights/maa-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaaAssistantArknights%2Fmaa-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaaAssistantArknights%2Fmaa-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cc716a4a49adaf877d6ad7ea54b2ad39f996fb3 [INFO] checking MaaAssistantArknights/maa-cli against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaaAssistantArknights%2Fmaa-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaaAssistantArknights/maa-cli on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MaaAssistantArknights/maa-cli [INFO] finished tweaking git repo https://github.com/MaaAssistantArknights/maa-cli [INFO] tweaked toml for git repo https://github.com/MaaAssistantArknights/maa-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MaaAssistantArknights/maa-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_complete v4.5.50 [INFO] [stderr] Downloaded roff v0.2.2 [INFO] [stderr] Downloaded clap_mangen v0.2.26 [INFO] [stderr] Downloaded constcat v0.6.0 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded libgit2-sys v0.18.1+1.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b9e9b9e024e28f9cf1b436fda143957c5853707ba0997bdcfcd978f185cc0c5 [INFO] running `Command { std: "docker" "start" "-a" "0b9e9b9e024e28f9cf1b436fda143957c5853707ba0997bdcfcd978f185cc0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b9e9b9e024e28f9cf1b436fda143957c5853707ba0997bdcfcd978f185cc0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9e9b9e024e28f9cf1b436fda143957c5853707ba0997bdcfcd978f185cc0c5", kill_on_drop: false }` [INFO] [stdout] 0b9e9b9e024e28f9cf1b436fda143957c5853707ba0997bdcfcd978f185cc0c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7afbddf556cfeb088a420b53c86bc82c0140cda08b00720a4d08c7378fb2c78c [INFO] running `Command { std: "docker" "start" "-a" "7afbddf556cfeb088a420b53c86bc82c0140cda08b00720a4d08c7378fb2c78c", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling maa-sys v0.7.0 (/opt/rustwide/workdir/crates/maa-sys) [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking constcat v0.6.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling zip v2.6.1 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking roff v0.2.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling maa-cli v0.5.5 (/opt/rustwide/workdir/crates/maa-cli) [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking maa-dirs v0.2.0 (/opt/rustwide/workdir/crates/maa-dirs) [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-dirs/src/lib.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn expand_tilde(path: &Path) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 379 | pub fn expand_tilde(path: &Path) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-dirs/src/lib.rs:388:28 [INFO] [stdout] | [INFO] [stdout] 388 | fn _find_from(exe_path: &Path, finder: F) -> Option> [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | fn _find_from(exe_path: &Path, finder: F) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking xattr v1.5.0 [INFO] [stderr] Checking prettytable v0.10.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.1+1.9.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking self-replace v1.5.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-dirs/src/lib.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn expand_tilde(path: &Path) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 379 | pub fn expand_tilde(path: &Path) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-dirs/src/lib.rs:388:28 [INFO] [stdout] | [INFO] [stdout] 388 | fn _find_from(exe_path: &Path, finder: F) -> Option> [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 388 | fn _find_from(exe_path: &Path, finder: F) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 futures-macro v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling color-print-proc-macro v0.3.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking color-print v0.3.7 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking clap_mangen v0.2.26 [INFO] [stderr] Checking clap_complete v4.5.50 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking maa-types v0.2.0 (/opt/rustwide/workdir/crates/maa-types) [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking git2 v0.20.2 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn target_dir(&self) -> Cow; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn target_dir(&self) -> Cow<'_, Path>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn target_dir(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn target_dir(&self) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/config/asst.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn connect_args(&self) -> (&str, Cow, &str) { [INFO] [stdout] | ^^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn connect_args(&self) -> (&str, Cow<'_, str>, &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/config/cli/resource.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn get(&self) -> std::io::Result>> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | pub fn get(&self) -> std::io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/installer/resource.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | fn create_fetch_options(cert: &Certificate) -> git2::FetchOptions { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn create_fetch_options(cert: &Certificate) -> git2::FetchOptions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(LogPrefix::Always.format(true), pff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(LogPrefix::Always.format(false), pff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | assert_eq!(LogPrefix::Never.format(true), plf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(LogPrefix::Never.format(false), plf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | assert_eq!(LogPrefix::Auto.format(true), pff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> crates/maa-cli/src/log.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(LogPrefix::Auto.format(false), plf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn target_dir(&self) -> Cow; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn target_dir(&self) -> Cow<'_, Path>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn target_dir(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn target_dir(&self) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 308 | fn target_dir(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 308 | fn target_dir(&self) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn target_dir(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 316 | fn target_dir(&self) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/cleanup.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | fn target_dir(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 331 | fn target_dir(&self) -> Cow<'_, Path> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/config/asst.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn connect_args(&self) -> (&str, Cow, &str) { [INFO] [stdout] | ^^^^^ ---- -------- ---- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn connect_args(&self) -> (&str, Cow<'_, str>, &str) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/config/cli/resource.rs:286:16 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn get(&self) -> std::io::Result>> { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | pub fn get(&self) -> std::io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/maa-cli/src/installer/resource.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | fn create_fetch_options(cert: &Certificate) -> git2::FetchOptions { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn create_fetch_options(cert: &Certificate) -> git2::FetchOptions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.68s [INFO] running `Command { std: "docker" "inspect" "7afbddf556cfeb088a420b53c86bc82c0140cda08b00720a4d08c7378fb2c78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afbddf556cfeb088a420b53c86bc82c0140cda08b00720a4d08c7378fb2c78c", kill_on_drop: false }` [INFO] [stdout] 7afbddf556cfeb088a420b53c86bc82c0140cda08b00720a4d08c7378fb2c78c