[INFO] cloning repository https://github.com/Aderinom/Wrapp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aderinom/Wrapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAderinom%2FWrapp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAderinom%2FWrapp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1f32b43a73d937a01fc57ae60f9ce8154710dc [INFO] checking Aderinom/Wrapp against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAderinom%2FWrapp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aderinom/Wrapp on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aderinom/Wrapp [INFO] finished tweaking git repo https://github.com/Aderinom/Wrapp [INFO] tweaked toml for git repo https://github.com/Aderinom/Wrapp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aderinom/Wrapp 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Aderinom/Wrapp against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAderinom%2FWrapp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aderinom/Wrapp on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aderinom/Wrapp [INFO] finished tweaking git repo https://github.com/Aderinom/Wrapp [INFO] tweaked toml for git repo https://github.com/Aderinom/Wrapp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aderinom/Wrapp 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Aderinom/Wrapp against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAderinom%2FWrapp" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aderinom/Wrapp on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aderinom/Wrapp [INFO] finished tweaking git repo https://github.com/Aderinom/Wrapp [INFO] tweaked toml for git repo https://github.com/Aderinom/Wrapp written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Aderinom/Wrapp 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f11d9a68d58fdeee821a3310044e02c23e1231fa7c5560d7477feb6dc05758 [INFO] running `Command { std: "docker" "start" "-a" "50f11d9a68d58fdeee821a3310044e02c23e1231fa7c5560d7477feb6dc05758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f11d9a68d58fdeee821a3310044e02c23e1231fa7c5560d7477feb6dc05758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f11d9a68d58fdeee821a3310044e02c23e1231fa7c5560d7477feb6dc05758", kill_on_drop: false }` [INFO] [stdout] 50f11d9a68d58fdeee821a3310044e02c23e1231fa7c5560d7477feb6dc05758 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67a92e7682cccfd7be9acb8f160fb5db657ce594c932bdf4906284cd720d22d7 [INFO] running `Command { std: "docker" "start" "-a" "67a92e7682cccfd7be9acb8f160fb5db657ce594c932bdf4906284cd720d22d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.138 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking wrapp v0.1.0 (/opt/rustwide/workdir/wrapp) [INFO] [stderr] Checking wrapp-strategies v0.1.0 (/opt/rustwide/workdir/features/wrapp-strategies) [INFO] [stderr] Checking wrapp-router v0.1.0 (/opt/rustwide/workdir/features/wrapp-router) [INFO] [stderr] Checking wrapp-config v0.1.0 (/opt/rustwide/workdir/features/wrapp-config) [INFO] [stderr] Checking wrapp-actix v0.1.0 (/opt/rustwide/workdir/strategies/wrapp-actix) [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wrapp-di v0.1.0 (/opt/rustwide/workdir/features/wrapp-di) [INFO] [stdout] error[E0425]: cannot find value `test_instance` in this scope [INFO] [stdout] --> features/wrapp-di/src/lib.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | println!("{:?}", test_instance); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::pin` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:2:95 [INFO] [stdout] | [INFO] [stdout] 2 | any::{Any, TypeId}, collections::{HashMap, HashSet}, convert::Infallible, future::Future, pin::pin, sync::Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `test_instance` in this scope [INFO] [stdout] --> features/wrapp-di/src/lib.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | println!("{:?}", test_instance); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin::pin` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:2:95 [INFO] [stdout] | [INFO] [stdout] 2 | any::{Any, TypeId}, collections::{HashMap, HashSet}, convert::Infallible, future::Future, pin::pin, sync::Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oneshot` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_channel::{mpsc, oneshot}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(()) [INFO] [stdout] | -- ^^ expected `App`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> features/wrapp-di/src/lib.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(()) [INFO] [stdout] | ^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/result.rs:532:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | Some(result) => self.handle_task_result(result), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), DiError>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), DiError>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 308 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 305 | return match factory_result { [INFO] [stdout] | ++++++ [INFO] [stdout] help: use the `?` operator to extract the `Result<(), DiError>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 308 | }? [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `di` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 408 | async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_di` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> features/wrapp-di/src/lib.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 62 | / async fn construct( [INFO] [stdout] 63 | | &mut self, [INFO] [stdout] 64 | | di: &InjectionHandle, [INFO] [stdout] 65 | | ) -> Result>; [INFO] [stdout] | |_____________________________________________________- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 408 | async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 408 - async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] 408 + Result<::Provides, impl Into>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:329:74 [INFO] [stdout] | [INFO] [stdout] 329 | self.ready_instances.insert(task_result.type_id(), Some(Arc::new(task_result))); [INFO] [stdout] | -------- ^^^^^^^^^^^ expected `Instance`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Instance` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/alloc/src/sync.rs:386:12 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 329 | self.ready_instances.insert(task_result.type_id(), Some(Arc::new(task_result.expect("REASON")))); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:373:46 [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone())); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ expected `Arc`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: the type constructed contains `Option>` due to the type of the argument passed [INFO] [stdout] --> features/wrapp-di/src/lib.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone())); [INFO] [stdout] | ^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/result.rs:532:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone().expect("REASON"))); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{stream::FuturesUnordered, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 106 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 117 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 108 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 107 | di: &InjectionHandle, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 117 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `di`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 108 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 121 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 131 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 122 | di: &InjectionHandle, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 131 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `di`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wrapp-di` (lib) due to 9 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(()) [INFO] [stdout] | -- ^^ expected `App`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> features/wrapp-di/src/lib.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(()) [INFO] [stdout] | ^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/result.rs:532:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | Some(result) => self.handle_task_result(result), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), DiError>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), DiError>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 308 | }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 305 | return match factory_result { [INFO] [stdout] | ++++++ [INFO] [stdout] help: use the `?` operator to extract the `Result<(), DiError>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 308 | }? [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `di` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 408 | async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_di` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> features/wrapp-di/src/lib.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 62 | / async fn construct( [INFO] [stdout] 63 | | &mut self, [INFO] [stdout] 64 | | di: &InjectionHandle, [INFO] [stdout] 65 | | ) -> Result>; [INFO] [stdout] | |_____________________________________________________- return type from trait method defined here [INFO] [stdout] ... [INFO] [stdout] 408 | async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 408 - async fn construct(&mut self, di: &InjectionHandle) -> Result { [INFO] [stdout] 408 + Result<::Provides, impl Into>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:329:74 [INFO] [stdout] | [INFO] [stdout] 329 | self.ready_instances.insert(task_result.type_id(), Some(Arc::new(task_result))); [INFO] [stdout] | -------- ^^^^^^^^^^^ expected `Instance`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Instance` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/alloc/src/sync.rs:386:12 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 329 | self.ready_instances.insert(task_result.type_id(), Some(Arc::new(task_result.expect("REASON")))); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> features/wrapp-di/src/lib.rs:373:46 [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone())); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ expected `Arc`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arc<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: the type constructed contains `Option>` due to the type of the argument passed [INFO] [stdout] --> features/wrapp-di/src/lib.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone())); [INFO] [stdout] | ^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/result.rs:532:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 373 | let _ = response_channel.send(Ok(instance.clone().expect("REASON"))); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> features/wrapp-di/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{stream::FuturesUnordered, FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 106 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 117 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 108 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 107 | di: &InjectionHandle, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 117 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `di`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 108 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 121 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 131 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> features/wrapp-di/src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 122 | di: &InjectionHandle, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 131 | Box::new(future) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `di`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box> + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wrapp-di` (lib test) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67a92e7682cccfd7be9acb8f160fb5db657ce594c932bdf4906284cd720d22d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67a92e7682cccfd7be9acb8f160fb5db657ce594c932bdf4906284cd720d22d7", kill_on_drop: false }` [INFO] [stdout] 67a92e7682cccfd7be9acb8f160fb5db657ce594c932bdf4906284cd720d22d7