[INFO] fetching crate froodi 1.0.0-beta.20... [INFO] testing froodi-1.0.0-beta.20 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2 [INFO] extracting crate froodi 1.0.0-beta.20 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate froodi 1.0.0-beta.20 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate froodi 1.0.0-beta.20 [INFO] tweaked toml for crates.io crate froodi 1.0.0-beta.20 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate froodi 1.0.0-beta.20 on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate crates.io crate froodi 1.0.0-beta.20 already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034 [INFO] running `"docker" "start" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "inspect" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling equivalent v1.0.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Compiling froodi v1.0.0-beta.20 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling toml_edit v0.25.17+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling froodi-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Finished `release` profile [optimized] target(s) in 8.16s [INFO] running `"docker" "inspect" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling smallvec v1.16.3 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling mio v1.2.4 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy-derive v0.8.63 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling want v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling typetag v0.2.23 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Compiling inventory v0.3.25 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling linkme-impl v0.3.37 [INFO] [stderr] Compiling num-iter v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling froodi v1.0.0-beta.19 [INFO] [stderr] Compiling cookie v0.18.2 [INFO] [stderr] Compiling target-tuple v1.0.2 [INFO] [stderr] Compiling deranged v0.5.9 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.1 [INFO] [stderr] Compiling linkme v0.3.37 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_builder v4.6.7 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling froodi-macros v1.1.0 [INFO] [stderr] Compiling uuid v1.28.0 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling expect-json-macros v1.11.0 [INFO] [stderr] Compiling zerocopy v0.8.63 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling toml_writer v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling tracing-test-macro v0.2.6 [INFO] [stderr] Compiling toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_spanned v1.1.2 [INFO] [stderr] Compiling glob v0.3.4 [INFO] [stderr] Compiling bytesize v2.7.0 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling toml v1.1.8+spec-1.1.0 [INFO] [stderr] Compiling clap v4.6.7 [INFO] [stderr] Compiling rtrb v0.4.0 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling typetag-impl v0.2.23 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling reserve-port v2.5.0 [INFO] [stderr] Compiling tokio v1.54.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling ruststream-macros v0.7.5 [INFO] [stderr] Compiling froodi v1.0.0-beta.20 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling froodi-auto v1.1.0 [INFO] [stderr] Compiling tungstenite v0.29.0 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tracing-test v0.2.6 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Compiling expect-json v1.11.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling trybuild v1.0.122 [INFO] [stderr] Compiling hyper v1.12.0 [INFO] [stderr] Compiling tokio-tungstenite v0.29.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-util v0.7.20 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling ruststream v0.7.5 [INFO] [stderr] Compiling hyper-util v0.1.21 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling axum-test v18.7.0 [INFO] [stdout] warning: unused import: `registry` [INFO] [stdout] --> tests/registry_scale.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 54 | / macro_rules! fragment_entries { [INFO] [stdout] 55 | | ($($index:literal)+) => { [INFO] [stdout] 56 | | #[fragment(all)] [INFO] [stdout] 57 | | registry! { scope(App) [ $(provide(inst::<$index>)),+ ] } [INFO] [stdout] | | ^^^^^^^^ [INFO] [stdout] 58 | | }; [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- this warning originates in the macro `fragment_entries` which comes from the expansion of the macro `with_500_ids` [INFO] [stdout] 60 | [INFO] [stdout] 61 | with_500_ids!(fragment_entries); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 4m 33s [INFO] running `"docker" "inspect" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: unused import: `registry` [INFO] [stderr] --> tests/registry_scale.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 54 | / macro_rules! fragment_entries { [INFO] [stderr] 55 | | ($($index:literal)+) => { [INFO] [stderr] 56 | | #[fragment(all)] [INFO] [stderr] 57 | | registry! { scope(App) [ $(provide(inst::<$index>)),+ ] } [INFO] [stderr] | | ^^^^^^^^ [INFO] [stderr] 58 | | }; [INFO] [stderr] 59 | | } [INFO] [stderr] | |_- this warning originates in the macro `fragment_entries` which comes from the expansion of the macro `with_500_ids` [INFO] [stderr] 60 | [INFO] [stderr] 61 | with_500_ids!(fragment_entries); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `froodi` (test "registry_scale") generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/froodi/f19a2215de3759d0/out/froodi-f19a2215de3759d0) [INFO] [stdout] [INFO] [stdout] running 142 tests [INFO] [stdout] test any::tests::test_btreemap_key_distinct_types ... ok [INFO] [stdout] test any::tests::test_hash_equal_for_equal_values ... ok [INFO] [stdout] test any::tests::test_display_contains_type_name ... ok [INFO] [stdout] test any::tests::test_of_different_types_not_equal ... ok [INFO] [stdout] test any::tests::test_ord_consistent_with_partial_cmp ... ok [INFO] [stdout] test any::tests::test_of_same_type_equal ... ok [INFO] [stdout] test any::tests::test_btreemap_same_type_overwrites ... ok [INFO] [stdout] test any::tests::test_of_val_matches_of ... ok [INFO] [stdout] test any::tests::test_short_name_is_last_segment ... ok [INFO] [stdout] test cache::tests::push_and_take_resolved_set ... ok [INFO] [stdout] test container::tests::audit_container_self_cache_cycle_blocks_drop ... ok [INFO] [stdout] test container::tests::test_transient_get ... ok [INFO] [stdout] test cache::tests::child_clones_map_but_not_resolved ... ok [INFO] [stdout] test any::tests::test_short_name_no_path ... ok [INFO] [stdout] test cache::tests::new_get_insert_and_replace ... ok [INFO] [stdout] test any::tests::test_short_name_preserves_nested_type_syntax ... ok [INFO] [stdout] test cache::tests::extend_context_copies_entries ... ok [INFO] [stdout] test container::tests::test_close_for_resolved ... ok [INFO] [stdout] test container::tests::test_close_for_unresolved ... ok [INFO] [stdout] test dependency_resolver::tests::test_transient_resolve ... ok [INFO] [stdout] test instantiator::tests::test_boxed_instantiator_cached_factory ... ok [INFO] [stdout] test container::tests::test_scope_hierarchy ... ok [INFO] [stdout] test container::tests::test_scope_with_hierarchy ... ok [INFO] [stdout] test context::tests::new_and_default_are_empty ... ok [INFO] [stdout] test container::tests::test_scoped_get ... ok [INFO] [stdout] test container::tests::test_thread_safe ... ok [INFO] [stdout] test container::tests::test_close_on_drop ... ok [INFO] [stdout] test context::tests::insert_returns_previous_and_keeps_one_entry ... ok [INFO] [stdout] test dependency_resolver::tests::test_scoped_resolve ... ok [INFO] [stdout] test registry::tests::edges::custom_scope::indexed_dependencies_use_their_owning_custom_scope ... ok [INFO] [stdout] test registry::tests::edges::erased_fragment_defers_validation_until_after_replacement ... ok [INFO] [stdout] test registry::tests::edges::erasure_retains_runtime_cycle_checks_for_both_constructors ... ok [INFO] [stdout] test context::tests::different_types_grow_the_map ... ok [INFO] [stdout] test context::tests::insert_rc_behaves_like_insert ... ok [INFO] [stdout] test registry::tests::edges::aligned_inst_owner_survives_registry_moves_and_clones ... ok [INFO] [stdout] test registry::tests::edges::closed_composition_does_not_repeat_runtime_cycle_checks ... ok [INFO] [stdout] test container::tests::test_walkup_respects_cache_provides_false ... ok [INFO] [stdout] test dependency_resolver::tests::test_dependency_resolver_impls ... ok [INFO] [stdout] test registry::tests::edges::errors_and_panics_preserve_indexed_dependencies_and_finalizer_ownership ... ok [INFO] [stdout] test registry::tests::edges::ids_remap_after_erasure_composition_and_replacement ... ok [INFO] [stdout] test registry::tests::edges::one_instantiator_preserves_parameter_positions_in_different_topologies ... ok [INFO] [stdout] test instantiator::tests::test_boxed_instantiator_factory ... ok [INFO] [stdout] test registry::tests::edges::fixed_plan_preserves_unused_duplicate_registration_precedence ... ok [INFO] [stdout] test registry::tests::edges::linked_adapter_does_not_require_dependencies_to_be_sync ... ok [INFO] [stdout] test registry::tests::edges::fully_replaced_typed_composition_still_validates_the_effective_graph - should panic ... ok [INFO] [stdout] test registry::tests::edges::closed_composition_still_checks_scopes_at_runtime ... ok [INFO] [stdout] test registry::tests::edges::invalid_edge_is_checked_instead_of_reinterpreting_a_value ... ok [INFO] [stdout] test registry::tests::edges::opaque_composition_still_checks_cycles_at_runtime ... ok [INFO] [stdout] test registry::tests::edges::failed_dependencies_do_not_clone_the_sync_instantiator ... ok [INFO] [stdout] test registry::tests::edges::inline_closures_infer_the_original_error_type ... ok [INFO] [stdout] test registry::tests::edges::runtime_fragments_override_later_typed_providers_in_fragment_order ... ok [INFO] [stdout] test registry::tests::edges::fixed_plan_keeps_linked_edge_storage ... ok [INFO] [stdout] test instantiator::tests::test_factory_helper ... ok [INFO] [stdout] test registry::tests::edges::runtime_composition_defers_known_cycles_with_opaque_parameters - should panic ... ok [INFO] [stdout] test registry::tests::edges::replacement_removes_cycle_from_final_composition ... ok [INFO] [stdout] test registry::tests::edges::missing_context_boundary_is_a_resolution_error ... ok [INFO] [stdout] test registry::tests::edges::runtime_import_and_context_use_original_lifecycle ... ok [INFO] [stdout] test registry::tests::edges::zero_sized_instantiator_is_owned_after_registry_erasure ... ok [INFO] [stdout] test registry::tests::edges::opaque_cycle_can_be_removed_by_replacement_before_or_after_erasure ... ok [INFO] [stdout] test registry::tests::fragments::arguments_infer_types_and_borrow_without_template_generics ... ok [INFO] [stdout] test registry::tests::edges::replacement_introduces_cycle_in_effective_graph - should panic ... ok [INFO] [stdout] test registry::tests::fragments::arguments_drop_at_the_fragment_boundary_and_moves_do_not_clone ... ok [INFO] [stdout] test registry::tests::fragments::nested_fragments_and_explicit_erasure ... ok [INFO] [stdout] test registry::tests::fragments::generic_named_provider ... ok [INFO] [stdout] test registry::tests::fragments::dependencies_link_across_fragments_in_both_directions ... ok [INFO] [stdout] test registry::tests::fragments::caller_arguments_keep_their_names_before_fragment_imports ... ok [INFO] [stdout] test registry::tests::fragments::a_non_clone_argument_moves_into_shared_provider_state ... ok [INFO] [stdout] test registry::tests::fragments::captures_moves_and_repeated_expansion_hygiene ... ok [INFO] [stdout] test registry::tests::expression_order::sync_expressions_are_evaluated_once_in_source_order ... ok [INFO] [stdout] test registry::tests::edges::custom_resolver_error_converts_and_stops_later_construction ... ok [INFO] [stdout] test registry::tests::fragments::borrowed_mutable_arguments_are_consumed_without_escaping ... ok [INFO] [stdout] test registry::tests::lifecycle::a_narrower_scope_is_not_accessible_from_a_wider_container ... ok [INFO] [stdout] test registry::tests::fragments::inline_and_fragmented_materialization_have_the_same_indexed_graph ... ok [INFO] [stdout] test registry::tests::lifecycle::closing_a_scope_finalizes_only_its_own_values ... ok [INFO] [stdout] test registry::tests::construction::erased_concurrent_cached_construction ... ok [INFO] [stdout] test registry::tests::fragments::fragment_binding_does_not_add_instantiator_clones ... ok [INFO] [stdout] test registry::tests::construction::concurrent_cached_construction ... ok [INFO] [stdout] test registry::tests::lifecycle::errors_keep_froodis_nesting ... ok [INFO] [stdout] test registry::tests::lifecycle::a_failed_construction_still_finalizes_the_dependencies_it_built ... ok [INFO] [stdout] test registry::tests::lifecycle::dropping_the_last_handle_closes_the_container ... ok [INFO] [stdout] test registry::tests::lifecycle::close_runs_finalizers_in_reverse_order_once_and_clears_the_cache ... ok [INFO] [stdout] test registry::tests::lifecycle::extends_an_empty_registry ... ok [INFO] [stdout] test registry::tests::lifecycle::get_returns_a_context_value_nothing_registers ... ok [INFO] [stdout] test registry::tests::fragments::arguments_and_registration_expressions_keep_source_order ... ok [INFO] [stdout] test registry::tests::lifecycle::inject_shares_the_cached_value ... ok [INFO] [stdout] test registry::tests::lifecycle::get_transient_constructs_every_time_and_skips_the_cache ... ok [INFO] [stdout] test registry::tests::lifecycle::accepts_provide_with_scope ... ok [INFO] [stdout] test registry::tests::lifecycle::get_transient_respects_scopes_and_builds_in_the_owning_container ... ok [INFO] [stdout] test registry::tests::lifecycle::new_with_start_scope_starts_in_a_skipped_scope ... ok [INFO] [stdout] test registry::tests::lifecycle::child_containers_share_wider_values_and_own_their_scope ... ok [INFO] [stdout] test registry::tests::lifecycle::get_without_cache_provides_constructs_every_time ... ok [INFO] [stdout] test registry::tests::lifecycle::inject_transient_builds_a_fresh_value_for_each_dependent ... ok [INFO] [stdout] test registry::tests::lifecycle::get_caches_the_provided_value ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_a_registry_made_only_of_extensions ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_across_extended_registries ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_an_inline_closure ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_a_captured_closure ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_a_named_factory_chain ... ok [INFO] [stdout] test registry::tests::lifecycle::resolves_an_instance ... ok [INFO] [stdout] test registry::tests::lifecycle::the_container_itself_is_a_root_scope_dependency ... ok [INFO] [stdout] test registry::tests::scopes::borrowed_dynamic_scope_is_erased_before_registry_use ... ok [INFO] [stdout] test registry::tests::scopes::custom_scope_family_matches_native_hierarchy_and_priority_rules ... ok [INFO] [stdout] test registry::tests::scopes::imports_and_context_do_not_reuse_static_provider_scope_guarantees ... ok [INFO] [stdout] test registry::tests::scopes::scope_groups_evaluate_and_consume_the_scope_once ... ok [INFO] [stdout] test registry::tests::scopes::skipped_root_and_explicit_start_scope_remain_runtime_concerns ... ok [INFO] [stdout] test registry::tests::typed_container::typed_fragments_and_scope_builders_keep_provider_proofs ... ok [INFO] [stdout] test registry::tests::scopes::generic_bounds_determine_scope_capability ... ok [INFO] [stdout] test registry::tests::scopes::final_typed_composition_and_erasure_use_the_effective_selection ... ok [INFO] [stdout] test registry::tests::scopes::native_validation_rejects_equivalent_invalid_static_relationships ... ok [INFO] [stdout] test registry::tests::scopes::runtime_values_and_default_scope_keep_runtime_validation ... ok [INFO] [stdout] test registry::tests::typed_container::cache_policy_and_finalizers_use_the_original_container ... ok [INFO] [stdout] test registry::tests::typed_container::empty_registries_and_explicit_start_scopes_keep_implicit_providers ... ok [INFO] [stdout] test registry::tests::typed_container::provider_proofs_add_no_clone_or_thread_safety_bounds ... ok [INFO] [stdout] test registry::tests::scopes::inconsistent_static_metadata_is_rejected_when_scope_values_are_evaluated ... ok [INFO] [stdout] test registry::topology::tests::changeable_compositions_defer_known_cycles ... ok [INFO] [stdout] test registry::tests::scopes::same_wider_and_equal_priority_dependencies_match_runtime ... ok [INFO] [stdout] test registry::topology::tests::checks_the_last_supported_size - should panic ... ok [INFO] [stdout] test registry::tests::scopes::static_metadata_supplies_runtime_scope_methods ... ok [INFO] [stdout] test registry::topology::tests::scope_diagnostic_identifies_both_registrations_and_scopes ... ok [INFO] [stdout] test registry::topology::tests::identifies_the_parameter_that_requests_its_own_output ... ok [INFO] [stdout] test scope::tests::test_new ... ok [INFO] [stdout] test registry::topology::tests::scopes_with_dynamic_or_changeable_selection_defer_to_runtime ... ok [INFO] [stdout] test registry::topology::tests::larger_graphs_defer_even_cycles_to_runtime ... ok [INFO] [stdout] test registry::topology::tests::long_diagnostics_are_explicitly_truncated ... ok [INFO] [stdout] test registry::topology::tests::long_scope_diagnostic_preserves_the_validation_error ... ok [INFO] [stdout] test registry::topology::tests::opaque_dags_still_require_runtime_validation ... ok [INFO] [stdout] test registry::topology::tests::opaque_parameters_do_not_disable_known_cycle_checks ... ok [INFO] [stdout] test registry::topology::tests::reports_only_the_cycle_in_dependency_order ... ok [INFO] [stdout] test scope::tests::test_child ... ok [INFO] [stdout] test registry::topology::tests::unrelated_opaque_parameters_do_not_hide_cycles - should panic ... ok [INFO] [stdout] test registry::tests::fragments::repeated_argument_use_does_not_repeat_the_argument_expression ... ok [INFO] [stdout] test registry::tests::fragments::value_producing_macros_remain_valid_extensions ... ok [INFO] [stdout] test registry::tests::lifecycle::with_scope_creates_the_intermediate_scopes ... ok [INFO] [stdout] test scope::tests::test_from_scope_for_scope_data ... ok [INFO] [stdout] test registry::tests::lifecycle::a_context_value_overrides_the_factory_for_dependents_and_descendants ... ok [INFO] [stdout] test scope::tests::test_scope_data_display ... ok [INFO] [stdout] test scope::tests::test_scopes_all ... ok [INFO] [stdout] test scope::tests::test_scope_attributes ... ok [INFO] [stdout] test scope::tests::test_new_with_sort ... ok [INFO] [stdout] test service::service_fn::tests::test_service ... ok [INFO] [stdout] test scope::tests::test_scope_ord_eq_copy ... ok [INFO] [stdout] test registry::tests::lifecycle::concurrent_get_constructs_a_cached_value_once ... ok [INFO] [stdout] [INFO] [stderr] Running tests/async_resolution.rs (/opt/rustwide/target/release/build/froodi/23d6b108b7629c22/out/async_resolution-23d6b108b7629c22) [INFO] [stdout] test result: ok. 142 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/compile_fail.rs (/opt/rustwide/target/release/build/froodi/30084a18ba80ec78/out/compile_fail-30084a18ba80ec78) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Compiling libc v0.2.191 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking cfg-if v1.0.5 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Compiling zerocopy v0.8.63 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking futures-io v0.3.34 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking smallvec v1.16.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling equivalent v1.0.3 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking either v1.19.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking data-encoding v2.11.1 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking want v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling linkme-impl v0.3.37 [INFO] [stderr] Checking inventory v0.3.25 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling typetag v0.2.23 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling cookie v0.18.2 [INFO] [stderr] Compiling time-macros v0.2.32 [INFO] [stderr] Compiling froodi v1.0.0-beta.19 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking deranged v0.5.9 [INFO] [stderr] Checking clap_lex v1.1.1 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Compiling toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Checking num-iter v0.1.46 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking lazy_static v1.5.1 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Compiling linkme v0.3.37 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking powerfmt v0.2.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.6.7 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.4 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Compiling toml_edit v0.25.17+spec-1.1.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking uuid v1.28.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling froodi v1.0.0-beta.20 (/opt/rustwide/workdir) [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking serde_spanned v1.1.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking time v0.3.55 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking toml_writer v1.1.3+spec-1.1.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rtrb v0.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking bytesize v2.7.0 [INFO] [stderr] Checking toml v1.1.8+spec-1.1.0 [INFO] [stderr] Checking clap v4.6.7 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling typetag-impl v0.2.23 [INFO] [stderr] Compiling ruststream-macros v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.63 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling froodi-macros v1.1.0 [INFO] [stderr] Checking tokio v1.54.0 [INFO] [stderr] Compiling expect-json-macros v1.11.0 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Compiling tracing-test-macro v0.2.6 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Checking reserve-port v2.5.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking tracing-test v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.34 [INFO] [stderr] Checking froodi-auto v1.1.0 [INFO] [stderr] Checking futures v0.3.34 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking expect-json v1.11.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.12.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-util v0.7.20 [INFO] [stderr] Checking ruststream v0.7.5 [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stdout] test registration_errors has been running for over 60 seconds [INFO] [stdout] test topology_errors has been running for over 60 seconds [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking tungstenite v0.29.0 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Checking tokio-tungstenite v0.29.0 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking axum-test v18.7.0 [INFO] [stderr] Checking froodi-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/froodi) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/no_async_missing.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | provide(App, |_: Inject| Ok::<_, InstantiateErrorKind>(true)), [INFO] [stderr] | | }); [INFO] [stderr] | |_____^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `Inject` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInject<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInject<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | provide(App, |_: Inject| Ok::<_, InstantiateErrorKind>(true)), [INFO] [stderr] | | }); [INFO] [stderr] | |_____^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `Inject` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInject<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInject<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/forged_executor.rs ... ok [INFO] [stderr] test tests/ui/registry/forged_index.rs ... ok [INFO] [stderr] test tests/ui/registry/no_async_bare_resolver.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: unsupported instantiator parameter `Custom`; use `InjectCustom` for a custom resolver [INFO] [stderr] --> tests/ui/registry/bare_resolver.rs [INFO] [stderr] | [INFO] [stderr] | let _ = Container::new(registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | provide(App, |_: Custom| Ok::<_, InstantiateErrorKind>(7u32)), [INFO] [stderr] | | }); [INFO] [stderr] | |_____^ wrap this custom resolver in `InjectCustom` [INFO] [stderr] | [INFO] [stderr] help: the trait `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, _>` is not implemented for `Custom` [INFO] [stderr] --> tests/ui/registry/bare_resolver.rs [INFO] [stderr] | [INFO] [stderr] | struct Custom; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: registration parameters use Inject, InjectTransient or InjectCustom [INFO] [stderr] help: the following other types implement trait `froodi::registry::linking::LinkDependency` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, T, Path> LinkDependency> for Inject { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Inject` implements `froodi::registry::linking::LinkDependency>` [INFO] [stderr] ... [INFO] [stderr] | impl, T, Path> LinkDependency> for InjectTransient { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `InjectTransient` implements `froodi::registry::linking::LinkDependency>` [INFO] [stderr] ... [INFO] [stderr] | impl LinkDependency for InjectCustom { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `InjectCustom` implements `froodi::registry::linking::LinkDependency` [INFO] [stderr] = note: required for `(Custom,)` to implement `froodi::registry::linking::LinkDependencies, froodi::registry::linking::Provider>, (_,)>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (_,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((_,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: unsupported instantiator parameter `Custom`; use `InjectCustom` for a custom resolver [INFO] [stderr] --> tests/ui/registry/bare_resolver.rs [INFO] [stderr] | [INFO] [stderr] | let _ = Container::new(registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | provide(App, |_: Custom| Ok::<_, InstantiateErrorKind>(7u32)), [INFO] [stderr] | | }); [INFO] [stderr] | |_____^ wrap this custom resolver in `InjectCustom` [INFO] [stderr] | [INFO] [stderr] help: the trait `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, _>` is not implemented for `Custom` [INFO] [stderr] --> tests/ui/registry/bare_resolver.rs [INFO] [stderr] | [INFO] [stderr] | struct Custom; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: registration parameters use Inject, InjectTransient or InjectCustom [INFO] [stderr] help: the following other types implement trait `froodi::registry::linking::LinkDependency` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, T, Path> LinkDependency> for Inject { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Inject` implements `froodi::registry::linking::LinkDependency>` [INFO] [stderr] ... [INFO] [stderr] | impl, T, Path> LinkDependency> for InjectTransient { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `InjectTransient` implements `froodi::registry::linking::LinkDependency>` [INFO] [stderr] ... [INFO] [stderr] | impl LinkDependency for InjectCustom { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `InjectCustom` implements `froodi::registry::linking::LinkDependency` [INFO] [stderr] = note: required for `(Custom,)` to implement `froodi::registry::linking::LinkDependencies, froodi::registry::linking::Provider>, (_,)>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (_,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((_,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/resolver_ambiguity.rs ... ok [INFO] [stderr] test tests/ui/registry/unknown_clause.rs ... ok [INFO] [stderr] test tests/ui/registry/no_async_typed_missing.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.get::(); [INFO] [stderr] | ^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `froodi::TypedContainerExt::get` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | fn get(&self) -> Result, ResolveErrorKind> [INFO] [stderr] | --- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get` [INFO] [stderr] [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.get_transient::(); [INFO] [stderr] | ^^^^^^^^^^^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `get_transient` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | fn get_transient(&self) -> Result [INFO] [stderr] | ------------- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get_transient` [INFO] [stderr] [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.clone().enter_build().unwrap().get::(); [INFO] [stderr] | ^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `froodi::TypedContainerExt::get` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | fn get(&self) -> Result, ResolveErrorKind> [INFO] [stderr] | --- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.get::(); [INFO] [stderr] | ^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `froodi::TypedContainerExt::get` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | pub trait TypedContainerExt { [INFO] [stderr] ... [INFO] [stderr] | fn get(&self) -> Result, ResolveErrorKind> [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get` [INFO] [stderr] [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.get_transient::(); [INFO] [stderr] | ^^^^^^^^^^^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `get_transient` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | pub trait TypedContainerExt { [INFO] [stderr] ... [INFO] [stderr] | fn get_transient(&self) -> Result [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get_transient` [INFO] [stderr] [INFO] [stderr] error[E0277]: no synchronous registration provides `Missing` [INFO] [stderr] --> tests/ui/registry/typed_missing.rs [INFO] [stderr] | [INFO] [stderr] | let _ = container.clone().enter_build().unwrap().get::(); [INFO] [stderr] | ^^^ `Missing` is requested here, but no sync provider is available [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register a sync factory or instance(...), or use async_impl::TypedContainer for async providers [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::SyncProviderPath` [INFO] [stderr] note: required by a bound in `froodi::TypedContainerExt::get` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | pub trait TypedContainerExt { [INFO] [stderr] ... [INFO] [stderr] | fn get(&self) -> Result, ResolveErrorKind> [INFO] [stderr] | where [INFO] [stderr] | Self::Providers: SyncProviderPath; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedContainerExt::get` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/no_async_typed_boundaries.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: a typed container requires concrete registrations in typed fragments [INFO] [stderr] --> tests/ui/registry/typed_boundaries.rs [INFO] [stderr] | [INFO] [stderr] | let _ = TypedContainer::new(registry! { provide(App, declare::()) }); [INFO] [stderr] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::registry::frontend::TypedRegistry` is not implemented for `froodi::registry::boundary::BoundaryLeaf` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: use Container::new for native fragments or provider declarations [INFO] [stderr] help: the trait `froodi::registry::frontend::TypedRegistry` is implemented for `froodi::registry::registration::Registration` [INFO] [stderr] --> src/registry/frontend.rs [INFO] [stderr] | [INFO] [stderr] | impl TypedRegistry for Registration {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: required for `froodi::macros_utils::typed::LocatedRegistration, main::__FroodiRegistrationSource>` to implement `froodi::registry::frontend::TypedRegistry` [INFO] [stderr] note: required by a bound in `TypedContainer::new` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: Registry) -> TypedContainer> [INFO] [stderr] | ^^^^^^^^^^^^^ required by this bound in `TypedContainer::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: a typed container requires concrete registrations in typed fragments [INFO] [stderr] --> tests/ui/registry/typed_boundaries.rs [INFO] [stderr] | [INFO] [stderr] | let _ = TypedContainer::new(registry! { provide(App, declare::()) }); [INFO] [stderr] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::registry::frontend::TypedRegistry` is not implemented for `froodi::registry::boundary::BoundaryLeaf` [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = note: use Container::new for native fragments or provider declarations [INFO] [stderr] help: the trait `froodi::registry::frontend::TypedRegistry` is implemented for `froodi::registry::registration::Registration` [INFO] [stderr] --> src/registry/frontend.rs [INFO] [stderr] | [INFO] [stderr] | impl TypedRegistry for Registration {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: required for `froodi::macros_utils::typed::LocatedRegistration, main::__FroodiRegistrationSource>` to implement `froodi::registry::frontend::TypedRegistry` [INFO] [stderr] note: required by a bound in `TypedContainer::new` [INFO] [stderr] --> src/typed_container.rs [INFO] [stderr] | [INFO] [stderr] | impl TypedContainer { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: Registry) -> TypedContainer> [INFO] [stderr] | ^^^^^^^^^^^^^ required by this bound in `TypedContainer::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/no_async_typed_forged.rs ... ok [INFO] [stderr] test tests/ui/registry/no_async_construct_missing.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/no_async_construct_missing.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | let _ = Container::new(froodi::registry! { scope(App) [ provide::() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `Inject` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInject<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (Inject,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (Inject,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInject<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/no_async_construct_missing.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | let _ = Container::new(froodi::registry! { scope(App) [ provide::() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `Inject` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInject<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (Inject,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (Inject,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInject<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/no_async_construct_duplicate.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> tests/ui/registry/no_async_construct_duplicate.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] 8 | | scope(App) [ provide::() ], [INFO] [stderr] 9 | | provide(App, || Ok::<_, InstantiateErrorKind>(Service)), [INFO] [stderr] 10 | | provide(App, |_: Inject| Ok::<_, InstantiateErrorKind>(7u32)), [INFO] [stderr] 11 | | }); [INFO] [stderr] | |_____^ cannot infer type for type parameter `Path` [INFO] [stderr] | [INFO] [stderr] = note: multiple `impl`s satisfying `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>: froodi::registry::linking::ProviderPath` found in the `froodi` crate: [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::ProviderPath; [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::Size, Right: froodi::registry::linking::ProviderPath; [INFO] [stderr] = note: cannot satisfy `, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>> as froodi::registry::linking::ProviderPath>::Provider == _` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((), ((), (froodi::registry::linking::LinkedInject>,))), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((), ((), (froodi::registry::linking::LinkedInject>,))), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> tests/ui/registry/no_async_construct_duplicate.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] 8 | | scope(App) [ provide::() ], [INFO] [stderr] 9 | | provide(App, || Ok::<_, InstantiateErrorKind>(Service)), [INFO] [stderr] 10 | | provide(App, |_: Inject| Ok::<_, InstantiateErrorKind>(7u32)), [INFO] [stderr] 11 | | }); [INFO] [stderr] | |_____^ cannot infer type for type parameter `Path` [INFO] [stderr] | [INFO] [stderr] = note: multiple `impl`s satisfying `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>: froodi::registry::linking::ProviderPath` found in the `froodi` crate: [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::ProviderPath; [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::Size, Right: froodi::registry::linking::ProviderPath; [INFO] [stderr] = note: cannot satisfy `, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>> as froodi::registry::linking::ProviderPath>::Provider == _` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>` to implement `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((), ((), (froodi::registry::linking::LinkedInject>,))), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInject>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((), ((), (froodi::registry::linking::LinkedInject>,))), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/construct_unsupported.rs ... ok [INFO] [stderr] test tests/ui/registry/no_async_construct_unsupported_generic.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:71 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = help: consider manually implementing `Construct` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] note: required by a bound in `froodi::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = help: consider manually implementing `Construct` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] note: required by a bound in `froodi::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] = note: this error originates in the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `provide(...)` requires a Froodi instantiator; `impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` is not supported [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` doesn't satisfy the trait bound [INFO] [stderr] | expected an instantiator returning `Result` (or a future returning it for async registration) [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::registration::Provide` is not implemented for `impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` [INFO] [stderr] = note: instantiators must be Clone + 'static, with resolvable parameters and Error = InstantiateErrorKind [INFO] [stderr] note: required by a bound in `froodi::macros_utils::typed::reg` [INFO] [stderr] --> src/registry/registration.rs [INFO] [stderr] | [INFO] [stderr] | pub fn reg, Execution, Deps, Fin>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `reg` [INFO] [stderr] = note: this error originates in the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = help: consider manually implementing `Construct` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] note: required by a bound in `froodi::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] = note: this error originates in the macro `$crate::macros_utils::typed::registry` which comes from the expansion of the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = help: consider manually implementing `Construct` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] note: required by a bound in `froodi::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] = note: this error originates in the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = help: consider manually implementing `Construct` to avoid undesired bounds caused by "imperfect derives" [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] note: required by a bound in `froodi::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety: froodi::Instantiator<_>` is not satisfied [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::Instantiator<_>` is not implemented for `impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` [INFO] [stderr] help: the trait `froodi::registry::frontend::IntoRegistry` is conditionally implemented for `froodi::macros_utils::typed::Registry` [INFO] [stderr] --> src/registry/frontend.rs [INFO] [stderr] | [INFO] [stderr] | / impl IntoRegistry for Registry [INFO] [stderr] | | where [INFO] [stderr] | | Root: RegistryIndex + Link, Links>, [INFO] [stderr] | | as Link, Links>>::Linked: Collect, [INFO] [stderr] | |_______________________________________________________-------^ [INFO] [stderr] | | [INFO] [stderr] | unsatisfied requirement introduced here: ` as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>, froodi::registry::frontend::ContainerLeaf> as froodi::registry::linking::Link< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>, froodi::registry::frontend::ContainerLeaf> as froodi::registry::linking::RegistryIndex>::Index, (_, ())>>::Linked: froodi::registry::frontend::Collect` [INFO] [stderr] = note: required for `froodi::registry::registration::Linked<_, impl froodi::Instantiator< as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::frontend::Collect` [INFO] [stderr] = note: 1 redundant requirement hidden [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, froodi::registry::frontend::ContainerLeaf>` to implement `froodi::registry::frontend::Collect` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry as Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<(_, ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:71 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required by a bound in `froodi::macros_utils::typed::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] [INFO] [stderr] error[E0277]: `provide(...)` requires a Froodi instantiator; `impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` is not supported [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` doesn't satisfy the trait bound [INFO] [stderr] | expected an instantiator returning `Result` (or a future returning it for async registration) [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::registration::Provide` is not implemented for `impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` [INFO] [stderr] = note: instantiators must be Clone + 'static, with resolvable parameters and Error = InstantiateErrorKind [INFO] [stderr] note: required by a bound in `froodi::macros_utils::typed::reg` [INFO] [stderr] --> src/registry/registration.rs [INFO] [stderr] | [INFO] [stderr] | pub fn reg, Execution, Deps, Fin>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `reg` [INFO] [stderr] = note: this error originates in the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required by a bound in `froodi::macros_utils::typed::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] = note: this error originates in the macro `$crate::macros_utils::typed::registry` which comes from the expansion of the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: Construct field `Vec` cannot use Inject resolution [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `froodi::macros_utils::typed::ConstructField` is not implemented for `Vec` [INFO] [stderr] | [INFO] [stderr] = note: Inject fields use Arc in thread-safe mode or Rc in local mode; select #[di(inject_transient)] for InjectTransient resolution, or write provide(...) [INFO] [stderr] help: `Arc` implements trait `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | impl ConstructField for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField` [INFO] [stderr] ... [INFO] [stderr] | impl ConstructField> for RcThreadSafety { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::macros_utils::typed::ConstructField>` [INFO] [stderr] note: required for `Bad` to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(froodi::Construct)] [INFO] [stderr] | ----------------- type parameter would need to implement `froodi::macros_utils::typed::Construct` [INFO] [stderr] 4 | struct Bad { values: Vec } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required by a bound in `froodi::macros_utils::typed::provide` [INFO] [stderr] --> src/provide.rs [INFO] [stderr] | [INFO] [stderr] | pub fn provide() -> impl Instantiator + SendSafety + SyncSafety { [INFO] [stderr] | ^^^^^^^^^ required by this bound in `provide` [INFO] [stderr] = note: this error originates in the macro `froodi::registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety: froodi::Instantiator<_>` is not satisfied [INFO] [stderr] --> tests/ui/registry/no_async_construct_unsupported_generic.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | let _ = Container::new(froodi::registry! { scope(App) [ provide::>() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::Instantiator<_>` is not implemented for `impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety` [INFO] [stderr] help: the trait `froodi::registry::frontend::IntoRegistry` is conditionally implemented for `froodi::macros_utils::typed::Registry` [INFO] [stderr] --> src/registry/frontend.rs [INFO] [stderr] | [INFO] [stderr] | / impl IntoRegistry for Registry [INFO] [stderr] | | where [INFO] [stderr] | | Root: RegistryIndex + Link, Links>, [INFO] [stderr] | | as Link, Links>>::Linked: Collect, [INFO] [stderr] | |_______________________________________________________-------^ [INFO] [stderr] | | [INFO] [stderr] | unsatisfied requirement introduced here: ` as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>, froodi::registry::frontend::ContainerLeaf> as froodi::registry::linking::Link< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>, froodi::registry::frontend::ContainerLeaf> as froodi::registry::linking::RegistryIndex>::Index, (_, ())>>::Linked: froodi::registry::frontend::Collect` [INFO] [stderr] = note: required for `froodi::registry::registration::Linked<_, impl froodi::Instantiator< as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::frontend::Collect` [INFO] [stderr] = note: 1 redundant requirement hidden [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, froodi::registry::frontend::ContainerLeaf>` to implement `froodi::registry::frontend::Collect` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry as froodi::macros_utils::typed::Construct>::Deps, Provides = Bad, Error = InstantiateErrorKind> + SendSafety + SyncSafety, _, froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<(_, ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/construct_attributes.rs ... ok [INFO] [stderr] test tests/ui/registry/no_async_construct_transient_missing.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/no_async_construct_transient_missing.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = Container::new(froodi::registry! { scope(App) [ provide::() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `InjectTransient` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInjectTransient<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInjectTransient<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: no registration provides `u32` [INFO] [stderr] --> tests/ui/registry/no_async_construct_transient_missing.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = Container::new(froodi::registry! { scope(App) [ provide::() ] }); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `u32` is requested here, but no `provide(...)` in the registry produces it [INFO] [stderr] | | [INFO] [stderr] | required by a bound introduced by this call [INFO] [stderr] | [INFO] [stderr] = help: the trait `froodi::registry::linking::ProviderPath` is not implemented for `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>` [INFO] [stderr] = note: register an instantiator or `instance(...)` that returns `u32`, or `extend(...)` a registry that does [INFO] [stderr] help: `froodi::macros_utils::typed::Node` implements trait `froodi::registry::linking::ProviderPath` [INFO] [stderr] --> src/registry/linking.rs [INFO] [stderr] | [INFO] [stderr] | impl, Right> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] ... [INFO] [stderr] | impl> ProviderPath> for Node { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `InjectTransient` to implement `froodi::registry::linking::LinkDependency, froodi::registry::linking::Provider>, froodi::registry::linking::LinkedInjectTransient<_>>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient<_>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, __FroodiRegistrationSource>>` to implement `froodi::registry::frontend::IntoRegistry<((froodi::registry::linking::LinkedInjectTransient<_>,), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/no_async_construct_transient_ambiguous.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> tests/ui/registry/no_async_construct_transient_ambiguous.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] 11 | | scope(App) [ provide::() ], [INFO] [stderr] 12 | | provide(App, instance(7u32)), [INFO] [stderr] 13 | | provide(App, instance(8u32)), [INFO] [stderr] 14 | | }); [INFO] [stderr] | |_____^ cannot infer type for type parameter `Path` [INFO] [stderr] | [INFO] [stderr] = note: multiple `impl`s satisfying `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>: froodi::registry::linking::ProviderPath` found in the `froodi` crate: [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::ProviderPath; [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::Size, Right: froodi::registry::linking::ProviderPath; [INFO] [stderr] = note: cannot satisfy `, froodi::registry::linking::Provider> as froodi::registry::linking::ProviderPath>::Provider == _` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>` to implement `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient>>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((froodi::registry::linking::LinkedInjectTransient>>,), ((), ())), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient>>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((froodi::registry::linking::LinkedInjectTransient>>,), ((), ())), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> tests/ui/registry/no_async_construct_transient_ambiguous.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | let _ = Container::new(froodi::registry! { [INFO] [stderr] | _____________--------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] 11 | | scope(App) [ provide::() ], [INFO] [stderr] 12 | | provide(App, instance(7u32)), [INFO] [stderr] 13 | | provide(App, instance(8u32)), [INFO] [stderr] 14 | | }); [INFO] [stderr] | |_____^ cannot infer type for type parameter `Path` [INFO] [stderr] | [INFO] [stderr] = note: multiple `impl`s satisfying `froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>: froodi::registry::linking::ProviderPath` found in the `froodi` crate: [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::ProviderPath; [INFO] [stderr] - impl froodi::registry::linking::ProviderPath> for froodi::macros_utils::typed::Node [INFO] [stderr] where Left: froodi::registry::linking::Size, Right: froodi::registry::linking::ProviderPath; [INFO] [stderr] = note: cannot satisfy `, froodi::registry::linking::Provider> as froodi::registry::linking::ProviderPath>::Provider == _` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Node, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>` to implement `froodi::registry::linking::ProviderPath>` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient>>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((froodi::registry::linking::LinkedInjectTransient>>,), ((), ())), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] = note: required for `froodi::registry::registration::Registration::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>` to implement `froodi::registry::linking::Link, froodi::macros_utils::typed::Node, froodi::registry::linking::Provider>>, froodi::registry::linking::Provider>, (froodi::registry::linking::LinkedInjectTransient>>,)>` [INFO] [stderr] = note: required for `froodi::macros_utils::typed::Registry::Deps, Provides = Service, Error = InstantiateErrorKind> + SendSafety + SyncSafety, (InjectTransient,), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::Node, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>, froodi::macros_utils::typed::LocatedRegistration, (), froodi::macros_utils::typed::NoFinalizer>, main::__FroodiRegistrationSource>>>>` to implement `froodi::registry::frontend::IntoRegistry<(((froodi::registry::linking::LinkedInjectTransient>>,), ((), ())), ())>` [INFO] [stderr] note: required by a bound in `Container::new` [INFO] [stderr] --> src/container.rs [INFO] [stderr] | [INFO] [stderr] | impl Container { [INFO] [stderr] ... [INFO] [stderr] | pub fn new(registry: impl IntoRegistry) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Container::new` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/construct_scope_syntax.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test registration_errors ... FAILED [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling libc v0.2.191 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling futures-task v0.3.34 [INFO] [stderr] Compiling zerocopy v0.8.63 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling futures-io v0.3.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling smallvec v1.16.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Compiling litemap v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling either v1.19.0 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling http v1.5.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling want v0.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling num-integer v0.1.47 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling inventory v0.3.25 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling mio v1.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v1.1.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling http-body-util v0.1.5 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.46 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling lazy_static v1.5.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling tokio v1.54.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling powerfmt v0.2.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling deranged v0.5.9 [INFO] [stderr] Compiling clap_lex v1.1.1 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling clap_builder v4.6.7 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling typetag v0.2.23 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling uuid v1.28.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling linkme v0.3.37 [INFO] [stderr] Compiling froodi v1.0.0-beta.19 [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Compiling toml_parser v1.1.5+spec-1.1.0 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling serde_spanned v1.1.2 [INFO] [stderr] Compiling toml_datetime v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling cookie v0.18.2 [INFO] [stderr] Compiling clap v4.6.7 [INFO] [stderr] Compiling reserve-port v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling rtrb v0.4.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling bytesize v2.7.0 [INFO] [stderr] Compiling toml_writer v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling froodi-auto v1.1.0 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling toml v1.1.8+spec-1.1.0 [INFO] [stderr] Compiling froodi v1.0.0-beta.20 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tungstenite v0.29.0 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Compiling expect-json v1.11.0 [INFO] [stderr] Compiling hyper v1.12.0 [INFO] [stderr] Compiling tokio-tungstenite v0.29.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-util v0.7.20 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling tracing-test v0.2.6 [INFO] [stderr] Compiling ruststream v0.7.5 [INFO] [stderr] Compiling hyper-util v0.1.21 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling axum-test v18.7.0 [INFO] [stderr] Compiling froodi-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/froodi) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/registry/uninstantiated.rs ... ok [INFO] [stderr] test tests/ui/registry/resolver_fallback.rs ... ok [INFO] [stderr] test tests/ui/registry/opaque_dag.rs ... ok [INFO] [stderr] test tests/ui/registry/static_scope_uninstantiated.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test topology_errors ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- registration_errors stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'registration_errors' (3773) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.122/src/run.rs:103:13: [INFO] [stdout] 9 of 17 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f6fc36ca061 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5f6fc36e07ea - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x5f6fc36ceadc - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5f6fc36a3456 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5f6fc36c0de9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x5f6fc365ad00 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x5f6fc36c0fa2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5f6fc36a3502 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5f6fc369b5e9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5f6fc36a410d - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x5f6fc36e155c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x5f6fc35abe76 - ::run [INFO] [stdout] 12: 0x5f6fc35af1d0 - ::drop [INFO] [stdout] 13: 0x5f6fc35a53dc - >::call_once [INFO] [stdout] 14: 0x5f6fc364db6b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 15: 0x5f6fc365b325 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 16: 0x5f6fc3654774 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x5f6fc365e2b2 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x5f6fc36c92ff - ::new::thread_start [INFO] [stdout] 19: 0x7cdfe1393dfa - [INFO] [stdout] 20: 0x7cdfe14273d4 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] registration_errors [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 273.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test compile_fail` [INFO] running `"docker" "inspect" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] running `"docker" "rm" "-f" "7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034"` [INFO] [stdout] 7a183b44bc51df728b6336f58f255ecfe1c11eb0c7a0fcd11594c500f8c93034