[INFO] fetching crate dubbo 0.4.0... [INFO] checking dubbo-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate dubbo 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate dubbo 0.4.0 [INFO] finished tweaking crates.io crate dubbo 0.4.0 [INFO] tweaked toml for crates.io crate dubbo 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dubbo 0.4.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 252 packages to latest compatible versions [INFO] [stderr] Adding aws-smithy-http v0.55.3 (available: v0.62.5) [INFO] [stderr] Adding axum v0.5.17 (available: v0.8.6) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.8.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding nacos-sdk v0.3.6 (available: v0.5.3) [INFO] [stderr] Adding prost v0.11.9 (available: v0.14.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rustls-native-certs v0.6.3 (available: v0.8.2) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.2.0) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.103.8) [INFO] [stderr] Adding state v0.5.3 (available: v0.6.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-rustls v0.24.1 (available: v0.26.4) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2d4277ad73b58ca903f4eb76c2934a5d32649455d74964bfc755b597d6dd148 [INFO] running `Command { std: "docker" "start" "-a" "f2d4277ad73b58ca903f4eb76c2934a5d32649455d74964bfc755b597d6dd148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d4277ad73b58ca903f4eb76c2934a5d32649455d74964bfc755b597d6dd148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d4277ad73b58ca903f4eb76c2934a5d32649455d74964bfc755b597d6dd148", kill_on_drop: false }` [INFO] [stdout] f2d4277ad73b58ca903f4eb76c2934a5d32649455d74964bfc755b597d6dd148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54ecb27718bb315f2590bec54f81d935dbe43a64ce2195873f79d7f503b026d [INFO] running `Command { std: "docker" "start" "-a" "f54ecb27718bb315f2590bec54f81d935dbe43a64ce2195873f79d7f503b026d", kill_on_drop: false }` [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling argh_shared v0.1.13 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling argh_derive v0.1.13 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking aws-smithy-types v0.55.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling nacos-macro v0.1.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking rust-fuzzy-search v0.1.1 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking local_ipaddress v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking argh v0.1.13 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking project-root v0.2.2 [INFO] [stderr] Checking state v0.5.3 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking aws-smithy-http v0.55.3 [INFO] [stderr] Checking axum v0.5.17 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking nacos-sdk v0.3.6 [INFO] [stderr] Checking dubbo v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `InvokerExtensionFactory` is never constructed [INFO] [stdout] --> src/extension/mod.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub(crate) enum ExtensionFactories { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 477 | RegistryExtensionFactory(registry_extension::RegistryExtensionFactory), [INFO] [stdout] 478 | InvokerExtensionFactory(invoker_extension::InvokerExtensionFactory), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/extension/invoker_extension.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl InvokerExtensionFactory { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 237 | pub fn new(constructor: InvokerExtensionConstructor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvokerExtension` is never constructed [INFO] [stdout] --> src/extension/invoker_extension.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct InvokerExtension(PhantomData) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/extension_param.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str(&self) -> Cow { [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] 39 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/extension_param.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_str(&self) -> Cow { [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] 71 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 83 | | match s { [INFO] [stdout] 84 | | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] 85 | | _ => panic!("the extension type enum is not in range"), [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / match s { [INFO] [stdout] 84 | | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] 85 | | _ => panic!("the extension type enum is not in range"), [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str(&self) -> Cow { [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] 39 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_str(&self) -> Cow { [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] 71 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | fn as_str(&self) -> Cow { [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] 109 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | fn as_str(&self) -> Cow { [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] 147 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | fn as_str(&self) -> Cow { [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] 185 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | fn as_str(&self) -> Cow { [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] 223 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | fn as_str(&self) -> Cow { [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] 261 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_str(&self) -> Cow { [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] 299 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:310:53 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 311 | | match s.to_lowercase().as_str() { [INFO] [stdout] 312 | | "consumer" => Ok(Side::Consumer), [INFO] [stdout] 313 | | "provider" => Ok(Side::Provider), [INFO] [stdout] ... | [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | / match s.to_lowercase().as_str() { [INFO] [stdout] 312 | | "consumer" => Ok(Side::Consumer), [INFO] [stdout] 313 | | "provider" => Ok(Side::Provider), [INFO] [stdout] 314 | | _ => Ok(Side::Consumer), [INFO] [stdout] 315 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:312:27 [INFO] [stdout] | [INFO] [stdout] 312 | "consumer" => Ok(Side::Consumer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 313 | "provider" => Ok(Side::Provider), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | _ => Ok(Side::Consumer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 338 | fn as_str(&self) -> Cow { [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] 338 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 347 | | Ok(Self(s.to_string())) [INFO] [stdout] 348 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | Ok(Self(s.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/registry/registry.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | static_invoker_urls.iter().join(",").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/triple/transport/router.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | match futures_util::ready!(self.project().0.poll(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `futures_util::ready` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/triple/transport/router.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | match futures_util::ready!(self.project().0.poll(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `futures_util::ready` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/url.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | fn as_str(&self) -> Cow; [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] 176 | fn as_str(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dubbo` (lib) due to 13 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `InvokerExtensionFactory` is never constructed [INFO] [stdout] --> src/extension/mod.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub(crate) enum ExtensionFactories { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 477 | RegistryExtensionFactory(registry_extension::RegistryExtensionFactory), [INFO] [stdout] 478 | InvokerExtensionFactory(invoker_extension::InvokerExtensionFactory), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/extension/invoker_extension.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl InvokerExtensionFactory { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 237 | pub fn new(constructor: InvokerExtensionConstructor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvokerExtension` is never constructed [INFO] [stdout] --> src/extension/invoker_extension.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct InvokerExtension(PhantomData) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/extension_param.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str(&self) -> Cow { [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] 39 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/extension_param.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_str(&self) -> Cow { [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] 71 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:82:53 [INFO] [stdout] | [INFO] [stdout] 82 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 83 | | match s { [INFO] [stdout] 84 | | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] 85 | | _ => panic!("the extension type enum is not in range"), [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / match s { [INFO] [stdout] 84 | | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] 85 | | _ => panic!("the extension type enum is not in range"), [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/extension_param.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | "registry" => Ok(ExtensionType::Registry), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_str(&self) -> Cow { [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] 39 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | fn as_str(&self) -> Cow { [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] 71 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | fn as_str(&self) -> Cow { [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] 109 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | fn as_str(&self) -> Cow { [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] 147 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | fn as_str(&self) -> Cow { [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] 185 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | fn as_str(&self) -> Cow { [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] 223 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | fn as_str(&self) -> Cow { [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] 261 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_str(&self) -> Cow { [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] 299 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:310:53 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 311 | | match s.to_lowercase().as_str() { [INFO] [stdout] 312 | | "consumer" => Ok(Side::Consumer), [INFO] [stdout] 313 | | "provider" => Ok(Side::Provider), [INFO] [stdout] ... | [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | / match s.to_lowercase().as_str() { [INFO] [stdout] 312 | | "consumer" => Ok(Side::Consumer), [INFO] [stdout] 313 | | "provider" => Ok(Side::Provider), [INFO] [stdout] 314 | | _ => Ok(Side::Consumer), [INFO] [stdout] 315 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:312:27 [INFO] [stdout] | [INFO] [stdout] 312 | "consumer" => Ok(Side::Consumer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 313 | "provider" => Ok(Side::Provider), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | _ => Ok(Side::Consumer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/registry_param.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 338 | fn as_str(&self) -> Cow { [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] 338 | fn as_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 347 | | Ok(Self(s.to_string())) [INFO] [stdout] 348 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/params/registry_param.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | Ok(Self(s.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/registry/registry.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | static_invoker_urls.iter().join(",").parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/triple/transport/router.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | match futures_util::ready!(self.project().0.poll(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `futures_util::ready` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/triple/transport/router.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | match futures_util::ready!(self.project().0.poll(cx)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `futures_util::ready` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/url.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | fn as_str(&self) -> Cow; [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] 176 | fn as_str(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dubbo` (lib test) due to 13 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f54ecb27718bb315f2590bec54f81d935dbe43a64ce2195873f79d7f503b026d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54ecb27718bb315f2590bec54f81d935dbe43a64ce2195873f79d7f503b026d", kill_on_drop: false }` [INFO] [stdout] f54ecb27718bb315f2590bec54f81d935dbe43a64ce2195873f79d7f503b026d